logo top
Main Page   Widgets   Namespaces   Book  

Gtk::FileSelection Class Reference
[Dialogs]

Prompt the user for a file or directory name. More...

Inheritance diagram for Gtk::FileSelection:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~FileSelection ()
GtkFileSelection* gobj ()
 Provides access to the underlying C GtkObject.

const GtkFileSelection* gobj () const
 Provides access to the underlying C GtkObject.

 FileSelection ()
 FileSelection (const Glib::ustring& title)
void set_filename (const std::string& filename)
std::string get_filename () const
void complete (const Glib::ustring& pattern)
void show_fileop_buttons ()
void hide_fileop_buttons ()
Glib::ArrayHandle<std::string> get_selections () const
void set_select_multiple (bool select_multiple=true)
bool get_select_multiple () const
TreeViewget_dir_list ()
const TreeViewget_dir_list () const
TreeViewget_file_list ()
const TreeViewget_file_list () const
OptionMenuget_history_pulldown ()
const OptionMenuget_history_pulldown () const
Entryget_selection_entry ()
const Entryget_selection_entry () const
Labelget_selection_text ()
const Labelget_selection_text () const
VBoxget_main_vbox ()
const VBoxget_main_vbox () const
Buttonget_ok_button ()
const Buttonget_ok_button () const
Buttonget_cancel_button ()
const Buttonget_cancel_button () const
Buttonget_help_button ()
const Buttonget_help_button () const
HButtonBoxget_button_area ()
const HButtonBoxget_button_area () const
HBoxget_action_area ()
const HBoxget_action_area () const
Glib::PropertyProxy<bool> property_show_fileops ()
Glib::PropertyProxy<std::string> property_filename ()
Glib::PropertyProxy<bool> property_select_multiple ()

Related Functions

(Note that these are not member functions.)

Gtk::FileSelectionwrap (GtkFileSelection* object, bool take_copy=false)

Detailed Description

Prompt the user for a file or directory name.

Gtk::FileSelection should be used to retrieve file or directory names from the user. It will create a new dialog window containing a directory list, and a file list corresponding to the current working directory. The filesystem can be navigated using the directory list or the drop-down history menu. Alternatively, the TAB key can be used to navigate using filename completion - common in text based editors such as emacs and jed.


Constructor & Destructor Documentation

virtual Gtk::FileSelection::~FileSelection (  )  [virtual]
 

Gtk::FileSelection::FileSelection (  ) 
 

Gtk::FileSelection::FileSelection ( const Glib::ustring&  title  )  [explicit]
 


Member Function Documentation

void Gtk::FileSelection::complete ( const Glib::ustring&  pattern  ) 
 

const HBox* Gtk::FileSelection::get_action_area (  )  const
 

Reimplemented from Gtk::Dialog.

HBox* Gtk::FileSelection::get_action_area (  ) 
 

Reimplemented from Gtk::Dialog.

const HButtonBox* Gtk::FileSelection::get_button_area (  )  const
 

HButtonBox* Gtk::FileSelection::get_button_area (  ) 
 

const Button* Gtk::FileSelection::get_cancel_button (  )  const
 

Button* Gtk::FileSelection::get_cancel_button (  ) 
 

const TreeView* Gtk::FileSelection::get_dir_list (  )  const
 

TreeView* Gtk::FileSelection::get_dir_list (  ) 
 

const TreeView* Gtk::FileSelection::get_file_list (  )  const
 

TreeView* Gtk::FileSelection::get_file_list (  ) 
 

std::string Gtk::FileSelection::get_filename (  )  const
 

const Button* Gtk::FileSelection::get_help_button (  )  const
 

Button* Gtk::FileSelection::get_help_button (  ) 
 

const OptionMenu* Gtk::FileSelection::get_history_pulldown (  )  const
 

OptionMenu* Gtk::FileSelection::get_history_pulldown (  ) 
 

const VBox* Gtk::FileSelection::get_main_vbox (  )  const
 

VBox* Gtk::FileSelection::get_main_vbox (  ) 
 

const Button* Gtk::FileSelection::get_ok_button (  )  const
 

Button* Gtk::FileSelection::get_ok_button (  ) 
 

bool Gtk::FileSelection::get_select_multiple (  )  const
 

const Entry* Gtk::FileSelection::get_selection_entry (  )  const
 

Entry* Gtk::FileSelection::get_selection_entry (  ) 
 

const Label* Gtk::FileSelection::get_selection_text (  )  const
 

Label* Gtk::FileSelection::get_selection_text (  ) 
 

Glib::ArrayHandle<std::string> Gtk::FileSelection::get_selections (  )  const
 

const GtkFileSelection* Gtk::FileSelection::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

GtkFileSelection* Gtk::FileSelection::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Dialog.

void Gtk::FileSelection::hide_fileop_buttons (  ) 
 

Glib::PropertyProxy<std::string> Gtk::FileSelection::property_filename (  ) 
 

Glib::PropertyProxy<bool> Gtk::FileSelection::property_select_multiple (  ) 
 

Glib::PropertyProxy<bool> Gtk::FileSelection::property_show_fileops (  ) 
 

void Gtk::FileSelection::set_filename ( const std::string&  filename  ) 
 

void Gtk::FileSelection::set_select_multiple ( bool  select_multiple = true  ) 
 

void Gtk::FileSelection::show_fileop_buttons (  ) 
 


Friends And Related Function Documentation

Gtk::FileSelection* wrap ( GtkFileSelection*  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm2.2 by Doxygen 1.3.3 © 1997-2001