These functions support exporting a GMenuModel on D-Bus. The D-Bus interface that is used is a private implementation detail.
guint g_dbus_connection_export_menu_model (
const gchar *object_path,
The implemented D-Bus API should be considered private. It is subject to change in the future.
An object path can only have one menu model exported on it. If this
constraint is violated, the export will fail and 0 will be
You can unexport the menu model using
g_dbus_connection_unexport_menu_model() with the return value of
void g_dbus_connection_unexport_menu_model (
Reverses the effect of a previous call to
It is an error to call this function with an ID that wasn't returned
g_dbus_connection_export_menu_model() or to call it with the
same ID more than once.