D-Bus menu#

class ignis.dbus_menu.DBusMenu(name: str, object_path: str)#

Bases: Gtk.PopoverMenu

Like DbusmenuGtk3, but for GTK4.

The bus must provide the com.canonical.dbusmenu D-Bus interface.

property name: str#
  • required, read-only

A bus name (well-known or unique).

property object_path: str#
  • required, read-only

An object path to the menu.

copy() DBusMenu#

Create a copy of this instance.

Returns:

A copy of this instance.

Return type:

DBusMenu