gtkToolItemGetProxyMenuItem: gtkToolItemGetProxyMenuItem

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

Description

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

Usage

1
gtkToolItemGetProxyMenuItem(object, menu.item.id)

Arguments

object

a GtkToolItem

menu.item.id

a string used to identify the menu item

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

Value

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

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.