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(). Since 2.4

  1. this(GtkRadioAction* gtkRadioAction)
  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. [allow-none]

tooltip string

A tooltip for this action, or NULL. [allow-none]

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.

Throws

ConstructionException GTK+ fails to create the object.

Meta