Class: Efl::Elm::ElmGenList

Inherits:
ElmObject show all
Includes:
Helper
Defined in:
lib/efl/elm/elm_genlist.rb

Instance Method Summary collapse

Methods included from Helper

included

Methods inherited from ElmObject

#cnp_selection_clear, #cnp_selection_get, #cnp_selection_set, #content_get, #content_set, #content_unset, #focus_allow_custom_chain_get, #focus_allow_custom_chain_set, #focus_allow_custom_chain_unset, #focus_allow_get, #focus_allow_set, #focus_custom_chain_append, #focus_custom_chain_prepend, #focus_cycle, #focus_get, #focus_set, #parent_widget_get, #scroll_freeze_pop, #scroll_freeze_push, #scroll_hold_pop, #scroll_hold_push, #scroll_lock_x_get, #scroll_lock_x_set, #scroll_lock_y_get, #scroll_lock_y_set, #smart_callback_add, #text_get, #text_set, #tree_dot_dump, #tree_dump, #tree_unfocusable_get, #tree_unfocusable_set

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

#at_xy_item_get(x, y) ⇒ Object



43
44
45
46
47
# File 'lib/efl/elm/elm_genlist.rb', line 43

def at_xy_item_get x, y
    @ri0 ||= FFI::MemoryPointer.new :int
    i = ElmObjectItem.new ElmObjectItem.new Native.elm_genlist_first_item_get @ptr, x, y, @ri0
    [ @ri0.read_int, i ]
end

#first_item_getObject Also known as: first_item



49
50
51
# File 'lib/efl/elm/elm_genlist.rb', line 49

def first_item_get
    ElmObjectItem.new Native.elm_genlist_first_item_get @ptr
end

#item_append(itc, data, parent, flags, cb, cbdata) ⇒ Object



18
19
20
# File 'lib/efl/elm/elm_genlist.rb', line 18

def item_append itc, data, parent, flags, cb, cbdata
    ElmObjectItem.new Native.elm_genlist_item_append @ptr, itc, data, parent, flags, cb, cbdata
end

#item_insert_after(itc, data, parent, before, flags, cb, cbdata) ⇒ Object



30
31
32
# File 'lib/efl/elm/elm_genlist.rb', line 30

def item_insert_after itc, data, parent, before, flags, cb, cbdata
    ElmObjectItem.new Native.elm_genlist_item_insert_after @ptr, itc, data, parent, before, flags, cb, cbdata
end

#item_insert_before(itc, data, parent, before, flags, cb, cbdata) ⇒ Object



26
27
28
# File 'lib/efl/elm/elm_genlist.rb', line 26

def item_insert_before itc, data, parent, before, flags, cb, cbdata
    ElmObjectItem.new Native.elm_genlist_item_insert_before @ptr, itc, data, parent, before, flags, cb, cbdata
end

#item_next_get(it) ⇒ Object Also known as: item_next



59
60
61
# File 'lib/efl/elm/elm_genlist.rb', line 59

def item_next_get it
    ElmObjectItem.new Native.elm_genlist_item_next_get it
end

#item_parent_get(it) ⇒ Object Also known as: item_parent



69
70
71
# File 'lib/efl/elm/elm_genlist.rb', line 69

def item_parent_get it
    ElmObjectItem.new Native.elm_genlist_item_parent_get it
end

#item_prepend(itc, data, parent, flags, cb, cbdata) ⇒ Object



22
23
24
# File 'lib/efl/elm/elm_genlist.rb', line 22

def item_prepend itc, data, parent, flags, cb, cbdata
    ElmObjectItem.new Native.elm_genlist_item_append @ptr, itc, data, parent, flags, cb, cbdata
end

#item_prev_get(it) ⇒ Object Also known as: item_prev



64
65
66
# File 'lib/efl/elm/elm_genlist.rb', line 64

def item_prev_get it
    ElmObjectItem.new Native.elm_genlist_item_prev_get it
end

#item_sorted_insert(itc, data, parent, flags, cmp, cb, cbdata) ⇒ Object



34
35
36
# File 'lib/efl/elm/elm_genlist.rb', line 34

def item_sorted_insert itc, data, parent, flags, cmp, cb, cbdata
    ElmObjectItem.new Native.elm_genlist_item_sorted_insert @ptr, itc, data, parent, flags, cmp, cb, cbdata
end

#last_item_getObject Also known as: last_item



54
55
56
# File 'lib/efl/elm/elm_genlist.rb', line 54

def last_item_get
    ElmObjectItem.new Native.elm_genlist_last_item_get @ptr
end

#selected_item_getObject Also known as: selected_item



38
39
40
# File 'lib/efl/elm/elm_genlist.rb', line 38

def selected_item_get
    ElmObjectItem.new Native.elm_genlist_selected_item_get @ptr
end