Gtk.MenuItemClass

Fields

Name

Type

Access

Description

activate

object

r

Signal emitted when the item is activated.

activate_item

object

r

Signal emitted when the item is activated, but also if the menu item has a submenu.

deselect

object

r

Signal emitted when the item is deselected.

get_label

object

r

Gets text from the Gtk.MenuItem label

hide_on_activate

int

r

If True, then we should always hide the menu when the Gtk.MenuItem is activated. Otherwise, it is up to the caller.

parent_class

Gtk.BinClass

r

The parent class.

select

object

r

Signal emitted when the item is selected.

set_label

object

r

Sets text on the Gtk.MenuItem label

toggle_size_allocate

object

r

toggle_size_request

object

r

Methods

None

Details

class Gtk.MenuItemClass