From 903e6acf51d52b614e62ca4403fa64eac54dde5b Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Tue, 28 Feb 2012 10:52:00 +0100 Subject: parse elm_ctxpopup.h, generate elm_ctxpopup.rb --- lib/efl/elm/elm_ctxpopup.rb | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lib/efl/elm/elm_ctxpopup.rb (limited to 'lib/efl/elm') 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 -- cgit v1.2.3