Boris Mayer-St-Onge wrote:
> FlTK 1.3.x (snapshot 7677)
> 
> I'm using a Fl_Help_Dialog widget and I would like to know if the file 
> that I'm loading is loaded successfully. Unfortunately, the function 
> Fl_Help_Dialog::load(const char *) doesn't have a return value, while 
> the function Fl_Help_View::load(const char *) has one.

I think that's an interesting idea, seems like a good one - though the 
change would have to be made in the fluid sources for the 
Fl_Help_Dialog, rather than just changing the .cxx file directly.
Though, that's perfectly do-able of course.

That said, I've never found a need for that - I've only ever used 
Fl_Help_Dialog to open local files, so I just stat them first to ensure 
they are present and readable before I try and open them anyway.
Though of course that doesn't tell me if the files were corrupt when I 
read them in, of course.
-- 
Ian

_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to