Nemo.MenuItem — Nemo.MenuItem Reference
class Nemo.MenuItem(gobject.GObject): |
|
Nemo.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 Nemo.MenuItem
object.
def set_submenu(menu
)
| a Nemo.Menu |
Attaches a Nemo.Menu
as the submenu for this Nemo.MenuItem
.
def callback(item
, user_param1
, ...
)
| the Nemo.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.