| Did you know ... | Search Documentation: |
| Instance variables |
|real|function->restore.<-message
will be activated on each drag-event received by the slider. Otherwise, dialog_item<-message
will only be sent when the mouse-button is released.
Defaults: @off (only send at mouse-up).
printf() call (see also
string->format).
The default format for floating point values is %f and for integers %d.
The following defines a slider in 0.01 steps
from 0.0 .. 1.0:
?- new(S, slider(value, 0.0, 1.0, 0.5)), send(S, format, '%.2f').
|real<-low
this variable describes the (including) range.
-selection -low<-label
if slider<-show_label
equals @on.
-show_label|real<->selection.
See slider->high.
-selection -high|real<-low <= slider<-selection <= slider<-high.
-high -low<-label
of the slider is printed at the left-side in
dialog_item<-label_font.
Defaults: @on
-show_value -label_font<-value_font.
Defaults: @on
-value_font -show_label-show_valueDefaults: 200 pixels.