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

Instance Method Summary collapse

Methods inherited from Efl::Evas::REvasObject

#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

Methods included from ClassHelper

#===, #address, included, #method_missing, #null?, #to_a, #to_ary, #to_ptr, #to_s

Constructor Details

This class inherits a constructor from Efl::Evas::REvasObject

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_getObject 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_unsetObject



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_getObject 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_unsetObject



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_getObject 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_getObject



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

#parent_widget_getObject Also known as: parent_widget



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

#scroll_freeze_popObject



25
26
27
# File 'lib/efl/elm/elm_scroll.rb', line 25

def scroll_freeze_pop
    Native.elm_object_scroll_freeze_pop @ptr
end

#scroll_freeze_pushObject



21
22
23
# File 'lib/efl/elm/elm_scroll.rb', line 21

def scroll_freeze_push
    Native.elm_object_scroll_freeze_push @ptr
end

#scroll_hold_popObject



17
18
19
# File 'lib/efl/elm/elm_scroll.rb', line 17

def scroll_hold_pop
    Native.elm_object_scroll_hold_pop @ptr
end

#scroll_hold_pushObject



13
14
15
# File 'lib/efl/elm/elm_scroll.rb', line 13

def scroll_hold_push
    Native.elm_object_scroll_hold_push @ptr
end

#scroll_lock_x_getObject



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

#scroll_lock_x_set(lock) ⇒ Object



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

#scroll_lock_y_getObject



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

#scroll_lock_y_set(lock) ⇒ Object



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_getObject 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_dumpObject



13
14
15
# File 'lib/efl/elm/elm_debug.rb', line 13

def tree_dump
    Native.elm_object_tree_dump @ptr
end

#tree_unfocusable_getObject 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