D-Bus menu#

class ignis.dbus_menu.DBusMenu(*args: Any, **kwargs: Any)#

Bases: Gtk.PopoverMenu.

Like DbusmenuGtk3, but for GTK4.

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

Parameters:
  • name (str) -- A bus name (well-known or unique).

  • object_path (str) -- An object path to the menu.

copy() DBusMenu#

Create a copy of this instance.

Returns:

A copy of this instance.

Return type:

DBusMenu