bakery 2.6
Public Member Functions | Protected Member Functions | Protected Attributes

Bakery::Dialog_Preferences Class Reference

Preferences Dialog In the Glade file:

More...

#include <Dialog_Preferences.h>

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 (std::auto_ptr< Glib::Error > &error)
virtual void save (std::auto_ptr< Glib::Error > &error)

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:

Use connect_widget(conf_key, widget_name) in the constructor.

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 ( std::auto_ptr< Glib::Error > &  error) [virtual]
virtual void Bakery::Dialog_Preferences::on_button_help ( ) [protected, virtual]
virtual void Bakery::Dialog_Preferences::on_hide ( ) [protected, virtual]
virtual void Bakery::Dialog_Preferences::on_response ( int  response_id) [protected, virtual]
virtual void Bakery::Dialog_Preferences::on_show ( ) [protected, virtual]
virtual void Bakery::Dialog_Preferences::save ( std::auto_ptr< Glib::Error > &  error) [virtual]

Member Data Documentation

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

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