> Argh=2C sorry about that. I read "File" and based on the amount of work I'v=
> e recently done on the FileChooser I automatically assumed your question wa=
> s referring to that. Apologies!
> In terms of the a method to fetch the appropriate filename=2C you can eithe=
> r use the method(s) that have been suggested already=2C or the code in src/=
> FileChooser2.cxx regarding the value() method might help.
>
> I promise I'll get around to rebuilding the docs this weekend!
>
> Regards=2C=20
> Ben.

No need for apologies !

As for FLTK 2, I've not come up with a way to detect whether the widget 
returned by Browser::goto_focus() is an actual Item or not. The reason being 
that Widget::label() causes a crash when called on a widget of non-Item type 
(at least on whatever widget it is that is the target of clicks when clicking 
outside of items in a (File)Browser and hence deselecting any selected item). I 
know there is Widget::type() but it seems to return zero (just like Buttons, 
for example).
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to