package Implements_Activatable is new Glib.Types.Implements (Gtk.Activatable.Gtk_Activatable, Gtk_Radio_Button_Record, Gtk_Radio_Button);
package Implements_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Radio_Button_Record, Gtk_Radio_Button);
type Gtk_Radio_Button_Record is new Gtk_Check_Button_Record with null record;
type Gtk_Radio_Button is access all Gtk_Radio_Button_Record'Class;
Group_Property : constant Glib.Properties.Property_Object;
Signal_Group_Changed : constant Glib.Signal_Name := "group-changed";
procedure Gtk_New
( | Radio_Button | : out Gtk_Radio_Button; |
Group | : Gtk.Widget.Widget_SList.GSlist := Widget_SList.Null_List; | |
Label | : UTF8_String := ""); |
procedure Initialize
( | Radio_Button | : access Gtk_Radio_Button_Record'Class; |
Group | : Gtk.Widget.Widget_SList.GSlist := Widget_SList.Null_List; | |
Label | : UTF8_String := ""); |
procedure Gtk_New
( | Radio_Button | : out Gtk_Radio_Button; |
Group | : Gtk_Radio_Button; | |
Label | : UTF8_String := ""); |
procedure Initialize
( | Radio_Button | : access Gtk_Radio_Button_Record'Class; |
Group | : Gtk_Radio_Button; | |
Label | : UTF8_String := ""); |
procedure Gtk_New_With_Mnemonic
( | Radio_Button | : out Gtk_Radio_Button; |
Group | : Gtk.Widget.Widget_SList.GSlist := Widget_SList.Null_List; | |
Label | : UTF8_String); |
procedure Initialize_With_Mnemonic
( | Radio_Button | : access Gtk_Radio_Button_Record'Class; |
Group | : Gtk.Widget.Widget_SList.GSlist := Widget_SList.Null_List; | |
Label | : UTF8_String); |
procedure Gtk_New_With_Mnemonic
( | Radio_Button | : out Gtk_Radio_Button; |
Group | : Gtk_Radio_Button; | |
Label | : UTF8_String); |
procedure Initialize_With_Mnemonic
( | Radio_Button | : access Gtk_Radio_Button_Record'Class; |
Group | : Gtk_Radio_Button; | |
Label | : UTF8_String); |
function Get_Type return Glib.GType;
function Get_Group
( | Radio_Button | : access Gtk_Radio_Button_Record) return Gtk.Widget.Widget_SList.GSlist; |
procedure Set_Group
( | Radio_Button | : access Gtk_Radio_Button_Record; |
Group | : Gtk.Widget.Widget_SList.GSlist); |
procedure Do_Set_Related_Action
( | Self | : access Gtk_Radio_Button_Record; |
Action | : access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Related_Action
( | Self | : access Gtk_Radio_Button_Record) return Gtk.Action.Gtk_Action; |
procedure Set_Related_Action
( | Self | : access Gtk_Radio_Button_Record; |
Action | : access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Use_Action_Appearance
( | Self | : access Gtk_Radio_Button_Record) return Boolean; |
procedure Set_Use_Action_Appearance
( | Self | : access Gtk_Radio_Button_Record; |
Use_Appearance | : Boolean); |
procedure Sync_Action_Properties
( | Self | : access Gtk_Radio_Button_Record; |
Action | : access Gtk.Action.Gtk_Action_Record'Class); |
function "+"
( | Widget | : access Gtk_Radio_Button_Record'Class) return Gtk.Activatable.Gtk_Activatable renames Implements_Activatable.To_Interface; |
function "-"
( | Interf | : Gtk.Activatable.Gtk_Activatable) return Gtk_Radio_Button renames Implements_Activatable.To_Object; |
function "+"
( | Widget | : access Gtk_Radio_Button_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Radio_Button renames Implements_Buildable.To_Object; |
A Gtk_Radio_Button is a simple button that has two states, like a Gtk_Toggle_Button. However, Gtk_Radio_Buttons can be grouped together to get a special behavior: only one button in the group can be active at any given time. Thus, when the user selects one of the buttons from the group, the button that was previously selected is disabled.
The radio buttons always belongs to a group, even if there is only one in this group.