package Implements_Gtk_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Hsv_Record, Gtk_Hsv);
type Gtk_Hsv_Record is new Gtk_Widget_Record with null record;
type Gtk_Hsv is access all Gtk_Hsv_Record'Class;
type Cb_Gtk_Hsv_Void is not null access procedure (Self : access Gtk_Hsv_Record'Class);
type Cb_GObject_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class);
type Cb_Gtk_Hsv_Gtk_Direction_Type_Void is not null access procedure (Self : access Gtk_Hsv_Record'Class; Object : Gtk.Enums.Gtk_Direction_Type);
type Cb_GObject_Gtk_Direction_Type_Void is not null access procedure (Self : access Glib.Object.GObject_Record'Class; Object : Gtk.Enums.Gtk_Direction_Type);
Signal_Changed : constant Glib.Signal_Name := "changed";
Signal_Move : constant Glib.Signal_Name := "move";
procedure Gtk_New
( | Self | : out Gtk_Hsv); |
procedure Initialize
( | Self | : not null access Gtk_Hsv_Record'Class); |
function Get_Type return Glib.GType;
procedure Get_Color
( | Self | : not null access Gtk_Hsv_Record; |
H | : out Gdouble; | |
S | : out Gdouble; | |
V | : out Gdouble); |
procedure Set_Color
( | Self | : not null access Gtk_Hsv_Record; |
H | : Gdouble; | |
S | : Gdouble; | |
V | : Gdouble); |
procedure Get_Metrics
( | Self | : not null access Gtk_Hsv_Record; |
Size | : out Gint; | |
Ring_Width | : out Gint); |
procedure Set_Metrics
( | Self | : not null access Gtk_Hsv_Record; |
Size | : Gint; | |
Ring_Width | : Gint); |
function Is_Adjusting
( | Self | : not null access Gtk_Hsv_Record) return Boolean; |
procedure On_Changed
( | Self | : not null access Gtk_Hsv_Record; |
Call | : Cb_Gtk_Hsv_Void; | |
After | : Boolean := False); |
procedure On_Changed
( | Self | : not null access Gtk_Hsv_Record; |
Call | : Cb_GObject_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
procedure On_Move
( | Self | : not null access Gtk_Hsv_Record; |
Call | : Cb_Gtk_Hsv_Gtk_Direction_Type_Void; | |
After | : Boolean := False); |
procedure On_Move
( | Self | : not null access Gtk_Hsv_Record; |
Call | : Cb_GObject_Gtk_Direction_Type_Void; | |
Slot | : not null access Glib.Object.GObject_Record'Class; | |
After | : Boolean := False); |
function "+"
( | Widget | : access Gtk_Hsv_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Gtk_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Hsv renames Implements_Gtk_Buildable.To_Object; |
Gtk.Hsv.Gtk_Hsv is the 'color wheel' part of a complete color selector widget. It allows to select a color by determining its HSV components in an intuitive way. Moving the selection around the outer ring changes the hue, and moving the selection point inside the inner triangle changes value and saturation.
Gtk.Hsv.Gtk_Hsv has been deprecated together with Gtk.Color_Selection.Gtk_Color_Selection, where it was used.