Class
GtkAdjustment
Description [src]
class Gtk.Adjustment : GObject.InitiallyUnowned
{
/* No available fields */
}
A model for a numeric value.
The GtkAdjustment
has an associated lower and upper bound.
It also contains step and page increments, and a page size.
Adjustments are used within several GTK widgets, including
GtkSpinButton
, GtkViewport
, GtkScrollbar
and GtkScale
.
The GtkAdjustment
object does not update the value itself. Instead
it is left up to the owner of the GtkAdjustment
to control the value.
Instance methods
gtk_adjustment_clamp_page
Updates the value of the adjustment to ensure that the given range is contained in the current page.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct GtkAdjustmentClass {
GInitiallyUnownedClass parent_class;
void (* changed) (
GtkAdjustment* adjustment
);
void (* value_changed) (
GtkAdjustment* adjustment
);
void (* _gtk_reserved1) (
void
);
void (* _gtk_reserved2) (
void
);
void (* _gtk_reserved3) (
void
);
void (* _gtk_reserved4) (
void
);
}
No description available.
Class members
parent_class: GInitiallyUnownedClass
No description available.
changed: void (* changed) ( GtkAdjustment* adjustment )
No description available.
value_changed: void (* value_changed) ( GtkAdjustment* adjustment )
No description available.
_gtk_reserved1: void (* _gtk_reserved1) ( void )
No description available.
_gtk_reserved2: void (* _gtk_reserved2) ( void )
No description available.
_gtk_reserved3: void (* _gtk_reserved3) ( void )
No description available.
_gtk_reserved4: void (* _gtk_reserved4) ( void )
No description available.