This widget provides a low level graphical representation of a range of values. It is used by other widgets such as Gtk_Scale and Gtk_Scrollbar.
Widget Hierarchy |
---|
GObject (see section Package Glib.Object) Gtk_Object (see section Package Gtk.Object) \___ Gtk_Widget (see section Package Gtk.Widget) \___ Gtk_Range (see section Package Gtk.Grange) |
Types |
---|
subtype Gtk_GRange is Gtk_Range; | |
|
Subprograms |
---|
function Get_Type return Gtk.Gtk_Type; | ||
Return the internal value associated with a Gtk_Range.
| ||
procedure Set_Update_Policy (The_Range : access Gtk_Range_Record; Policy : Gtk_Update_Type); | ||
Set the update policy for the range. | ||
function Get_Update_Policy (The_Range : access Gtk_Range_Record) return Gtk_Update_Type; | ||
Return the current update policy.
| ||
procedure Set_Adjustment (The_Range : access Gtk_Range_Record; Adjustment : Gtk.Adjustment.Gtk_Adjustment); | ||
Set the adjustment to be used as the "model" object for this range | ||
function Get_Adjustment (The_Range : access Gtk_Range_Record) return Gtk.Adjustment.Gtk_Adjustment; | ||
Return the adjustment associated with the range widget.
| ||
procedure Set_Inverted (The_Range : access Gtk_Range_Record; Setting : Boolean := True); | ||
Ranges normally move from lower to higher values as the slider moves | ||
function Get_Inverted (The_Range : access Gtk_Range_Record) return Boolean; | ||
Return whether the range is inverted.
| ||
procedure Set_Increments (The_Range : access Gtk_Range_Record; Step : Gdouble; Page : Gdouble); | ||
Set the Step and the Page size for the range. The Step size is used when | ||
procedure Set_Range (The_Range : access Gtk_Range_Record; Min : Gdouble; Max : Gdouble); | ||
Set the allowable values in the Gtk_Range, and clamps the range value to | ||
procedure Set_Value (The_Range : access Gtk_Range_Record; Value : Gdouble); | ||
Set the current value of the given Range. If the value is outside the | ||
function Get_Value (The_Range : access Gtk_Range_Record) return Gdouble; | ||
Return the current value of the range.
|