clan::SaveFileDialog Class Reference

SaveFileDialog component. More...

#include <savefiledialog.h>

Public Member Functions

Construction
 SaveFileDialog (GUIComponent *owner)
 Constructs a save file dialog. More...
 
virtual ~SaveFileDialog ()
 
Attributes
std::string get_filename () const
 Get the full path of the file selected. More...
 
Operations
void set_filename (const std::string &filename)
 Sets a string containing the full path of the file selected. More...
 
void add_filter (const std::string &filter_description, const std::string &filter_extension, bool is_default=false)
 Add a filter that determines what types of files are displayed. More...
 
void clear_filters ()
 Clears all filters. More...
 
void set_filter_index (int filter_index)
 Sets a default filter, on a 0-based index. More...
 
void set_initial_directory (const std::string &path)
 Sets the initial directory that is displayed. More...
 
void set_title (const std::string &title)
 Sets the text that appears in the title bar. More...
 
bool show ()
 Shows the file dialog. More...
 

Detailed Description

SaveFileDialog component.


The documentation for this class was generated from the following file: