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 more...
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
permalink
#cnp_selection_clear(selection) ⇒ Object
[View source]
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
|
permalink
#cnp_selection_get(selection, format, datacb, data) ⇒ Object
[View source]
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
|
permalink
#cnp_selection_set(selection, format, buf, sizet) ⇒ Object
[View source]
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
|
permalink
#content_get ⇒ Object
Also known as:
content
[View source]
50
51
52
|
# File 'lib/efl/elm/elm_object.rb', line 50
def content_get
Native.elm_object_part_content_get @ptr, nil
end
|
permalink
#content_set(content) ⇒ Object
Also known as:
content=
[View source]
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
|
permalink
#content_unset ⇒ Object
[View source]
55
56
57
|
# File 'lib/efl/elm/elm_object.rb', line 55
def content_unset
Native.elm_object_part_content_unset @ptr, nil
end
|
permalink
#focus_allow_custom_chain_get ⇒ Object
Also known as:
focus_allow_custom_chain
[View source]
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
|
permalink
#focus_allow_custom_chain_set(list) ⇒ Object
Also known as:
focus_allow_custom_chain=
[View source]
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
|
permalink
#focus_allow_custom_chain_unset ⇒ Object
[View source]
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
|
permalink
#focus_allow_get ⇒ Object
Also known as:
focus
[View source]
23
24
25
|
# File 'lib/efl/elm/elm_focus.rb', line 23
def focus_allow_get
Native.elm_object_focus_allow_get @ptr
end
|
permalink
#focus_allow_set(allow) ⇒ Object
Also known as:
focus_allow=
[View source]
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
|
permalink
#focus_custom_chain_append(child, relative_child) ⇒ Object
[View source]
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
|
permalink
#focus_custom_chain_prepend(child, relative_child) ⇒ Object
[View source]
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
|
permalink
#focus_cycle(direction) ⇒ Object
[View source]
55
56
57
|
# File 'lib/efl/elm/elm_focus.rb', line 55
def focus_cycle direction
Native.elm_object_focus_cycle @ptr, direction
end
|
permalink
#focus_get ⇒ Object
[View source]
13
14
15
|
# File 'lib/efl/elm/elm_focus.rb', line 13
def focus_get
Native.elm_object_focus_get @ptr
end
|
permalink
#focus_set(focus) ⇒ Object
Also known as:
focus=
[View source]
18
19
20
|
# File 'lib/efl/elm/elm_focus.rb', line 18
def focus_set focus
Native.elm_object_focus_set @ptr, focus
end
|
[View source]
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
|
[View source]
25
26
27
|
# File 'lib/efl/elm/elm_scroll.rb', line 25
def scroll_freeze_pop
Native.elm_object_scroll_freeze_pop @ptr
end
|
[View source]
21
22
23
|
# File 'lib/efl/elm/elm_scroll.rb', line 21
def scroll_freeze_push
Native.elm_object_scroll_freeze_push @ptr
end
|
[View source]
17
18
19
|
# File 'lib/efl/elm/elm_scroll.rb', line 17
def scroll_hold_pop
Native.elm_object_scroll_hold_pop @ptr
end
|
[View source]
13
14
15
|
# File 'lib/efl/elm/elm_scroll.rb', line 13
def scroll_hold_push
Native.elm_object_scroll_hold_push @ptr
end
|
[View source]
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
|
[View source]
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
|
[View source]
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
|
[View source]
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
|
permalink
#smart_callback_add(event_str, cb, data = FFI::MemoryPointer::NULL) ⇒ Object
[View source]
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
|
permalink
#text_get ⇒ Object
Also known as:
text
[View source]
40
41
42
|
# File 'lib/efl/elm/elm_object.rb', line 40
def text_get
Native.elm_object_part_text_get @ptr, nil
end
|
permalink
#text_set(label) ⇒ Object
Also known as:
text=
[View source]
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
|
permalink
#tree_dot_dump(filepath) ⇒ Object
[View source]
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
|
permalink
#tree_dump ⇒ Object
[View source]
13
14
15
|
# File 'lib/efl/elm/elm_debug.rb', line 13
def tree_dump
Native.elm_object_tree_dump @ptr
end
|
permalink
#tree_unfocusable_get ⇒ Object
Also known as:
tree_unfocusable
[View source]
64
65
66
|
# File 'lib/efl/elm/elm_focus.rb', line 64
def tree_unfocusable_get
Native.elm_object_tree_unfocusable_set @ptr
end
|
permalink
#tree_unfocusable_set(unfocusable) ⇒ Object
Also known as:
tree_unfocusable=
[View source]
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
|