summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_ctxpopup.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-28 10:52:00 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-28 10:52:00 +0100
commit903e6acf51d52b614e62ca4403fa64eac54dde5b (patch)
treed3f1c0c193f48f3db525aa7b4f0e068e829272c8 /lib/efl/elm/elm_ctxpopup.rb
parent156be17f641a60ee20e94f46adefa1bdac17dbba (diff)
downloadffi-efl-903e6acf51d52b614e62ca4403fa64eac54dde5b.zip
ffi-efl-903e6acf51d52b614e62ca4403fa64eac54dde5b.tar.gz
parse elm_ctxpopup.h, generate elm_ctxpopup.rb
Diffstat (limited to 'lib/efl/elm/elm_ctxpopup.rb')
-rw-r--r--lib/efl/elm/elm_ctxpopup.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_ctxpopup.rb b/lib/efl/elm/elm_ctxpopup.rb
new file mode 100644
index 0000000..4a874a1
--- /dev/null
+++ b/lib/efl/elm/elm_ctxpopup.rb
@@ -0,0 +1,27 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/elm/elm_object'
+require 'efl/elm/elm_object_item'
+require 'efl/native/elm/elm_ctxpopup'
+#
+module Efl
+ #
+ module Elm
+ #
+ class ElmCtxPopup < ElmObject
+ #
+ include Helper
+ constructor :elm_ctxpopup_add
+ search_prefixes 'elm_ctxpopup_'
+ #
+ def item_append label, icon=nil, cb=nil, data=nil
+ ElmObjectItem.new Native::elm_ctxpopup_item_append @ptr, label, icon, cb, data
+ end
+ #
+ end
+ #
+ end
+end
+#
+# EOF