Method
GtkToolItemset_proxy_menu_item
since: 2.4
Declaration [src]
void
gtk_tool_item_set_proxy_menu_item (
GtkToolItem* tool_item,
const gchar* menu_item_id,
GtkWidget* menu_item
)
Description [src]
Sets the GtkMenuItem
used in the toolbar overflow menu. The
menu_item_id
is used to identify the caller of this function and
should also be used with gtk_tool_item_get_proxy_menu_item().
See also GtkToolItem::create-menu-proxy
.
Available since: 2.4
Parameters
menu_item_id
-
Type:
const gchar*
A string used to identify
menu_item
.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. menu_item
-
Type:
GtkWidget
A
GtkMenuItem
to use in the overflow menu, orNULL
.The argument can be NULL
.The data is owned by the caller of the method.