A menu is a list of items displayed above its parent.
When the menu is showing its parent is darkened. Each item can have a sub-menu. The menu object can be used to display a menu on a right click event, in a toolbar, anywhere.
clicked
- the user clicked the empty space in the menu to dismiss.
dismissed
- the user clicked the empty space in the menu to dismiss (since 1.8)
default
- A main content of the menu item
default
- label in the menu item
efl.elementary.
Menu
(Object parent, *args, **kwargs)¶parent (efl.evas.Object
) – The parent object
**kwargs – All the remaining keyword arguments are interpreted as properties of the instance
efl.elementary.
MenuItem
(MenuItem parent=None, label=None, icon=None, callback=None, cb_data=None, *args, **kargs)¶