>
> OK, didn't get a chance for a coffee break, so I did this over lunch
> instead...
>
> Here's the scroll-wheel slider demo:

Very nice, thank you. One question (that I had anyway): if you call value(v) on 
an object the callbacks are disabled, right? (Or probably i should say 
"callbacks are only triggered when...(???) so value(v) does not trigger it").

I am asking because this is different from how GTK works. In GTK the callback 
is being called on every widget change even on "forced changes" eg on 
gtk_toggle_button_set_active(*button, TRUE);.

I like the FLTK-way better because I almost always had to disable callbacks in 
GTK if I set the widgets to a new value.

However, sometimes it is desired to trigger the callback on value(v) changes, 
like in this MouseWheel demo: changing the slider with the wheel has currently 
no effect.

In this case we would just tell FLTK to trigger the callback: ... (your turn) :)


Jan
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to