Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Bakery::Dialog_Preferences Class Reference

Preferences Dialog In the Glade file: The vbox should contain a widget called "vbox". More...

#include <Dialog_Preferences.h>

Inheritance diagram for Bakery::Dialog_Preferences:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Dialog_Preferences (Gtk::Window &parent, const Glib::ustring &configuration_directory, const Glib::ustring &glade_filename, const Glib::ustring &widget_name="vbox", bool instant=false)
 if instant is true then this will be an instant-apply preference dialog.
virtual ~Dialog_Preferences ()
virtual void load ()
virtual void save ()

Protected Member Functions

virtual void on_button_help ()
virtual void connect_widget (const Glib::ustring &key, const Glib::ustring &glade_widget_name)
virtual void on_show ()
virtual void on_hide ()
virtual void on_response (int response_id)

Protected Attributes

Gtk::Button m_Button_Close
Gtk::Button m_Button_Cancel
Gtk::Button m_Button_Help
bool m_instant
Glib::RefPtr< Gnome::Glade::Xml > m_refGlade
Bakery::Conf::Clientm_pConfClient

Detailed Description

Preferences Dialog In the Glade file: The vbox should contain a widget called "vbox".

This is the base class for preferences dialogs and supports only Gtk widgets. The Dialog_Preferences_GnomeUI class in the bakery_gnomeui module supports Gnome::UI widgets in addition to Gtk widgets.


Constructor & Destructor Documentation

Bakery::Dialog_Preferences::Dialog_Preferences Gtk::Window parent,
const Glib::ustring configuration_directory,
const Glib::ustring glade_filename,
const Glib::ustring widget_name = "vbox",
bool  instant = false
 

if instant is true then this will be an instant-apply preference dialog.

virtual Bakery::Dialog_Preferences::~Dialog_Preferences  )  [virtual]
 


Member Function Documentation

virtual void Bakery::Dialog_Preferences::connect_widget const Glib::ustring key,
const Glib::ustring glade_widget_name
[protected, virtual]
 

virtual void Bakery::Dialog_Preferences::load  )  [virtual]
 

virtual void Bakery::Dialog_Preferences::on_button_help  )  [protected, virtual]
 

virtual void Bakery::Dialog_Preferences::on_hide  )  [protected, virtual]
 

Reimplemented from Gtk::Widget.

virtual void Bakery::Dialog_Preferences::on_response int  response_id  )  [protected, virtual]
 

Reimplemented from Gtk::Dialog.

virtual void Bakery::Dialog_Preferences::on_show  )  [protected, virtual]
 

Reimplemented from Gtk::Widget.

virtual void Bakery::Dialog_Preferences::save  )  [virtual]
 


Member Data Documentation

Gtk::Button Bakery::Dialog_Preferences::m_Button_Cancel [protected]
 

Gtk::Button Bakery::Dialog_Preferences::m_Button_Close [protected]
 

Gtk::Button Bakery::Dialog_Preferences::m_Button_Help [protected]
 

bool Bakery::Dialog_Preferences::m_instant [protected]
 

Bakery::Conf::Client* Bakery::Dialog_Preferences::m_pConfClient [protected]
 

Glib::RefPtr<Gnome::Glade::Xml> Bakery::Dialog_Preferences::m_refGlade [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Jan 4 19:00:44 2005 for bakery by  doxygen 1.3.9.1