well, thank you all for your answers... i think i have thought of all possible
ways to get things done, thanks to you, but none of them really satsisfies me...
so what i simply did, is add a 'run' button, right next to my "filtering
options" button...
now the user chooses filtering options, once it's done (filterWindow is
closed), he hits the run button, and the callback is implemented in my main gui
class, so everything's fine...
that way the user even keeps the filtering parameters, and can run the filter
many times just with this "run" button...
much more easy to deal with, and not a problem regarding UI design...
anyway, thanks for your help; i didn't think fltk was still that much alive;
i'll keep asking for help here, i'm pretty sure i'm gonna need some later ;-)
> Albrecht Schlosser wrote:
>
> correction:
>
> >> void filterWindow::run_cb()
> >> {
> >
> hide(); // must be here !
> > window_->RunFilter(this->filter_params());
> >
> > // this-> is only for clarity.
> >
> // remove this:
> > hide(); // close parameter window.
> >
> >> }
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk