summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_list.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/elm/elm_list.rb')
-rw-r--r--lib/efl/elm/elm_list.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/efl/elm/elm_list.rb b/lib/efl/elm/elm_list.rb
index 1bd2c3b..3096b23 100644
--- a/lib/efl/elm/elm_list.rb
+++ b/lib/efl/elm/elm_list.rb
@@ -16,35 +16,35 @@ module Efl
search_prefixes 'elm_list_'
#
def item_append label, left_icon=nil, right_icon=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_list_item_append @ptr, label, left_icon, right_icon, cb, data
+ ElmObjectItem.new Native.elm_list_item_append @ptr, label, left_icon, right_icon, cb, data
end
#
def item_prepend label, left_icon=nil, right_icon=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_list_item_prepend @ptr, label, left_icon, right_icon, cb, data
+ ElmObjectItem.new Native.elm_list_item_prepend @ptr, label, left_icon, right_icon, cb, data
end
#
def item_insert_before before, label, left_icon=nil, right_icon=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_list_item_insert_before @ptr, before, label, left_icon, right_icon, cb, data
+ ElmObjectItem.new Native.elm_list_item_insert_before @ptr, before, label, left_icon, right_icon, cb, data
end
#
def item_insert_after after, label, left_icon=nil, right_icon=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_list_item_insert_after @ptr, after, label, left_icon, right_icon, cb, data
+ ElmObjectItem.new Native.elm_list_item_insert_after @ptr, after, label, left_icon, right_icon, cb, data
end
#
def item_sorted_insert label, left_icon, right_icon, cb, data, cmp_fct
- ElmObjectItem.new Native::elm_list_item_sorted_insert @ptr, label, left_icon, right_icon, cb, data, cmp_fct
+ ElmObjectItem.new Native.elm_list_item_sorted_insert @ptr, label, left_icon, right_icon, cb, data, cmp_fct
end
#
def selected_item_get
- ElmObjectItem.new Native::elm_list_selected_item_get @ptr
+ ElmObjectItem.new Native.elm_list_selected_item_get @ptr
end
#
def item_prev it
- ElmObjectItem.new Native::elm_list_item_prev it
+ ElmObjectItem.new Native.elm_list_item_prev it
end
#
def item_next it
- ElmObjectItem.new Native::elm_list_item_next it
+ ElmObjectItem.new Native.elm_list_item_next it
end
#
end