Method: Efl::Elm::ElmMenu#item_add

Defined in:
lib/efl/elm/elm_menu.rb

#item_add(parent, icon = nil, label = nil, cb = nil, data = nil) ⇒ Object


18
19
20
# File 'lib/efl/elm/elm_menu.rb', line 18

def item_add parent, icon=nil, label=nil, cb=nil, data=nil
    ElmObjectItem.new Native.elm_menu_item_add @ptr, parent, icon, label, cb, data
end