RadioAction.this

Creates a new #GtkRadioAction object. To add the action to a #GtkActionGroup and set the accelerator for the action, call gtk_action_group_add_action_with_accel().

  1. this(GtkRadioAction* gtkRadioAction, bool ownedRef)
  2. this(string name, string label, string tooltip, StockID stockId, int value)
  3. this(string name, string label, string tooltip, string stockId, int value)
    class RadioAction
    this
    (
    string name
    ,
    string label
    ,
    string tooltip
    ,
    string stockId
    ,
    int value
    )

Parameters

name string

A unique name for the action

label string

The label displayed in menu items and on buttons, or %NULL

tooltip string

A tooltip for this action, or %NULL

stockId string

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

value int

The value which gtk_radio_action_get_current_value() should return if this action is selected.

Return: a new #GtkRadioAction

Throws

ConstructionException GTK+ fails to create the object.

Meta