>>
>> { secondwin_browser = new Fl_Browser(155, 70, 310, 90);
>> secondwin_browser->tooltip("secondwin_browser&&");
>> secondwin_browser->type(1);
>> } // Fl_Browser* secondwin_browser
>
> I just did the same yesterday and it does work. The key piece of code
> is " secondwin_browser->type(1);"
Looking up in the documentation, i've found this :
void Fl_Widget::type (uchar t) [inline]
Sets the widget type.
This is used for Forms compatibility.
Reimplemented in Fl_Spinner.
I'm confused. I guess «type» in this context is a widget subclass
(Fl…Window, Fl_Browser …). But it doesn't transform Fl_Browser to
Fl_Select_Browser, does it ?
How should i use it ?
Thank you.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk