Thunarx.Menu¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Thunarx.Menu(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
a newly created
Thunarx.Menu
- Return type:
Creates a new menu that can be added to the toolbar or to a contextual menu.
- append_item(item)¶
- Parameters:
item (
Thunarx.MenuItem
) – aThunarx.MenuItem
- get_items()¶
- Returns:
the provided
Thunarx.MenuItem
list Must be freed withThunarx.MenuItem.list_free
() after usage- Return type:
- prepend_item(item)¶
- Parameters:
item (
Thunarx.MenuItem
) – aThunarx.MenuItem