Baul.MenuItem — Baul.MenuItem Reference
class Baul.MenuItem(gobject.GObject): |
|
Baul.MenuItem(name, label, tooltip, icon)
| identifier of the item |
| the user-visible label for the item |
| the user-visible tooltip for the item |
| Name of the icon to display in the item |
Creates a new Baul.MenuItem object.
def set_submenu(menu)
| a Baul.Menu |
Attaches a Baul.Menu as the submenu for this Baul.MenuItem.
def callback(item, user_param1, ...)
| the Baul.MenuItem being activated |
| User-defined parameter the user attaches to the signal connector |
| Additional parameter(s) the user attaches to the signal connector |
Emits the "activate" signal.