summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_popup.rb
blob: 339789f3f7dae8f4b4b0af0c301fd9e1a1de6ccb (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
#! /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