diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-07 10:42:12 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-07 10:42:12 +0200 |
commit | fbac5376bbf147a46b62ce4bbf30a5707a5315ab (patch) | |
tree | 529e54b387753b40eb430f0eb2ac0f6e8aca2ef3 /lib/efl/elementary.rb | |
parent | 34490f8ac5bd72e586c9f632a2cec9bf68ba5798 (diff) | |
download | ffi-efl-fbac5376bbf147a46b62ce4bbf30a5707a5315ab.zip ffi-efl-fbac5376bbf147a46b62ce4bbf30a5707a5315ab.tar.gz |
quick and dirty add ElmHoversel and ElmHoverselItem
Diffstat (limited to 'lib/efl/elementary.rb')
-rw-r--r-- | lib/efl/elementary.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb index 5c33a80..c5c9f5f 100644 --- a/lib/efl/elementary.rb +++ b/lib/efl/elementary.rb @@ -237,6 +237,23 @@ module Efl # end # + class ElmHoversel < Efl::Evas::REvasObject + # + include Helper + constructor :elm_hoversel_add + search_prefixes 'elm_hoversel_', 'elm_object' + # + def item_add label, icon_file=nil, icon_type=:elm_icon_none, cb=nil, data=nil + ElmHoverselItem.new Native::elm_hoversel_item_add @ptr, label, icon_file, icon_type, cb, data + end + end + # + class ElmHoverselItem < Efl::Evas::REvasObject + # + search_prefixes 'elm_hoversel_item_', 'elm_object' + # + end + # end end # |