• Python EFL - 1.25
  • python docs
  • other docs
  • EFL

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Home |
  • What is elementary? »
  • Menu

Logo

Table of Contents

  • Menu
    • Widget description
    • Emitted signals
    • Layout content parts
    • Layout text parts
    • Inheritance diagram

Previous topic

Mapbuf

Next topic

MultiButtonEntry

Quick search

Menu¶

../_images/menu-preview.png

Widget description¶

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.

Emitted signals¶

  • 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)

Layout content parts¶

  • default - A main content of the menu item

Layout text parts¶

  • default - label in the menu item

Inheritance diagram¶

class efl.elementary.Menu(Object parent, *args, **kwargs)¶
Parameters
  • parent (efl.evas.Object) – The parent object

  • **kwargs – All the remaining keyword arguments are interpreted as properties of the instance

class efl.elementary.MenuItem(MenuItem parent=None, label=None, icon=None, callback=None, cb_data=None, *args, **kargs)¶

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Home |
  • What is elementary? »
  • Menu
© Copyright 2008-2021, Simon Busch, Gustavo Sverzut Barbieri, Ulisses Furquim, ProFUSION embedded systems, Boris Faure, Fabiano Fidencio, Davide Andreoli, Kai Huuhko.
Created using Sphinx 3.5.4.