Top | ![]() |
![]() |
![]() |
![]() |
A UnityGtkMenuShell is a GMenuModel that acts as a proxy for a
GtkMenuShell. This can be used for purposes such as exporting menu
shells over DBus with g_dbus_connection_export_menu_model()
.
UnityGtkMenuShells are most useful when used with UnityGtkActionGroups.
UnityGtkMenuShell *
unity_gtk_menu_shell_new (GtkMenuShell *menu_shell
);
Creates a new UnityGtkMenuShell based on the contents of the given
menu_shell
. Any subsequent changes to menu_shell
are reflected in
the returned UnityGtkMenuShell.