ToolItem.getProxyMenuItem

If menu_item_id matches the string passed to ToolItem.setProxyMenuItem return the corresponding gtk.MenuItem

Custom subclasses of gtk.ToolItem should use this function to update their menu item when the gtk.ToolItem changes. That the menu_item_ids must match ensures that a gtk.ToolItem 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: Widget

The gtk.MenuItem passed to ToolItem.setProxyMenuItem, if the menu_item_ids match.

Meta