RadioAction


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.4" ) ]
public RadioAction (string name, string? label, string? tooltip, string? stock_id, int value)

Creates a new RadioAction object.

To add the action to a ActionGroup and set the accelerator for the action, call add_action_with_accel.

Parameters:

name

A unique name for the action

label

The label displayed in menu items and on buttons, or null

tooltip

A tooltip for this action, or null

stock_id

The stock icon to display in widgets representing this action, or null

value

The value which get_current_value should return if this action is selected.

Returns:

a new RadioAction