diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 12:01:42 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 12:01:42 +0100 |
commit | 6c07af44591829cb46ed24f2ff2c6f6defa27d9a (patch) | |
tree | f55efb6bc29872d24cd1e9b998d9860528b9c787 /lib | |
parent | 64ab0ace64617c2b017981d4a28b78f935c579cd (diff) | |
download | ffi-efl-6c07af44591829cb46ed24f2ff2c6f6defa27d9a.zip ffi-efl-6c07af44591829cb46ed24f2ff2c6f6defa27d9a.tar.gz |
elm_flipselector,elm_diskselector: add aliases
Diffstat (limited to 'lib')
-rw-r--r-- | lib/efl/elm/elm_diskselector.rb | 4 | ||||
-rw-r--r-- | lib/efl/elm/elm_flipselector.rb | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_diskselector.rb b/lib/efl/elm/elm_diskselector.rb index 4254470..16503f5 100644 --- a/lib/efl/elm/elm_diskselector.rb +++ b/lib/efl/elm/elm_diskselector.rb @@ -26,18 +26,22 @@ module Efl def first_item_get ElmObjectItem.new Native::elm_diskselector_first_item_get @ptr end + alias :first_item :first_item_get # def last_item_get ElmObjectItem.new Native::elm_diskselector_last_item_get @ptr end + alias :last_item :last_item_get # def item_prev_get it ElmObjectItem.new Native::elm_diskselector_item_prev_get it end + alias :item_prev :item_prev_get # def item_next_get it ElmObjectItem.new Native::elm_diskselector_item_next_get it end + alias :item_next :item_next_get # end # diff --git a/lib/efl/elm/elm_flipselector.rb b/lib/efl/elm/elm_flipselector.rb index 7ed4b35..ef64578 100644 --- a/lib/efl/elm/elm_flipselector.rb +++ b/lib/efl/elm/elm_flipselector.rb @@ -26,22 +26,27 @@ module Efl def first_item_get ElmObjectItem.new Native::elm_flipselector_first_item_get @ptr end + alias :first_item :first_item_get # def last_item_get ElmObjectItem.new Native::elm_flipselector_last_item_get @ptr end + alias :last_item :last_item_get # def selected_item_get ElmObjectItem.new Native::elm_flipselector_selected_item_get @ptr end + alias :selected_item :selected_item_get # def item_prev_get it ElmObjectItem.new Native::elm_flipselector_item_prev_get it end + alias :item_prev :item_prev_get # def item_next_get it ElmObjectItem.new Native::elm_flipselector_item_next_get it end + alias :item_next :item_next_get # end # |