diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-08-02 18:31:29 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-08-02 18:31:29 +0000 |
| commit | b0e56bb248b4690fc34505f58b8b795521628ff2 (patch) | |
| tree | df6d0c989fe3a13558f74a588d6de3130ef912e5 /documentation/Fl_FileBrowser.html | |
| parent | 58b0f306be3f6d5a1161d83d1ac6e0e3b8d8ad19 (diff) | |
Documentation...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_FileBrowser.html')
| -rw-r--r-- | documentation/Fl_FileBrowser.html | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/documentation/Fl_FileBrowser.html b/documentation/Fl_FileBrowser.html new file mode 100644 index 000000000..4a0203298 --- /dev/null +++ b/documentation/Fl_FileBrowser.html @@ -0,0 +1,79 @@ +<HTML> +<HEAD> + <TITLE>FileBrowser - ESP Widget Set for FLTK</TITLE> + <LINK REL="STYLESHEET" TYPE="text/css" HREF="fltk.css"> + <MAP NAME="navbar"> + <AREA SHAPE="RECT" COORD="20,19,74,36" HREF="index.html" ALT="Widget Set Home Page"> + <AREA SHAPE="RECT" COORD="96,19,240,36" HREF="documentation.html" ALT="Widget Set Documentation"> + <AREA SHAPE="RECT" COORD="262,19,356,36" HREF="download.html" ALT="Download Widget Set"> + <AREA SHAPE="RECT" COORD="378,19,416,36" HREF="http://www.easysw.com" ALT="ESP Home Page"> + <AREA SHAPE="RECT" COORD="438,19,487,36" HREF="http://www.fltk.org" ALT="FLTK Home Page"> + </MAP> +</HEAD> + +<BODY BGCOLOR="#ccccff"> + +<!-- NEW PAGE --> +<H2>class FileBrowser</H2> + +<HR> + +<H3>Class Hierarchy</H3> + +<UL><PRE> +Fl_Browser + | + +----<B>FileBrowser</B> +</PRE></UL> + +<H3>Include Files</H3> + +<UL><PRE> +#include "FileBrowser.h" +</PRE></UL> + +<H3>Description</H3> + +<P>The <CODE>FileBrowser</CODE> widget displays a list of filenames, +optionally with file-specific icons. + +<H3>Methods</H3> + +<UL> + + <LI><A HREF="#FileBrowser.FileBrowser">FileBrowser</A> + <LI><A HREF="#FileBrowser.~FileBrowser">~FileBrowser</A> + <LI><A HREF="#FileBrowser.iconsize">iconsize</A> + <LI><A HREF="#FileBrowser.filter">filter</A> + <LI><A HREF="#FileBrowser.load">load</A> + +</UL> + +<H4><A NAME="FileBrowser.FileBrowser">FileBrowser(int xx, int yy, int ww, int hh, const char *l = 0)</A></H4> + +<P>The constructor creates the <CODE>FileBrowser</CODE> widget at the specified +position and size. + +<H4><A NAME="FileBrowser.~FileBrowser">~FileBrowser()</A></H4> + +<P>The destructor destroys the widget and frees all memory that has been +allocated. + +<H4><A NAME="FileBrowser.iconsize">void iconsize(uchar s)<BR> +uchar iconsize() const</A></H4> + +<P>Sets or gets the size of the icons. The default size is 20 pixels. + +<H4><A NAME="FileBrowser.filter">void filter(const char *pattern)<BR> +const char *filter() const</A></H4> + +<P>Sets or gets the filename filter. The pattern matching uses the +<CODE>filename_match()</CODE> function in FLTK. + +<H4><A NAME="FileBrowser.load">int load(const char *directory)</A></H4> + +<P>Loads the specified directory into the browser. If icons have been +loaded then the correct icon is associated with each file in the list. + +</BODY> +</HTML> |
