ToolItem.setProxyMenuItem

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.

class ToolItem
void
setProxyMenuItem

Parameters

menuItemId string

a string used to identify @menu_item

menuItem Widget

a #GtkMenuItem to use in the overflow menu, or %NULL

Meta