package Gtk.Ruler is
package Implements_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Ruler_Record, Gtk_Ruler);
package Implements_Orientable is new Glib.Types.Implements (Gtk.Orientable.Gtk_Orientable, Gtk_Ruler_Record, Gtk_Ruler);
type Gtk_Ruler_Record is new Gtk_Widget_Record with null record;
type Gtk_Ruler is access all Gtk_Ruler_Record'Class;
subtype Gtk_Vruler_Record is Gtk_Ruler_Record;
subtype Gtk_Vruler is Gtk_Ruler;
subtype Gtk_Hruler_Record is Gtk_Ruler_Record;
subtype Gtk_Hruler is Gtk_Ruler;
Lower_Property : constant Glib.Properties.Property_Double;
Max_Size_Property : constant Glib.Properties.Property_Double;
Metric_Property : constant Gtk.Enums.Property_Metric_Type;
Position_Property : constant Glib.Properties.Property_Double;
Upper_Property : constant Glib.Properties.Property_Double;
function Get_Type return Glib.GType;
procedure Gtk_New_Vruler
( | Ruler | : out Gtk_Vruler); |
procedure Initialize_Vruler
( | Ruler | : access Gtk_Vruler_Record'Class); |
function Vruler_Get_Type return Glib.GType;
procedure Gtk_New_Hruler
( | Ruler | : out Gtk_Hruler); |
procedure Initialize_Hruler
( | Ruler | : access Gtk_Hruler_Record'Class); |
function Hruler_Get_Type return Glib.GType;
procedure Draw_Pos
( | Ruler | : access Gtk_Ruler_Record); |
procedure Draw_Ticks
( | Ruler | : access Gtk_Ruler_Record); |
function Get_Metric
( | Ruler | : access Gtk_Ruler_Record) return Gtk.Enums.Gtk_Metric_Type; |
procedure Set_Metric
( | Ruler | : access Gtk_Ruler_Record; |
Metric | : Gtk.Enums.Gtk_Metric_Type); |
procedure Get_Range
( | Ruler | : access Gtk_Ruler_Record; |
Lower | : out Gdouble; | |
Upper | : out Gdouble; | |
Position | : out Gdouble; | |
Max_Size | : out Gdouble); |
procedure Set_Range
( | Ruler | : access Gtk_Ruler_Record; |
Lower | : Gdouble; | |
Upper | : Gdouble; | |
Position | : Gdouble; | |
Max_Size | : Gdouble); |
function Get_Orientation
( | Self | : access Gtk_Ruler_Record) return Gtk.Enums.Gtk_Orientation; |
procedure Set_Orientation
( | Self | : access Gtk_Ruler_Record; |
Orientation | : Gtk.Enums.Gtk_Orientation); |
function "+"
( | Widget | : access Gtk_Ruler_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Ruler renames Implements_Buildable.To_Object; |
function "+"
( | Widget | : access Gtk_Ruler_Record'Class) return Gtk.Orientable.Gtk_Orientable renames Implements_Orientable.To_Interface; |
function "-"
( | Interf | : Gtk.Orientable.Gtk_Orientable) return Gtk_Ruler renames Implements_Orientable.To_Object; |