gtkLabelSetMnemonicWidget: gtkLabelSetMnemonicWidget

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R


If the label has been set so that it has an mnemonic key (using i.e. gtkLabelSetMarkupWithMnemonic, gtkLabelSetTextWithMnemonic, gtkLabelNewWithMnemonic or the "use_underline" property) the label can be associated with a widget that is the target of the mnemonic. When the label is inside a widget (like a GtkButton or a GtkNotebook tab) it is automatically associated with the correct widget, but sometimes (i.e. when the target is a GtkEntry next to the label) you need to set it explicitly using this function.


gtkLabelSetMnemonicWidget(object, widget)



a GtkLabel


the target GtkWidget. [ allow-none ]


The target widget will be accelerated by emitting the GtkWidget::mnemonic-activate signal on it. The default handler for this signal will activate the widget if there are no mnemonic collisions and toggle focus between the colliding widgets otherwise.


Derived by RGtkGen from GTK+ documentation

RGtk2 documentation built on May 20, 2017, 3:33 a.m.
Search within the RGtk2 package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.