![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
File dialog component
Contained in: global
Derived from:
CL_Window
Derived by:
none
Group: GUI (Controls)
#include <ClanLib/gui.h>
public function member index: |
||
Construction: |
||
CL_FileDialog | (CL_Component* parent, CL_StyleManager* style = NULL); | |
CL_FileDialog | (const std::string& title, const std::string& file, const std::string& filter, CL_Component* parent, CL_StyleManager* style = NULL); | |
virtual | ~CL_FileDialog | (); |
static const std::string | open | (CL_Component* parent); |
static const std::string | open | (const std::string& file, const std::string& filter, CL_Component* parent); |
static const std::string | save | (CL_Component* parent); |
static const std::string | save | (const std::string& file, const std::string& filter, CL_Component* parent); |
Attributes: |
||
const std::string& | get_file | () const; |
const std::string& | get_filter | () const; |
const std::string& | get_dir | () const; |
const std::string& | get_path | () const; |
bool | is_hidden_files_visible | () const; |
Operations: |
||
void | set_file | (const std::string& filename); |
void | set_dir | (const std::string& dir); |
void | set_filter | (const std::string& filter); |
void | show_hidden_files | (bool enable = true); |
void | refresh | (); |
Signals: |
||
CL_Signal_v1<const std::string& >& | sig_file_highlighted | (); |
CL_Signal_v1<const std::string& >& | sig_file_selected | (); |
CL_Signal_v1<const std::string& >& | sig_dir_entered | (); |