summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_menu.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-28 16:09:49 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-28 16:09:49 +0100
commitf5be08ea606ad373f3bab8e5a0f258b82a9cf11f (patch)
treea5dee985149c7cdeb799958f99de8a1450d3b92b /lib/efl/elm/elm_menu.rb
parent142e64c3cefcd11667adefdc61989536f6a34bd4 (diff)
downloadffi-efl-f5be08ea606ad373f3bab8e5a0f258b82a9cf11f.zip
ffi-efl-f5be08ea606ad373f3bab8e5a0f258b82a9cf11f.tar.gz
lib/efl/elm/elm_*.rb: Native::->Native.
Diffstat (limited to 'lib/efl/elm/elm_menu.rb')
-rw-r--r--lib/efl/elm/elm_menu.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/efl/elm/elm_menu.rb b/lib/efl/elm/elm_menu.rb
index f285011..a148143 100644
--- a/lib/efl/elm/elm_menu.rb
+++ b/lib/efl/elm/elm_menu.rb
@@ -16,35 +16,35 @@ module Efl
search_prefixes 'elm_menu_'
#
def item_add parent, icon=nil, label=nil, cb=nil, data=nil
- ElmObjectItem.new Native::elm_menu_item_add @ptr, parent, icon, label, cb, data
+ ElmObjectItem.new Native.elm_menu_item_add @ptr, parent, icon, label, cb, data
end
#
def item_add_object parent, subobj, cb=nil, data=nil
- ElmObjectItem.new Native::elm_menu_item_add_object @ptr, parent, subobj, cb, data
+ ElmObjectItem.new Native.elm_menu_item_add_object @ptr, parent, subobj, cb, data
end
#
def item_separator_add parent
- ElmObjectItem.new Native::elm_menu_item_separator_add @ptr, parent
+ ElmObjectItem.new Native.elm_menu_item_separator_add @ptr, parent
end
#
def selected_item_get
- ElmObjectItem.new Native::elm_menu_selected_item_get @ptr
+ ElmObjectItem.new Native.elm_menu_selected_item_get @ptr
end
#
def last_item_get
- ElmObjectItem.new Native::elm_menu_last_item_get @ptr
+ ElmObjectItem.new Native.elm_menu_last_item_get @ptr
end
#
def first_item_get
- ElmObjectItem.new Native::elm_menu_first_item_get @ptr
+ ElmObjectItem.new Native.elm_menu_first_item_get @ptr
end
#
def item_next_get it
- ElmObjectItem.new Native::elm_menu_item_next_get it
+ ElmObjectItem.new Native.elm_menu_item_next_get it
end
#
def item_prev_get it
- ElmObjectItem.new Native::elm_menu_item_prev_get it
+ ElmObjectItem.new Native.elm_menu_item_prev_get it
end
#
end