Package: gtk

Class gtk-adjustment

Superclasses

g-initially-unowned, 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
Since 2.4
page-increment
The "page-increment" property of type :double (Read / Write)
The page increment of the adjustment.
Default value: 0
Since 2.4
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, e. g. in a gtk-spin-button.
Default value: 0
Since 2.4
step-increment
The "step-increment" property of type :double (Read / Write)
The step increment of the adjustment.
Default value: 0
Since 2.4
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
Since 2.4
value
The "value" property of type :double (Read / Write)
The value of the adjustment.
Default value: 0
Since 2.4

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 GTK+ widgets, including gtk-spin-button, gtk-viewport, and gtk-range (which is a base class for gtk-hscrollbar, gtk-vscrollbar, gtk-hscale, and gtk-vscale).

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

The owner of the gtk-adjustment typically calls the the functions gtk-adjustment-value-changed and gtk-adjustment-changed functions after changing the value and its bounds. This results in the emission of the "value_changed" or "changed" signal respectively.

Signal Details

The "changed" signal
 lambda (adjustment)   : No Recursion      
Emitted when one or more of the gtk-adjustment fields have been changed, other than the value field.
adjustment
The object which received the signal.
The "value-changed" signal
 lambda (adjustment)   : No Recursion      
Emitted when the gtk-adjustment value field has been changed.
adjustment
The object which received the signal.
 

Slot Access Functions

Inherited Slot Access Functions

2013-5-23