Class: Efl::Elm::ElmObject
- Inherits:
-
Efl::Evas::REvasObject
show all
- Defined in:
- lib/efl/elm/elm_cnp.rb,
lib/efl/elm/elm_debug.rb,
lib/efl/elm/elm_focus.rb,
lib/efl/elm/elm_object.rb,
lib/efl/elm/elm_scroll.rb
Direct Known Subclasses
ElmActionSlider, ElmBg, ElmBox, ElmBubble, ElmButton, ElmCalendar, ElmCheck, ElmClock, ElmColorSelector, ElmConform, ElmCtxPopup, ElmCursor, ElmDatetime, ElmDaySelector, ElmDiskSelector, ElmEntry, ElmFileSelector, ElmFileSelectorButton, ElmFileSelectorEntry, ElmFlip, ElmFlipSelector, ElmFrame, ElmGLView, ElmGenGrid, ElmGenList, ElmGestureLayer, ElmGrid, ElmHover, ElmIcon, ElmImage, ElmIndex, ElmInwin, ElmLabel, ElmLayout, ElmList, ElmMapBuf, ElmMenu, ElmMultiButtonEntry, ElmNaviFrame, ElmNotify, ElmObjectItem, ElmPanel, ElmPanes, ElmPhoto, ElmPhotoCam, ElmPlayer, ElmPlug, ElmPopup, ElmProgressBar, ElmRadio, ElmScroller, ElmSeparator, ElmSlider, ElmSlideshow, ElmSpinner, ElmTable, ElmTheme, ElmThumb, ElmToolbar, ElmTooltip, ElmTransit, ElmTransitEffect, ElmVideo, ElmWeb, ElmWin
Instance Method Summary
collapse
-
#cnp_selection_clear(selection) ⇒ Object
-
#cnp_selection_get(selection, format, datacb, data) ⇒ Object
-
#cnp_selection_set(selection, format, buf, sizet) ⇒ Object
-
#content_get ⇒ Object
(also: #content)
-
#content_set(content) ⇒ Object
(also: #content=)
-
#content_unset ⇒ Object
-
#focus_allow_custom_chain_get ⇒ Object
(also: #focus_allow_custom_chain)
-
#focus_allow_custom_chain_set(list) ⇒ Object
(also: #focus_allow_custom_chain=)
-
#focus_allow_custom_chain_unset ⇒ Object
-
#focus_allow_get ⇒ Object
(also: #focus)
-
#focus_allow_set(allow) ⇒ Object
(also: #focus_allow=)
-
#focus_custom_chain_append(child, relative_child) ⇒ Object
-
#focus_custom_chain_prepend(child, relative_child) ⇒ Object
-
#focus_cycle(direction) ⇒ Object
-
#focus_get ⇒ Object
-
#focus_set(focus) ⇒ Object
(also: #focus=)
-
#parent_widget_get ⇒ Object
(also: #parent_widget)
-
#scroll_freeze_pop ⇒ Object
-
#scroll_freeze_push ⇒ Object
-
#scroll_hold_pop ⇒ Object
-
#scroll_hold_push ⇒ Object
-
#scroll_lock_x_get ⇒ Object
-
#scroll_lock_x_set(lock) ⇒ Object
-
#scroll_lock_y_get ⇒ Object
-
#scroll_lock_y_set(lock) ⇒ Object
-
#smart_callback_add(event_str, cb, data = FFI::MemoryPointer::NULL) ⇒ Object
-
#text_get ⇒ Object
(also: #text)
-
#text_set(label) ⇒ Object
(also: #text=)
-
#tree_dot_dump(filepath) ⇒ Object
-
#tree_dump ⇒ Object
-
#tree_unfocusable_get ⇒ Object
(also: #tree_unfocusable)
-
#tree_unfocusable_set(unfocusable) ⇒ Object
(also: #tree_unfocusable=)
#above_get, #below_get, #center_get, #center_set, #color_get, #data_get, #ecore_evas_get, #evas_get, #evas_name, #evas_type, #free, #geometry_get, #initialize, #object_box_add, release, #size, #size=, #size_hint_align_get, #size_hint_align_set_fill, #size_hint_aspect_get, #size_hint_max_get, #size_hint_min_get, #size_hint_padding_get, #size_hint_request_get, #size_hint_weight_get, #size_hint_weight_set_expand, #size_hint_weight_set_expand_fill
#===, #address, included, #method_missing, #null?, #to_a, #to_ary, #to_ptr, #to_s
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Efl::ClassHelper
Instance Method Details
#cnp_selection_clear(selection) ⇒ Object
21
22
23
|
# File 'lib/efl/elm/elm_cnp.rb', line 21
def cnp_selection_clear selection
Native.elm_object_cnp_selection_clear @ptr, selection
end
|
#cnp_selection_get(selection, format, datacb, data) ⇒ Object
17
18
19
|
# File 'lib/efl/elm/elm_cnp.rb', line 17
def cnp_selection_get selection, format, datacb, data
Native.elm_cnp_selection_set @ptr, selection, format, datacb, data
end
|
#cnp_selection_set(selection, format, buf, sizet) ⇒ Object
13
14
15
|
# File 'lib/efl/elm/elm_cnp.rb', line 13
def cnp_selection_set selection, format, buf, sizet
Native.elm_cnp_selection_set @ptr, selection, format, buf, sizet
end
|
#content_get ⇒ Object
Also known as:
content
50
51
52
|
# File 'lib/efl/elm/elm_object.rb', line 50
def content_get
Native.elm_object_part_content_get @ptr, nil
end
|
#content_set(content) ⇒ Object
Also known as:
content=
45
46
47
|
# File 'lib/efl/elm/elm_object.rb', line 45
def content_set content
Native.elm_object_part_content_set @ptr, nil, content
end
|
#content_unset ⇒ Object
55
56
57
|
# File 'lib/efl/elm/elm_object.rb', line 55
def content_unset
Native.elm_object_part_content_unset @ptr, nil
end
|
#focus_allow_custom_chain_get ⇒ Object
Also known as:
focus_allow_custom_chain
42
43
44
|
# File 'lib/efl/elm/elm_focus.rb', line 42
def focus_allow_custom_chain_get
Native.elm_object_focus_allow_custom_chain_get @ptr
end
|
#focus_allow_custom_chain_set(list) ⇒ Object
Also known as:
focus_allow_custom_chain=
33
34
35
|
# File 'lib/efl/elm/elm_focus.rb', line 33
def focus_allow_custom_chain_set list
Native.elm_object_focus_allow_custom_chain_set @ptr, list
end
|
#focus_allow_custom_chain_unset ⇒ Object
38
39
40
|
# File 'lib/efl/elm/elm_focus.rb', line 38
def focus_allow_custom_chain_unset
Native.elm_object_focus_allow_custom_chain_unset @ptr
end
|
#focus_allow_get ⇒ Object
Also known as:
focus
23
24
25
|
# File 'lib/efl/elm/elm_focus.rb', line 23
def focus_allow_get
Native.elm_object_focus_allow_get @ptr
end
|
#focus_allow_set(allow) ⇒ Object
Also known as:
focus_allow=
28
29
30
|
# File 'lib/efl/elm/elm_focus.rb', line 28
def focus_allow_set allow
Native.elm_object_focus_allow_set @ptr, allow
end
|
#focus_custom_chain_append(child, relative_child) ⇒ Object
47
48
49
|
# File 'lib/efl/elm/elm_focus.rb', line 47
def focus_custom_chain_append child, relative_child
Native.elm_object_focus_custom_chain_append @ptr, child, relative_child
end
|
#focus_custom_chain_prepend(child, relative_child) ⇒ Object
51
52
53
|
# File 'lib/efl/elm/elm_focus.rb', line 51
def focus_custom_chain_prepend child, relative_child
Native.elm_object_focus_custom_chain_prepend @ptr, child, relative_child
end
|
#focus_cycle(direction) ⇒ Object
55
56
57
|
# File 'lib/efl/elm/elm_focus.rb', line 55
def focus_cycle direction
Native.elm_object_focus_cycle @ptr, direction
end
|
#focus_get ⇒ Object
13
14
15
|
# File 'lib/efl/elm/elm_focus.rb', line 13
def focus_get
Native.elm_object_focus_get @ptr
end
|
#focus_set(focus) ⇒ Object
Also known as:
focus=
18
19
20
|
# File 'lib/efl/elm/elm_focus.rb', line 18
def focus_set focus
Native.elm_object_focus_set @ptr, focus
end
|
59
60
61
|
# File 'lib/efl/elm/elm_object.rb', line 59
def parent_widget_get
ElmObject.new Native.elm_object_parent_widget_get @ptr
end
|
25
26
27
|
# File 'lib/efl/elm/elm_scroll.rb', line 25
def scroll_freeze_pop
Native.elm_object_scroll_freeze_pop @ptr
end
|
21
22
23
|
# File 'lib/efl/elm/elm_scroll.rb', line 21
def scroll_freeze_push
Native.elm_object_scroll_freeze_push @ptr
end
|
17
18
19
|
# File 'lib/efl/elm/elm_scroll.rb', line 17
def scroll_hold_pop
Native.elm_object_scroll_hold_pop @ptr
end
|
13
14
15
|
# File 'lib/efl/elm/elm_scroll.rb', line 13
def scroll_hold_push
Native.elm_object_scroll_hold_push @ptr
end
|
37
38
39
|
# File 'lib/efl/elm/elm_scroll.rb', line 37
def scroll_lock_x_get
Native.elm_object_scroll_lock_x_set @ptr
end
|
29
30
31
|
# File 'lib/efl/elm/elm_scroll.rb', line 29
def scroll_lock_x_set lock
Native.elm_object_scroll_lock_x_set @ptr, lock
end
|
41
42
43
|
# File 'lib/efl/elm/elm_scroll.rb', line 41
def scroll_lock_y_get
Native.elm_object_scroll_lock_x_set @ptr
end
|
33
34
35
|
# File 'lib/efl/elm/elm_scroll.rb', line 33
def scroll_lock_y_set lock
Native.elm_object_scroll_lock_x_set @ptr, lock
end
|
#smart_callback_add(event_str, cb, data = FFI::MemoryPointer::NULL) ⇒ Object
31
32
33
|
# File 'lib/efl/elm/elm_object.rb', line 31
def smart_callback_add event_str, cb, data=FFI::MemoryPointer::NULL
Native.evas_object_smart_callback_add @ptr, event_str, cb, data
end
|
#text_get ⇒ Object
Also known as:
text
40
41
42
|
# File 'lib/efl/elm/elm_object.rb', line 40
def text_get
Native.elm_object_part_text_get @ptr, nil
end
|
#text_set(label) ⇒ Object
Also known as:
text=
35
36
37
|
# File 'lib/efl/elm/elm_object.rb', line 35
def text_set label
Native.elm_object_part_text_set @ptr, nil, label
end
|
#tree_dot_dump(filepath) ⇒ Object
16
17
18
|
# File 'lib/efl/elm/elm_debug.rb', line 16
def tree_dot_dump filepath
Native.elm_object_tree_dot_dump @ptr, filepath
end
|
#tree_dump ⇒ Object
13
14
15
|
# File 'lib/efl/elm/elm_debug.rb', line 13
def tree_dump
Native.elm_object_tree_dump @ptr
end
|
#tree_unfocusable_get ⇒ Object
Also known as:
tree_unfocusable
64
65
66
|
# File 'lib/efl/elm/elm_focus.rb', line 64
def tree_unfocusable_get
Native.elm_object_tree_unfocusable_set @ptr
end
|
#tree_unfocusable_set(unfocusable) ⇒ Object
Also known as:
tree_unfocusable=
59
60
61
|
# File 'lib/efl/elm/elm_focus.rb', line 59
def tree_unfocusable_set unfocusable
Native.elm_object_tree_unfocusable_set @ptr, unfocusable
end
|