summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_ctxpopup.rb
blob: a60d153d58923cb5fd6e740805c87227118e2b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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