diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-03-07 09:37:05 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-03-07 09:37:05 +0100 |
commit | 05c5bc859f299c50f281fd39accb852e6ed3ad47 (patch) | |
tree | 28237a33fe9bcdcdde43b02990bef95fa1998afb /lib/efl/elm/elm_popup.rb | |
parent | 933dba43784b4b86e479f4206edf0cccc1eaf7da (diff) | |
download | ffi-efl-05c5bc859f299c50f281fd39accb852e6ed3ad47.zip ffi-efl-05c5bc859f299c50f281fd39accb852e6ed3ad47.tar.gz |
add elm_popup
Diffstat (limited to 'lib/efl/elm/elm_popup.rb')
-rw-r--r-- | lib/efl/elm/elm_popup.rb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_popup.rb b/lib/efl/elm/elm_popup.rb new file mode 100644 index 0000000..339789f --- /dev/null +++ b/lib/efl/elm/elm_popup.rb @@ -0,0 +1,26 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/elm/elm_object' +require 'efl/elm/elm_object_item' +require 'efl/native/elm/elm_popup' +# +module Efl + # + module Elm + # + class ElmPopup < ElmObject + # + include Helper + constructor :elm_popup_add + search_prefixes 'elm_popup_' + # + def item_append label, icon, func, data=nil + ElmObjectItem.new Native.elm_popup_item_append @ptr, label, icon, func, data + end + end + # + end +end +# +# EOF |