Learn R Programming

RGtk2 (version 2.20.31)

gtkToolItemGetProxyMenuItem: gtkToolItemGetProxyMenuItem

Description

If menu.item.id matches the string passed to gtkToolItemSetProxyMenuItem return the corresponding GtkMenuItem.

Usage

gtkToolItemGetProxyMenuItem(object, menu.item.id)

Arguments

object
menu.item.id
a string used to identify the menu item

Value

GtkWidget] The GtkMenuItem passed to gtkToolItemSetProxyMenuItem, if the menu.item.ids match.

Details

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. Since 2.4