DbusmenuGtk3.Menu

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget DbusmenuGtk3.Menu DbusmenuGtk3.Menu GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.MenuShell Gtk.MenuShell Gtk.Container->Gtk.MenuShell Gtk.Menu Gtk.Menu Gtk.Menu->DbusmenuGtk3.Menu Gtk.MenuShell->Gtk.Menu Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Menu (31), Gtk.MenuShell (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new (dbus_name, dbus_object)

get_client ()

Virtual Methods

Inherited:

Gtk.MenuShell (9), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Menu (12), Gtk.MenuShell (1), Gtk.Container (3), Gtk.Widget (39)

Name

Type

Flags

Short Description

dbus-name

str

r/w/co

Name of the DBus client we’re connecting to.

dbus-object

str

r/w/co

The Object on the client that we’re getting our data from.

Child Properties

Inherited:

Gtk.Menu (4)

Style Properties

Inherited:

Gtk.Menu (7), Gtk.Widget (17)

Signals

Inherited:

Gtk.Menu (2), Gtk.MenuShell (8), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Menu (2), Gtk.MenuShell (8), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent

Gtk.Menu

r

Class Details

class DbusmenuGtk3.Menu(**kwargs)
Bases:

Gtk.Menu

Abstract:

No

Structure:

DbusmenuGtk3.MenuClass

A Gtk.Menu that is built using an abstract tree built from a DbusmenuGtk3.Client.

classmethod new(dbus_name, dbus_object)
Parameters:
Returns:

A new DbusmenuGtk3.Menu sync’d with a server

Return type:

DbusmenuGtk3.Menu

Creates a new DbusmenuGtk3.Menu object and creates a Dbusmenu.Client that connects across DBus to a Dbusmenu.Server.

get_client()
Returns:

A valid DbusmenuGtk3.Client or None on error.

Return type:

DbusmenuGtk3.Client

An accessor for the client that this menu is using to communicate with the server.

Property Details

DbusmenuGtk3.Menu.props.dbus_name
Name:

dbus-name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Name of the DBus client we’re connecting to.

DbusmenuGtk3.Menu.props.dbus_object
Name:

dbus-object

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The Object on the client that we’re getting our data from.