summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_toolbar.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_toolbar.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_toolbar.rb')
-rw-r--r--lib/efl/elm/elm_toolbar.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/efl/elm/elm_toolbar.rb b/lib/efl/elm/elm_toolbar.rb
index b4b99be..2bd1a19 100644
--- a/lib/efl/elm/elm_toolbar.rb
+++ b/lib/efl/elm/elm_toolbar.rb
@@ -16,43 +16,43 @@ module Efl
search_prefixes 'elm_toolbar_'
#
def item_append icon, label, cb=nil, data=nil
- ElmObjectItem.new Native::elm_toolbar_item_append @ptr, icon, label, cb, data
+ ElmObjectItem.new Native.elm_toolbar_item_append @ptr, icon, label, cb, data
end
#
def item_prepend icon, label, cb=nil, data=nil
- ElmObjectItem.new Native::elm_toolbar_item_prepend @ptr, icon, label, cb, data
+ ElmObjectItem.new Native.elm_toolbar_item_prepend @ptr, icon, label, cb, data
end
#
def item_insert_before before, icon, label, cb=nil, data=nil
- ElmObjectItem.new Native::elm_toolbar_item_insert_before @ptr, before, icon, label, cb, data
+ ElmObjectItem.new Native.elm_toolbar_item_insert_before @ptr, before, icon, label, cb, data
end
#
def item_insert_after after, icon, label, cb=nil, data=nil
- ElmObjectItem.new Native::elm_toolbar_item_insert_after @ptr, after, icon, label, cb, data
+ ElmObjectItem.new Native.elm_toolbar_item_insert_after @ptr, after, icon, label, cb, data
end
#
def first_item_get
- ElmObjectItem.new Native::elm_toolbar_first_item_get @ptr
+ ElmObjectItem.new Native.elm_toolbar_first_item_get @ptr
end
alias :first_item :first_item_get
#
def last_item_get
- ElmObjectItem.new Native::elm_toolbar_last_item_get @ptr
+ ElmObjectItem.new Native.elm_toolbar_last_item_get @ptr
end
alias :last_item :last_item_get
#
def item_prev_get it
- ElmObjectItem.new Native::elm_toolbar_item_prev it
+ ElmObjectItem.new Native.elm_toolbar_item_prev it
end
alias :item_prev :item_prev_get
#
def item_next_get it
- ElmObjectItem.new Native::elm_toolbar_item_next it
+ ElmObjectItem.new Native.elm_toolbar_item_next it
end
alias :item_next :item_next_get
#
def selected_item_get
- ElmObjectItem.new Native::elm_toolbar_selected_item_get @ptr
+ ElmObjectItem.new Native.elm_toolbar_selected_item_get @ptr
end
alias :selected_item :selected_item_get
end