ToolItem.getProxyMenuItem

If menu_item_id matches the string passed to gtk.tool_item.ToolItem.setProxyMenuItem return the corresponding #GtkMenuItem.

Custom subclasses of #GtkToolItem should use this function to update their menu item when the #GtkToolItem changes. That the menu_item_ids must match ensures that a #GtkToolItem will not inadvertently change a menu item that they did not create.

class ToolItem
getProxyMenuItem
(
string menuItemId
)

Parameters

menuItemId string

a string used to identify the menu item

Return Value

Type: gtk.widget.Widget

The #GtkMenuItem passed to gtk.tool_item.ToolItem.setProxyMenuItem, if the menu_item_ids match.