On 27/05/11 12:28, anon wrote:
> Hi!
> I've been having trouble figuring out how exactly I'm supposed to fetch the
> filename/path string from said widget when my callback is invoked.
> I have been looking through the relevant headers for FileBrowser and Browser
> classes and haven't succeded locating anything of interest.
>
Hi,
Does the value() method not do what you're looking for? Inside the
FileChooser's callback:
void chooserCB(fltk::FileChooser* fc, void* v) {
// code goes here
puts(fc->value());
// more code goes here
}
Hope this helps!
Ben
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk