Class: Gio::DBusMenuModel
Overview
GDBusMenuModel is an implementation of [classGio.MenuModel] that can be
used as a proxy for a menu model that is exported over D-Bus with
[methodGio.DBusConnection.export_menu_model].
Class Method Summary collapse
-
.get(connection, bus_name, object_path) ⇒ Gio::DBusMenuModel
Obtains a GDBus::MenuModel for the menu model which is exported at the given bus_name and object_path.
Methods inherited from MenuModel
#get_item_attribute, #get_item_attribute_value, #get_item_link, #is_mutable, #items_changed, #iterate_item_attributes, #iterate_item_links, #n_items
Class Method Details
.get(connection, bus_name, object_path) ⇒ Gio::DBusMenuModel
Obtains a GDBus::MenuModel for the menu model which is exported at the given bus_name and object_path.
The thread default main context is taken at the time of this call. All signals on the menu model (and any linked models) are reported with respect to this context. All calls on the returned menu model (and linked models) must also originate from this same context, with the thread default main context unchanged.