package Gtk.Switch is
package Implements_Gtk_Actionable is new Glib.Types.Implements (Gtk.Actionable.Gtk_Actionable, Gtk_Switch_Record, Gtk_Switch);
package Implements_Gtk_Activatable is new Glib.Types.Implements (Gtk.Activatable.Gtk_Activatable, Gtk_Switch_Record, Gtk_Switch);
package Implements_Gtk_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Switch_Record, Gtk_Switch);
type Gtk_Switch_Record is new Gtk_Widget_Record with null record;
type Gtk_Switch is access all Gtk_Switch_Record'Class;
type Cb_Gtk_Switch_Void is not null access procedure (Self : access Gtk_Switch_Record'Class);
type Cb_GObject_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class);
Active_Property : constant Glib.Properties.Property_Boolean;
Signal_Activate : constant Glib.Signal_Name := "activate";
procedure Gtk_New
( | Self | : out Gtk_Switch); |
procedure Initialize
( | Self | : not null access Gtk_Switch_Record'Class); |
function Gtk_Switch_New return Gtk_Switch;
function Get_Type return Glib.GType;
function Get_Active
( | Self | : not null access Gtk_Switch_Record) return Boolean; |
procedure Set_Active
( | Self | : not null access Gtk_Switch_Record; |
Is_Active | : Boolean); |
function Get_Action_Name
( | Self | : not null access Gtk_Switch_Record) return UTF8_String; |
procedure Set_Action_Name
( | Self | : not null access Gtk_Switch_Record; |
Action_Name | : UTF8_String); |
function Get_Action_Target_Value
( | Self | : not null access Gtk_Switch_Record) return Glib.Variant.Gvariant; |
procedure Set_Action_Target_Value
( | Self | : not null access Gtk_Switch_Record; |
Target_Value | : Glib.Variant.Gvariant); |
procedure Set_Detailed_Action_Name
( | Self | : not null access Gtk_Switch_Record; |
Detailed_Action_Name | : UTF8_String); |
procedure Do_Set_Related_Action
( | Self | : not null access Gtk_Switch_Record; |
Action | : not null access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Related_Action
( | Self | : not null access Gtk_Switch_Record) return Gtk.Action.Gtk_Action; |
procedure Set_Related_Action
( | Self | : not null access Gtk_Switch_Record; |
Action | : not null access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Use_Action_Appearance
( | Self | : not null access Gtk_Switch_Record) return Boolean; |
procedure Set_Use_Action_Appearance
( | Self | : not null access Gtk_Switch_Record; |
Use_Appearance | : Boolean); |
procedure Sync_Action_Properties
( | Self | : not null access Gtk_Switch_Record; |
Action | : access Gtk.Action.Gtk_Action_Record'Class); |
procedure On_Activate
( | Self | : not null access Gtk_Switch_Record; |
Call | : Cb_Gtk_Switch_Void; | |
After | : Boolean := False); |
procedure On_Activate
( | Self | : not null access Gtk_Switch_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
function "+"
( | Widget | : access Gtk_Switch_Record'Class) return Gtk.Actionable.Gtk_Actionable renames Implements_Gtk_Actionable.To_Interface; |
function "-"
( | Interf | : Gtk.Actionable.Gtk_Actionable) return Gtk_Switch renames Implements_Gtk_Actionable.To_Object; |
function "+"
( | Widget | : access Gtk_Switch_Record'Class) return Gtk.Activatable.Gtk_Activatable renames Implements_Gtk_Activatable.To_Interface; |
function "-"
( | Interf | : Gtk.Activatable.Gtk_Activatable) return Gtk_Switch renames Implements_Gtk_Activatable.To_Object; |
function "+"
( | Widget | : access Gtk_Switch_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Gtk_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Switch renames Implements_Gtk_Buildable.To_Object; |