RadioAction.this

Creates a new RadioAction object. To add the action to a ActionGroup and set the accelerator for the action, call gtk.ActionGroup.ActionGroup.addActionWithAccel().

  1. this(GtkRadioAction* gtkRadioAction, bool ownedRef)
  2. this(string name, string label, string tooltip, StockID stockId, int value)
    class RadioAction
    this
    (
    string name
    ,
    string label
    ,
    string tooltip
    ,,
    int value
    )
  3. 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 StockID

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

value int

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

Throws

ConstructionException GTK+ fails to create the object.

Meta