Package: gtk

Class gtk-adjustment

Superclasses

g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

lower
The lower property of type :double (Read / Write)
The minimum value of the adjustment.
Default value: 0.0
page-increment
The page-increment property of type :double (Read / Write)
The page increment of the adjustment.
Default value: 0.0
page-size
The page-size property of type :double (Read / Write)
The page size of the adjustment. Note that the page size is irrelevant and should be set to zero if the adjustment is used for a simple scalar value.
Default value: 0.0
step-increment
The step-increment property of type :double (Read / Write)
The step increment of the adjustment.
Default value: 0.0
upper
The upper property of type :double (Read / Write)
The maximum value of the adjustment. Note that values will be restricted by upper - page-size if the page-size property is nonzero.
Default value: 0.0
value
The value property of type :double (Read / Write)
The value of the adjustment.
Default value: 0.0

Details

The gtk-adjustment object represents a value which has an associated lower and upper bound, together with step and page increments, and a page size. It is used within several widgets, including the gtk-spin-button, gtk-viewport, and gtk-range widget, which is a base class for the gtk-scrollbar, and gtk-scale widgets.

The gtk-adjustment object does not update the value itself. Instead it is left up to the owner of the gtk-adjustment object to control the value.

Signal Details

The "changed" signal
 lambda (adjustment)    :no-recurse      
Emitted when one or more of the adjustment properties have been changed, other than the value property.
adjustment
The gtk-adjustment object which received the signal.
The "value-changed" signal
 lambda (adjustment)    :no-recurse      
Emitted when the value property of the adjustment has been changed.
adjustment
The gtk-adjustment object which received the signal.
 

Slot Access Functions

Inherited Slot Access Functions

See also

*2021-12-18