package Gtk.Scale is
package Implements_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Scale_Record, Gtk_Scale);
package Implements_Orientable is new Glib.Types.Implements (Gtk.Orientable.Gtk_Orientable, Gtk_Scale_Record, Gtk_Scale);
type Gtk_Scale_Record is new Gtk_Range_Record with null record;
type Gtk_Scale is access all Gtk_Scale_Record'Class;
subtype Gtk_Hscale_Record is Gtk_Scale_Record;
subtype Gtk_Hscale is Gtk_Scale;
subtype Gtk_Vscale_Record is Gtk_Scale_Record;
subtype Gtk_Vscale is Gtk_Scale;
Number_Of_Digits_Property : constant Glib.Properties.Property_Int;
Draw_Value_Property : constant Glib.Properties.Property_Boolean;
Value_Pos_Property : constant Gtk.Enums.Property_Gtk_Position_Type;
Signal_Format_Value : constant Glib.Signal_Name := "format-value";
function Get_Type return Glib.GType;
procedure Gtk_New_Hscale
( | Scale | : out Gtk_Hscale; |
Adjustment | : Gtk.Adjustment.Gtk_Adjustment := null); |
procedure Initialize_Hscale
( | Scale | : access Gtk_Hscale_Record'Class; |
Adjustment | : Gtk.Adjustment.Gtk_Adjustment := null); |
procedure Gtk_New_Hscale
( | Scale | : out Gtk_Hscale; |
Min | : Gdouble; | |
Max | : Gdouble; | |
Step | : Gdouble); |
procedure Initialize_Hscale
( | Scale | : access Gtk_Hscale_Record'Class; |
Min | : Gdouble; | |
Max | : Gdouble; | |
Step | : Gdouble); |
function Hscale_Get_Type return Glib.GType;
procedure Gtk_New_Vscale
( | Scale | : out Gtk_Vscale; |
Adjustment | : Gtk.Adjustment.Gtk_Adjustment := null); |
procedure Initialize_Vscale
( | Scale | : access Gtk_Vscale_Record'Class; |
Adjustment | : Gtk.Adjustment.Gtk_Adjustment := null); |
procedure Gtk_New_Vscale
( | Scale | : out Gtk_Vscale; |
Min | : Gdouble; | |
Max | : Gdouble; | |
Step | : Gdouble); |
procedure Initialize_Vscale
( | Scale | : access Gtk_Vscale_Record'Class; |
Min | : Gdouble; | |
Max | : Gdouble; | |
Step | : Gdouble); |
function Vscale_Get_Type return Glib.GType;
procedure Add_Mark
( | Scale | : access Gtk_Scale_Record; |
Value | : Gdouble; | |
Position | : Gtk.Enums.Gtk_Position_Type; | |
Markup | : UTF8_String); |
procedure Clear_Marks
( | Scale | : access Gtk_Scale_Record); |
function Get_Digits
( | Scale | : access Gtk_Scale_Record) return Gint; |
procedure Set_Digits
( | Scale | : access Gtk_Scale_Record; |
Number_Of_Digits | : Gint); |
function Get_Draw_Value
( | Scale | : access Gtk_Scale_Record) return Boolean; |
procedure Set_Draw_Value
( | Scale | : access Gtk_Scale_Record; |
Draw_Value | : Boolean); |
function Get_Layout
( | Scale | : access Gtk_Scale_Record) return Pango.Layout.Pango_Layout; |
procedure Get_Layout_Offsets
( | Scale | : access Gtk_Scale_Record; |
X | : out Gint; | |
Y | : out Gint); |
function Get_Value_Pos
( | Scale | : access Gtk_Scale_Record) return Gtk.Enums.Gtk_Position_Type; |
procedure Set_Value_Pos
( | Scale | : access Gtk_Scale_Record; |
Pos | : Gtk.Enums.Gtk_Position_Type); |
function Get_Orientation
( | Self | : access Gtk_Scale_Record) return Gtk.Enums.Gtk_Orientation; |
procedure Set_Orientation
( | Self | : access Gtk_Scale_Record; |
Orientation | : Gtk.Enums.Gtk_Orientation); |
function "+"
( | Widget | : access Gtk_Scale_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Scale renames Implements_Buildable.To_Object; |
function "+"
( | Widget | : access Gtk_Scale_Record'Class) return Gtk.Orientable.Gtk_Orientable renames Implements_Orientable.To_Interface; |
function "-"
( | Interf | : Gtk.Orientable.Gtk_Orientable) return Gtk_Scale renames Implements_Orientable.To_Object; |