jseb wrote:
> 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.

        Yes, it appears to be an omission in the docs for Fl_Browser.

        It /is/ documented in Fl_Multi_Browser though:
        
http://fltk.org/documentation.php/doc-1.1/Fl_Multi_Browser.html#Fl_Multi_Browser

        I've submitted an STR for the Fl_Browser doc omission:
        http://fltk.org/str.php?L1726

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

Reply via email to