Hello Greg, thank you for the answer.

> for ( int t=1; t<=browser->size(); t++ ) {
>     if ( browser->selected(t) ) {
>      printf("%d) '%s'\n", t, browser->text(t));
>     }

In this case, the "selected" method is the key, but i hadn't find it in the 
documentation on the website, for fltk 1.1.x (the one i use). Probably just 
an oversight.
It's present in the doxygen documentation for fltk 2, though, and of course 
in the Fl_Browser.H

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

Reply via email to