summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_popup.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/elm/elm_popup.rb')
-rw-r--r--lib/efl/elm/elm_popup.rb26
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