#include <Fl_File_Dialog.h>
Inheritance diagram for Fl_File_Chooser:
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_String & | directory () 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_Browser * | filebrowser () |
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 | |
Fl_Highlight_Button * | m_up |
Fl_Highlight_Button * | m_home |
Fl_Highlight_Button * | m_refresh |
Fl_Highlight_Button * | m_new_folder |
Fl_Input_Browser * | m_path_input |
Fl_Input_Browser * | m_filter_input |
Fl_Input_Browser * | m_file_input |
Fl_Check_Button * | m_preview |
Fl_File_Browser * | m_filebrowser |
Definition at line 38 of file Fl_File_Dialog.h.
|
Internal handle.
Reimplemented from Fl_Dialog. |
|
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.
Reimplemented from Fl_Dialog. |