gtk.radio_action
Module for [RadioAction] class
Types 3
A #GtkRadioAction is similar to #GtkRadioMenuItem. A number of radio actions can be linked together so that only one may be active at any one time.
Methods
RadioAction self()Returns `this`, for use in `with` statements.RadioActionGidBuilder builder()Get builder for [gtk.radio_action.RadioAction] Returns: New builder objectint currentValue() @propertyGet `currentValue` property. Returns: The value property of the currently active member of the group to which this action belongs.void currentValue(int propval) @propertySet `currentValue` property. Params: propval = The value property of the currently active member of the group to which this action belongs.void group(gtk.radio_action.RadioAction propval) @propertySet `group` property. Params: propval = Sets a new group for a radio action.int value() @propertyGet `value` property. Returns: The value is an arbitrary integer which can be used as a convenient way to determine which action in the group is currently active in an ::activate or ::changed signa...void value(int propval) @propertySet `value` property. Params: propval = The value is an arbitrary integer which can be used as a convenient way to determine which action in the group is currently active in an ::activate or ::chan...int getCurrentValue()Obtains the value property of the currently active member of the group to which action belongs. Returns: The value of the currently active group membergtk.radio_action.RadioAction[] getGroup()Returns the list representing the radio group for this object. Note that the returned list is only valid until the next change to the group.void joinGroup(gtk.radio_action.RadioAction groupSource = null)Joins a radio action object to the group of another radio action object.void setCurrentValue(int currentValue)Sets the currently active group member to the member with value property current_value.void setGroup(gtk.radio_action.RadioAction[] group = null)Sets the radio group for the radio action object.gulong connectChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gtk.radio_action.RadioAction)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gtk.radio_action.RadioAction)))
&& Parameters!T.length < 3)Connect to `Changed` signal.Methods
T currentValue(int propval)Set `currentValue` property. Params: propval = The value property of the currently active member of the group to which this action belongs. Returns: Builder instance for fluent chainingT group(gtk.radio_action.RadioAction propval)Set `group` property. Params: propval = Sets a new group for a radio action. Returns: Builder instance for fluent chainingT value(int propval)Set `value` property. Params: propval = The value is an arbitrary integer which can be used as a convenient way to determine which action in the group is currently active in an ::activate or ::chan...Fluent builder for [gtk.radio_action.RadioAction]
Methods