Next: Other Dial Routines, Previous: Dial Types, Up: Dial Object [Contents][Index]
By default, the dial value is returned to the application when the user releases the mouse. It is possible to change this behavior using the following routine
void fl_set_object_return(FL_OBJECT *obj, unsigned int when);
where when can be one of the following
FL_RETURN_NONENever report or invoke callback.
FL_RETURN_END_CHANGEDReturn or invoke callback at end (mouse release) and only if the dial value is changed. This is the default setting.
FL_RETURN_CHANGEDReturn or invoke callback whenever the dial value is changed.
FL_RETURN_ENDReturn or invoke callback at the end regardless if the dial value is changed or not.
FL_RETURN_ALWAYSReturn or invoke callback when value has changed or mouse button has been released.