package Gtk.Color_Button is
package Implements_Gtk_Actionable is new Glib.Types.Implements (Gtk.Actionable.Gtk_Actionable, Gtk_Color_Button_Record, Gtk_Color_Button);
package Implements_Gtk_Activatable is new Glib.Types.Implements (Gtk.Activatable.Gtk_Activatable, Gtk_Color_Button_Record, Gtk_Color_Button);
package Implements_Gtk_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Color_Button_Record, Gtk_Color_Button);
package Implements_Gtk_Color_Chooser is new Glib.Types.Implements (Gtk.Color_Chooser.Gtk_Color_Chooser, Gtk_Color_Button_Record, Gtk_Color_Button);
type Gtk_Color_Button_Record is new Gtk_Button_Record with null record;
type Gtk_Color_Button is access all Gtk_Color_Button_Record'Class;
type Cb_Gtk_Color_Button_Void is not null access procedure (Self : access Gtk_Color_Button_Record'Class);
type Cb_GObject_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class);
Alpha_Property : constant Glib.Properties.Property_Uint;
Color_Property : constant Gdk.Color.Property_Gdk_Color;
Rgba_Property : constant Gdk.RGBA.Property_RGBA;
Title_Property : constant Glib.Properties.Property_String;
Use_Alpha_Property : constant Glib.Properties.Property_Boolean;
Signal_Color_Set : constant Glib.Signal_Name := "color-set";
procedure Gtk_New
( | Button | : out Gtk_Color_Button); |
procedure Initialize
( | Button | : not null access Gtk_Color_Button_Record'Class); |
function Gtk_Color_Button_New return Gtk_Color_Button;
procedure Gtk_New_With_Color
( | Button | : out Gtk_Color_Button; |
Color | : Gdk.Color.Gdk_Color); |
procedure Initialize_With_Color
( | Button | : not null access Gtk_Color_Button_Record'Class; |
Color | : Gdk.Color.Gdk_Color); |
function Gtk_Color_Button_New_With_Color
( | Color | : Gdk.Color.Gdk_Color) return Gtk_Color_Button; |
procedure Gtk_New_With_Rgba
( | Button | : out Gtk_Color_Button; |
Rgba | : Gdk.RGBA.Gdk_RGBA); |
procedure Initialize_With_Rgba
( | Button | : not null access Gtk_Color_Button_Record'Class; |
Rgba | : Gdk.RGBA.Gdk_RGBA); |
function Gtk_Color_Button_New_With_Rgba
( | Rgba | : Gdk.RGBA.Gdk_RGBA) return Gtk_Color_Button; |
function Get_Type return Glib.GType;
function Get_Alpha
( | Button | : not null access Gtk_Color_Button_Record) return Guint16; |
procedure Set_Alpha
( | Button | : not null access Gtk_Color_Button_Record; |
Alpha | : Guint16); |
procedure Get_Color
( | Button | : not null access Gtk_Color_Button_Record; |
Color | : out Gdk.Color.Gdk_Color); |
procedure Set_Color
( | Button | : not null access Gtk_Color_Button_Record; |
Color | : Gdk.Color.Gdk_Color); |
function Get_Title
( | Button | : not null access Gtk_Color_Button_Record) return UTF8_String; |
procedure Set_Title
( | Button | : not null access Gtk_Color_Button_Record; |
Title | : UTF8_String); |
function Get_Action_Name
( | Self | : not null access Gtk_Color_Button_Record) return UTF8_String; |
procedure Set_Action_Name
( | Self | : not null access Gtk_Color_Button_Record; |
Action_Name | : UTF8_String); |
function Get_Action_Target_Value
( | Self | : not null access Gtk_Color_Button_Record) return Glib.Variant.Gvariant; |
procedure Set_Action_Target_Value
( | Self | : not null access Gtk_Color_Button_Record; |
Target_Value | : Glib.Variant.Gvariant); |
procedure Set_Detailed_Action_Name
( | Self | : not null access Gtk_Color_Button_Record; |
Detailed_Action_Name | : UTF8_String); |
procedure Do_Set_Related_Action
( | Self | : not null access Gtk_Color_Button_Record; |
Action | : not null access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Related_Action
( | Self | : not null access Gtk_Color_Button_Record) return Gtk.Action.Gtk_Action; |
procedure Set_Related_Action
( | Self | : not null access Gtk_Color_Button_Record; |
Action | : not null access Gtk.Action.Gtk_Action_Record'Class); |
function Get_Use_Action_Appearance
( | Self | : not null access Gtk_Color_Button_Record) return Boolean; |
procedure Set_Use_Action_Appearance
( | Self | : not null access Gtk_Color_Button_Record; |
Use_Appearance | : Boolean); |
procedure Sync_Action_Properties
( | Self | : not null access Gtk_Color_Button_Record; |
Action | : access Gtk.Action.Gtk_Action_Record'Class); |
procedure Add_Palette
( | Self | : not null access Gtk_Color_Button_Record; |
Orientation | : Gtk.Enums.Gtk_Orientation; | |
Colors_Per_Line | : Gint; | |
N_Colors | : Gint; | |
Colors | : array_of_Gdk_RGBA); |
procedure Get_Rgba
( | Self | : not null access Gtk_Color_Button_Record; |
Color | : out Gdk.RGBA.Gdk_RGBA); |
procedure Set_Rgba
( | Self | : not null access Gtk_Color_Button_Record; |
Color | : Gdk.RGBA.Gdk_RGBA); |
function Get_Use_Alpha
( | Self | : not null access Gtk_Color_Button_Record) return Boolean; |
procedure Set_Use_Alpha
( | Self | : not null access Gtk_Color_Button_Record; |
Use_Alpha | : Boolean); |
procedure On_Color_Set
( | Self | : not null access Gtk_Color_Button_Record; |
Call | : Cb_Gtk_Color_Button_Void; | |
After | : Boolean := False); |
procedure On_Color_Set
( | Self | : not null access Gtk_Color_Button_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
function "+"
( | Widget | : access Gtk_Color_Button_Record'Class) return Gtk.Actionable.Gtk_Actionable renames Implements_Gtk_Actionable.To_Interface; |
function "-"
( | Interf | : Gtk.Actionable.Gtk_Actionable) return Gtk_Color_Button renames Implements_Gtk_Actionable.To_Object; |
function "+"
( | Widget | : access Gtk_Color_Button_Record'Class) return Gtk.Activatable.Gtk_Activatable renames Implements_Gtk_Activatable.To_Interface; |
function "-"
( | Interf | : Gtk.Activatable.Gtk_Activatable) return Gtk_Color_Button renames Implements_Gtk_Activatable.To_Object; |
function "+"
( | Widget | : access Gtk_Color_Button_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Gtk_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Color_Button renames Implements_Gtk_Buildable.To_Object; |
function "+"
( | Widget | : access Gtk_Color_Button_Record'Class) return Gtk.Color_Chooser.Gtk_Color_Chooser renames Implements_Gtk_Color_Chooser.To_Interface; |
function "-"
( | Interf | : Gtk.Color_Chooser.Gtk_Color_Chooser) return Gtk_Color_Button renames Implements_Gtk_Color_Chooser.To_Object; |