Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Fl_File_Chooser Class Reference

Fl_File_Chooser. More...

#include <Fl_File_Dialog.h>

Inheritance diagram for Fl_File_Chooser:

Fl_Dialog Fl_Window Fl_Widget List of all members.

Public Types

enum  { _DEFAULT = 0, _SAVE, _DIRECTORY }

Public Methods

 Fl_File_Chooser (int w, int h, const char *label=0, int mode=0)
 ~Fl_File_Chooser ()
void default_filename (const Fl_String &f)
void default_filename (const char *f)
void directory (const Fl_String &path)
void directory (const char *path)
const Fl_Stringdirectory () const
const char * file_input () const
void file_input (const char *v)
const char * pattern () const
const char * filter_name () const
int mode () const
char ** get_selected ()
void get_selected (Fl_String_List &list)
void multi_selection (bool v)
bool multi_selection ()
bool preview () const
void preview (bool show)
void update_preview (const Fl_String filename)
void get_filename (Fl_String path, Fl_String &buf)
void get_filepath (Fl_String path, Fl_String &buf)
Fl_File_Browserfilebrowser ()
void up ()
void refresh ()
Fl_String new_dir ()
void filters (const char *filters)
void read_dir (const char *path)
virtual int handle (int e)
 Internal handle. More...

virtual void layout ()
virtual bool save_data (Fl_Data_Source *ds=0)
 Save dialog widget values to datasource. More...

Protected Methods

void make_group ()
void parse_dirs (const Fl_String &fp)

Protected Attributes


Detailed Description


Definition at line 38 of file Fl_File_Dialog.h.

Member Function Documentation

virtual int Fl_File_Chooser::handle int    e [virtual]

Internal handle.

See also:
Fl_Widget::handle(int event)

Reimplemented from Fl_Dialog.

virtual bool Fl_File_Chooser::save_data Fl_Data_Source   ds = 0 [virtual]

Save dialog widget values to datasource.

This function is called from 'Ok' button callback. If return value is true (data saved) the dialog will be closed.

ds  as external datasource. If ds is NULL, dialog default datasource is used.
See also:
Fl_Widget::save_data(Fl_Data_Source *ds=0) , Fl_Group::save_data(Fl_Data_Source *ds=0)

Reimplemented from Fl_Dialog.

The documentation for this class was generated from the following file:
Generated on Thu Jul 31 15:33:48 2003 for eFLTK by doxygen1.2.15