Hiba wrote:

> I created a separate window, in the c++ tab (class), i wrote
> "Fl_File_Chooser" and i gave it "browser" as a name. In Extra code, i
> wrote "Fl_File_Chooser *browser = new Fl_File_Chooser (,,,)"
> 
> In the "open" item callback, i wrote "browser->show();"
> But the compiler generated (in the .h file) errors like:
> 
> Fl_File_Chooser *browser: syntax error, missing ';' before '*'
> Fl_File_Chooser: missing storage-class or type specifiers
> browser: missing storage-class or type specifiers
> ..
> 
> Isn't true what i did? should i do something else?
> 
> Thank you for your help!!!

I rarely used the Fl_File_Chooser widget myself. I find the
fl_file_chooser() function does everything I need. The only time I use the
Fl_File_Chooser widget is when I need finer control of the browser.

So, take a look, if you haven't already, at the docs for fl_file_chooser()
found here:

http://www.fltk.org/documentation.php/doc-1.1/functions.html#fl_file_chooser2

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

Reply via email to