RadioAction.this

Creates a new gtk.RadioAction object. To add the action to a gtk.ActionGroup and set the accelerator for the action, call Action.groupAddActionWithAccel.

  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 RadioAction.getCurrentValue should return if this action is selected.

Return Value

Throws

ConstructionException GTK+ fails to create the object.

Meta