type Gtk_Radio_Button_Record is new Check_Button.Gtk_Check_Button_Record with private;
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 | : Widget_SList.GSlist := Widget_SList.Null_List; | |
Label | : UTF8_String := ""); |
procedure Initialize
( | Radio_Button | : access Gtk_Radio_Button_Record'Class; |
Group | : Widget_SList.GSlist; | |
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 | : Widget_SList.GSlist := Widget_SList.Null_List; | |
Label | : UTF8_String); |
procedure Initialize_With_Mnemonic
( | Radio_Button | : access Gtk_Radio_Button_Record'Class; |
Group | : Widget_SList.GSlist; | |
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 Gtk.Gtk_Type;
procedure Set_Group
( | Radio_Button | : access Gtk_Radio_Button_Record; |
Group | : Widget_SList.GSlist); |
function Get_Group
( | Radio_Button | : access Gtk_Radio_Button_Record) return Widget_SList.GSlist; |
function Group
( | Radio_Button | : access Gtk_Radio_Button_Record) return Widget_SList.GSlist renames Get_Group; |
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
Binding from C File version 2.8.17