> Ah, there is a simpler way. Double click on the widget to get the Widget
> Properties window.
> The click on the "C++" tab. The first entry is "Class:".
> At the right end of the line, there is a list of available classes for the
> widget that you choose.
> There should be an entry for the various browser types.
If you're talking about the list at the right end of the first line of
C++ tab, that's what i did.
This list contains «no select, select, hold, multi».
I've chosen «select».
Here is a little fl file to show you the result:
/tmp$ cat test.fl
# data file for the Fltk User Interface Designer (fluid)
version 1.0300
header_name {.h}
code_name {.cxx}
Function {make_window()} {open
} {
Fl_Window {} {open
xywh {1071 23 100 100} type Double visible
} {
Fl_Browser mybrowser {
xywh {25 25 25 25} type Select
}
}
}
Please, could you save it to a file and opening it with fluid, and then
telling me if i did something wrong ?
When i generate code with «fluid -c test.fl», i'm ending up with
«Fl_Browser» class, instead of the awaited «Fl_Select_Browser».
Thank you.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk