Method
MatePanelAppletAppletsetup_menu_from_resource
since: 1.20.1
Declaration [src]
void
mate_panel_applet_setup_menu_from_resource (
MatePanelApplet* applet,
const gchar* resource_path,
GtkActionGroup* action_group
)
Description [src]
Sets up the context menu of applet. filename is a resource path to a menu
XML file, containing a GtkUIManager UI definition that describes how to
display the menu items. action_group contains the various GtkAction that
are referenced in xml.
See also the Context Menu section.
Available since: 1.20.1
Parameters
resource_path-
Type:
const gchar*A resource path.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. action_group-
Type:
GtkActionGroupA
GtkActionGroup.The data is owned by the caller of the method.