Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
gtkRadioMenuItemNew(group = NULL, show = TRUE)
gtkRadioMenuItemNewWithLabel(group = NULL, label, show = TRUE)
gtkRadioMenuItemNewWithMnemonic(group = NULL, label, show = TRUE)
gtkRadioMenuItemNewFromWidget(group = NULL, show = TRUE)
gtkRadioMenuItemNewWithLabelFromWidget(group = NULL, label, show = TRUE)
gtkRadioMenuItemNewWithMnemonicFromWidget(group = NULL, label, show = TRUE)
gtkRadioMenuItemSetGroup(object, group)
gtkRadioMenuItemGetGroup(object)
gtkRadioMenuItem(group = NULL, label, show = TRUE)
GtkRadioMenuItem
will
remove itself and its list item when it is destroyed.
The correct way to create a group of radio menu items is approximatively
this:
group <- NULL
for (i in 1:5)
{
item <- gtkRadioMenuItem(group, "This is an example")
group <- item$getGroup()
if (i == 1)
item$setActive(TRUE)
}gtkRadioMenuItem
is the result of collapsing the constructors of GtkRadioMenuItem
(gtkRadioMenuItemNew
, gtkRadioMenuItemNewWithLabel
, gtkRadioMenuItemNewWithMnemonic
, gtkRadioMenuItemNewFromWidget
, gtkRadioMenuItemNewWithMnemonicFromWidget
, gtkRadioMenuItemNewWithLabelFromWidget
) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.