gtkActionGroupAddRadioActions: gtkActionGroupAddRadioActions

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

This is a convenience routine to create a group of radio actions and add them to the action group.

Usage

1
2
gtkActionGroupAddRadioActions(object, entries, value, on.change = NULL, 
    user.data = NULL)

Arguments

object

the action group

entries

a list of radio action descriptions

value

the value of the action to activate initially, or -1 if no action should be activated

on.change

the callback to connect to the changed signal

user.data

data to pass to the action callbacks

Details

The "changed" signal of the first radio action is connected to the on.change callback and the accel paths of the actions are set to <Actions>/ \var{group-name} / \var{action-name}. Since 2.4

Author(s)

Derived by RGtkGen from GTK+ documentation


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