Dbusmenu.MenuitemProxy

g Dbusmenu.Menuitem Dbusmenu.Menuitem Dbusmenu.MenuitemProxy Dbusmenu.MenuitemProxy Dbusmenu.Menuitem->Dbusmenu.MenuitemProxy GObject.Object GObject.Object GObject.Object->Dbusmenu.Menuitem

Subclasses:

None

Methods

Inherited:

Dbusmenu.Menuitem (37), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (mi)

get_wrapped ()

Virtual Methods

Inherited:

Dbusmenu.Menuitem (5), GObject.Object (7)

Properties

Inherited:

Dbusmenu.Menuitem (1)

Name

Type

Flags

Short Description

menu-item

Dbusmenu.Menuitem

r/w/co

An instance of the Dbusmenu.Menuitem class that this menuitem will mimic.

Signals

Inherited:

Dbusmenu.Menuitem (9), GObject.Object (1)

Fields

Inherited:

Dbusmenu.Menuitem (9), GObject.Object (1)

Name

Type

Access

Description

parent

Dbusmenu.Menuitem

r

Class Details

class Dbusmenu.MenuitemProxy(**kwargs)
Bases:

Dbusmenu.Menuitem

Abstract:

No

Structure:

Dbusmenu.MenuitemProxyClass

Public instance data for a Dbusmenu.MenuitemProxy.

classmethod new(mi)
Parameters:

mi (Dbusmenu.Menuitem) – The Dbusmenu.Menuitem to proxy

Returns:

A new Dbusmenu.MenuitemProxy object.

Return type:

Dbusmenu.MenuitemProxy

Builds a new Dbusmenu.MenuitemProxy object that proxies all of the values for mi.

get_wrapped()
Returns:

A Dbusmenu.Menuitem object or a None if we don’t have one or there is an error.

Return type:

Dbusmenu.Menuitem

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:

Dbusmenu.Menuitem

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

An instance of the Dbusmenu.Menuitem class that this menuitem will mimic.