Amtk.MenuShell¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The |
|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Amtk.MenuShell(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod get_from_gtk_menu_shell(gtk_menu_shell)¶
- Parameters:
gtk_menu_shell (
Gtk.MenuShell
) – aGtk.MenuShell
.- Returns:
the
Amtk.MenuShell
of gtk_menu_shell.- Return type:
Returns the
Amtk.MenuShell
of gtk_menu_shell. The returned object is guaranteed to be the same for the lifetime of gtk_menu_shell.New in version 2.0.
- get_menu_shell()¶
- Returns:
the
Gtk.MenuShell
of self.- Return type:
New in version 2.0.
- do_menu_item_deselected(menu_item) virtual¶
- Parameters:
menu_item (
Gtk.MenuItem
) –
- do_menu_item_selected(menu_item) virtual¶
- Parameters:
menu_item (
Gtk.MenuItem
) –
Signal Details¶
- Amtk.MenuShell.signals.menu_item_deselected(menu_shell, menu_item)¶
- Signal Name:
menu-item-deselected
- Flags:
- Parameters:
menu_shell (
Amtk.MenuShell
) – The object which received the signalmenu_item (
Gtk.MenuItem
) – theGtk.MenuItem
that has been deselected.
The
::menu-item-deselected
signal is emitted when theGtk.MenuItem
::deselect
signal is emitted on aGtk.MenuItem
belonging (directly or indirectly through submenus) to amtk_menu_shell.New in version 2.0.
- Amtk.MenuShell.signals.menu_item_selected(menu_shell, menu_item)¶
- Signal Name:
menu-item-selected
- Flags:
- Parameters:
menu_shell (
Amtk.MenuShell
) – The object which received the signalmenu_item (
Gtk.MenuItem
) – theGtk.MenuItem
that has been selected.
The
::menu-item-selected
signal is emitted when theGtk.MenuItem
::select
signal is emitted on aGtk.MenuItem
belonging (directly or indirectly through submenus) to amtk_menu_shell.New in version 2.0.
Property Details¶
- Amtk.MenuShell.props.menu_shell¶
- Name:
menu-shell
- Type:
- Default Value:
- Flags:
The
Gtk.MenuShell
.New in version 2.0.