DbusmenuGtk3.Menu¶
- 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  | 
  | 
  | 
Virtual Methods¶
Properties¶
- Inherited:
 Gtk.Menu (12), Gtk.MenuShell (1), Gtk.Container (3), Gtk.Widget (39)
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/co  | 
Name of the DBus client we’re connecting to.  | 
||
r/w/co  | 
The Object on the client that we’re getting our data from.  | 
Child Properties¶
- Inherited:
 
Style Properties¶
- Inherited:
 
Signals¶
Fields¶
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent  | 
r  | 
Class Details¶
- class DbusmenuGtk3.Menu(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
A
Gtk.Menuthat is built using an abstract tree built from aDbusmenuGtk3.Client.- classmethod new(dbus_name, dbus_object)¶
 - Parameters:
 dbus_name (
str) – Name of theDbusmenu.Serveron DBusdbus_object (
str) – Name of the object on theDbusmenu.Server
- Returns:
 A new
DbusmenuGtk3.Menusync’d with a server- Return type:
 
Creates a new
DbusmenuGtk3.Menuobject and creates aDbusmenu.Clientthat connects across DBus to aDbusmenu.Server.
- get_client()¶
 - Returns:
 A valid
DbusmenuGtk3.ClientorNoneon error.- Return type:
 
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:
 - Default Value:
 - Flags:
 
Name of the DBus client we’re connecting to.