type Gtk_Ruler_Record is new Gtk.Widget.Gtk_Widget_Record with private;
subtype Gtk_Hruler_Record is Gtk_Ruler_Record;
subtype Gtk_Vruler_Record is Gtk_Ruler_Record;
type Gtk_Ruler is access all Gtk_Ruler_Record'Class;
subtype Gtk_Hruler is Gtk_Ruler;
subtype Gtk_Vruler 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;
procedure Gtk_New_Hruler
( | Ruler | : out Gtk_Ruler); |
procedure Initialize_Hruler
( | Ruler | : access Gtk_Ruler_Record'Class); |
procedure Gtk_New_Vruler
( | Ruler | : out Gtk_Ruler); |
procedure Initialize_Vruler
( | Ruler | : access Gtk_Ruler_Record'Class); |
function Get_Type return Gtk.Gtk_Type;
function Hruler_Get_Type return Gtk.Gtk_Type;
function Vruler_Get_Type return Gtk.Gtk_Type;
procedure Set_Metric
( | Ruler | : access Gtk_Ruler_Record; |
Metric | : Gtk_Metric_Type); |
function Get_Metric
( | Ruler | : access Gtk_Ruler_Record) return Gtk_Metric_Type; |
procedure Set_Range
( | Ruler | : access Gtk_Ruler_Record; |
Lower | : Gdouble; | |
Upper | : Gdouble; | |
Position | : Gdouble; | |
Max_Size | : Gdouble); |
procedure Get_Range
( | Ruler | : access Gtk_Ruler_Record; |
Lower | : out Gdouble; | |
Upper | : out Gdouble; | |
Position | : out Gdouble; | |
Max_Size | : out Gdouble); |
procedure Draw_Ticks
( | Ruler | : access Gtk_Ruler_Record); |
Binding from C File version 2.8.17
<testgtk>create_rulers.adb</testgtk>