Dbusmenu.MenuitemProxy¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
An instance of the |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Dbusmenu.MenuitemProxy(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Public instance data for a
Dbusmenu.MenuitemProxy
.- classmethod new(mi)¶
- Parameters:
mi (
Dbusmenu.Menuitem
) – TheDbusmenu.Menuitem
to proxy- Returns:
A new
Dbusmenu.MenuitemProxy
object.- Return type:
Builds a new
Dbusmenu.MenuitemProxy
object that proxies all of the values for mi.
- get_wrapped()¶
- Returns:
A
Dbusmenu.Menuitem
object or aNone
if we don’t have one or there is an error.- Return type:
Accesses the private variable of which
Dbusmenu.Menuitem
we are doing the proxying for.
Property Details¶
- Dbusmenu.MenuitemProxy.props.menu_item¶
- Name:
menu-item
- Type:
- Default Value:
- Flags:
An instance of the
Dbusmenu.Menuitem
class that this menuitem will mimic.