Package: gtk

Function gtk-radio-action-new

Lambda List

gtk-radio-action-new (name label tooltip stock-id value)

Arguments

name -- a string with the unique name for the action
label -- a string with the label displayed in menu items and on buttons, or nil
tooltip -- a string with the tooltip for this action, or nil
stock-id -- a string with the stock icon to display in widgets representing this action, or nil
value -- an integer with the value which the function gtk-radio-action-current-value should return if this action is selected

Return Value

A new gtk-radio-action object.

Details

Creates a new radio action. To add the action to a gtk-action-group object and set the accelerator for the action, call the function gtk-action-group-add-action.

Warning

The function gtk-radio-action-new has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2021-7-20