## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Radio_Action

- Goto spec source

# Description

    package Gtk.Radio_Action is

A Gtk_Radio_Action is similar to Gtk_Radio_Menu_Item. A number of radio actions can be linked together so that only one may be active at any one time.
<see>Gtk_Action</see>

# Packages

### Implements_Buildable (new Glib.Types.Implements)

    package Implements_Buildable is new Glib.Types.Implements
         (Gtk.Buildable.Gtk_Buildable, Gtk_Radio_Action_Record, Gtk_Radio_Action);

# Classes

### Gtk_Radio_Action_Record

- Goto declaration in source

    type Gtk_Radio_Action_Record is new Gtk_Toggle_Action_Record with null record;

#### Ancestors:

Gtk.Toggle_Action.Gtk_Toggle_Action_Record
Gtk.Action.Gtk_Action_Record
Glib.Object.GObject_Record

#### Primitive operations:

Get_Current_Value

- To API doc
- To spec

Get_Group

- To API doc
- To spec

Glib.Object.Deallocate

- To API doc
- To spec

(Inherited)
Glib.Object.Get_Type

- To API doc
- To spec

(Inherited)
Glib.Object.Notify

- To API doc
- To spec

(Inherited)
Glib.Object.Ref

- To API doc
- To spec

(Inherited)
Glib.Object.Ref_Sink

- To API doc
- To spec

(Inherited)
Glib.Object.Unref

- To API doc
- To spec

(Inherited)
Gtk.Action.Activate

- To API doc
- To spec

(Inherited)
Gtk.Action.Block_Activate

- To API doc
- To spec

(Inherited)
Gtk.Action.Block_Activate_From

- To API doc
- To spec

(Inherited)
Gtk.Action.Connect_Accelerator

- To API doc
- To spec

(Inherited)
Gtk.Action.Connect_Proxy

- To API doc
- To spec

(Inherited)
Gtk.Action.Create_Icon

- To API doc
- To spec

(Inherited)
Gtk.Action.Create_Menu

- To API doc
- To spec

(Inherited)
Gtk.Action.Create_Menu_Item

- To API doc
- To spec

(Inherited)
Gtk.Action.Create_Tool_Item

- To API doc
- To spec

(Inherited)
Gtk.Action.Disconnect_Accelerator

- To API doc
- To spec

(Inherited)
Gtk.Action.Disconnect_Proxy

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Accel_Path

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_GIcon

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Icon_Name

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Is_Important

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Label

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Name

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Proxies

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Sensitive

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Short_Label

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Stock_Id

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Tooltip

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Visible

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Visible_Horizontal

- To API doc
- To spec

(Inherited)
Gtk.Action.Get_Visible_Vertical

- To API doc
- To spec

(Inherited)
Gtk.Action.Is_Sensitive

- To API doc
- To spec

(Inherited)
Gtk.Action.Is_Visible

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Accel_Group

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Accel_Path

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_GIcon

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Icon_Name

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Is_Important

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Label

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Sensitive

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Short_Label

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Stock_Id

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Tooltip

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Visible

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Visible_Horizontal

- To API doc
- To spec

(Inherited)
Gtk.Action.Set_Visible_Vertical

- To API doc
- To spec

(Inherited)
Gtk.Action.Unblock_Activate

- To API doc
- To spec

(Inherited)
Gtk.Action.Unblock_Activate_From

- To API doc
- To spec

(Inherited)
Gtk.Toggle_Action.Get_Active

- To API doc
- To spec

(Inherited)
Gtk.Toggle_Action.Get_Draw_As_Radio

- To API doc
- To spec

(Inherited)
Gtk.Toggle_Action.Set_Active

- To API doc
- To spec

(Inherited)
Gtk.Toggle_Action.Set_Draw_As_Radio

- To API doc
- To spec

(Inherited)
Gtk.Toggle_Action.Toggled

- To API doc
- To spec

(Inherited)
Set_Current_Value

- To API doc
- To spec

Set_Group

- To API doc
- To spec

# Types

### Gtk_Radio_Action

- Goto declaration in source

    type Gtk_Radio_Action is access all Gtk_Radio_Action_Record'Class;

# Constants & Global variables

### Current_Value_Property

- Goto declaration in source

(Glib.Properties.Property_Int)

    Current_Value_Property : constant Glib.Properties.Property_Int;

### Group_Property

- Goto declaration in source

(Glib.Properties.Property_Object)

    Group_Property : constant Glib.Properties.Property_Object;

### Value_Property

- Goto declaration in source

(Glib.Properties.Property_Int)

    Value_Property : constant Glib.Properties.Property_Int;

### Signal_Changed

- Goto declaration in source

(Glib.Signal_Name)

    Signal_Changed : constant Glib.Signal_Name := "changed";

# Subprograms & Entries

### Gtk_New

- Goto spec in source

    procedure Gtk_New (Action: out Gtk_Radio_Action;Name: UTF8_String;Label: UTF8_String := "";Tooltip: UTF8_String := "";Stock_Id: UTF8_String := "";Value: Gint);

### Initialize

- Goto spec in source

    procedure Initialize (Action: access Gtk_Radio_Action_Record'Class;Name: UTF8_String;Label: UTF8_String := "";Tooltip: UTF8_String := "";Stock_Id: UTF8_String := "";Value: Gint);

Creates a new Gtk.Radio_Action.Gtk_Radio_Action object. To add the action to a Gtk.Actiongroup.Gtk_Actiongroup and set the accelerator for the action, call Gtk.Action_Group.Add_Action_With_Accel. Since: gtk+ 2.4 "name": A unique name for the action "label": The label displayed in menu items and on buttons, or null "tooltip": A tooltip for this action, or null "stock_id": The stock icon to display in widgets representing this action, or null "value": The value which Gtk.Radio_Action.Get_Current_Value should return if this action is selected.

### Get_Type

- Goto spec in source
- Goto body in source

    function Get_Type return Glib.GType;

### Get_Current_Value

- Goto spec in source

    function Get_Current_Value (Action: access Gtk_Radio_Action_Record) return Gint;

### Set_Current_Value

- Goto spec in source

    procedure Set_Current_Value (Action: access Gtk_Radio_Action_Record;Current_Value: Gint);

Sets the currently active group member to the member with value property Current_Value. Since: gtk+ 2.10 "current_value": the new value

### Get_Group

- Goto spec in source

    function Get_Group (Action: access Gtk_Radio_Action_Record) return Gtk.Widget.Widget_SList.GSList;

### Set_Group

- Goto spec in source

    procedure Set_Group (Action: access Gtk_Radio_Action_Record;Group: Gtk.Widget.Widget_SList.GSList);

Sets the radio group for the radio action object. A common way to set up a group of radio group is the following: Group : GSlist := null; Action : Gtk_Radio_Action; while ... loop Gtk_New (Action, ...); Set_Group (Action, Group); Group := Get_Group (Action); end loop; Since: gtk+ 2.4 "group": a list representing a radio group

### +

- Goto spec in source

    function "+" (Widget: access Gtk_Radio_Action_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Buildable.To_Interface;

### -

- Goto spec in source

    function "-" (Interf: Gtk.Buildable.Gtk_Buildable) return Gtk_Radio_Action renames Implements_Buildable.To_Object;