Added doc screenshot for Fl_Native_File_Chooser.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8091 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano 2010-12-21 09:09:15 +00:00
parent 99fe2b88e7
commit f0f5dd5c13
2 changed files with 8 additions and 4 deletions

View File

@ -37,10 +37,10 @@
the operating system's native file chooser. Some operating systems the operating system's native file chooser. Some operating systems
have very complex and specific file choosers that many users want have very complex and specific file choosers that many users want
access to specifically, instead of FLTK's default file chooser(s). access to specifically, instead of FLTK's default file chooser(s).
<P>
In cases where there is no native file browser, FLTK's own file browser In cases where there is no native file browser, FLTK's own file browser
is used instead. is used instead.
<P>
\code \code
// Create and post the local native file chooser // Create and post the local native file chooser
#include <FL/Fl_Native_File_Chooser.H> #include <FL/Fl_Native_File_Chooser.H>
@ -58,13 +58,17 @@
default: printf("PICKED: %s\n", fnfc.filename()); break; // FILE CHOSEN default: printf("PICKED: %s\n", fnfc.filename()); break; // FILE CHOSEN
} }
\endcode \endcode
<P>
<B>Platform Specific Caveats</B> <B>Platform Specific Caveats</B>
<P>
- Under X windows, it's best if you call Fl_File_Icon::load_system_icons() - Under X windows, it's best if you call Fl_File_Icon::load_system_icons()
at the start of main(), to enable the nicer looking file browser widgets. at the start of main(), to enable the nicer looking file browser widgets.
- Some operating systems support certain OS specific options; see - Some operating systems support certain OS specific options; see
Fl_Native_File_Chooser::options() for a list. Fl_Native_File_Chooser::options() for a list.
\image html Fl_Native_File_Chooser.png "The Fl_Native_File_Chooser on different platforms."
\image latex Fl_Native_File_Chooser.png "The Fl_Native_File_Chooser on different platforms" width=8cm
*/ */
class FL_EXPORT Fl_Native_File_Chooser { class FL_EXPORT Fl_Native_File_Chooser {
public: public:

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB