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