Main Page
Widgets
Namespaces
Book
Glib::RefPtr< Glade::Xml > m_refGlade
Definition: variablesmap.h:85
XmlError & operator=(const XmlError &other)
static Glib::RefPtr< Xml > create(const std::string &filename, const Glib::ustring &root=Glib::ustring(), const Glib::ustring &domain=Glib::ustring())
Loads a Glade XML file.
Associates named Glade widgets with member variables.
Definition: variablesmap.h:50
virtual void connect_widget(const Glib::ustring &widget_name, bool &variable)
For ToggleButton (CheckBox and RadioButton)
virtual bool validate_widgets()
Override this to validate the data that the user enters into the widgets.
Xml(const char *buffer, int size, const Glib::ustring &root, const Glib::ustring &domain)
Reads glade XML data from memory.
std::string get_filename() const
virtual void transfer_variables_to_widgets()
Transfer data from the variable to the widget.
void reparent_widget(const Glib::ustring &name, Gtk::Container &container)
Take the widget from the glade-generated container and put it in another container.
T_Widget * get_widget_derived(const Glib::ustring &name, T_Widget *&widget)
This provides a pointer to a widget whose details are specified in the Glade file,...
Definition: xml.h:272
std::map< Gtk::Widget *, void * > type_mapWidgetsToVariables
Definition: variablesmap.h:82
GtkWidget * get_cwidget(const Glib::ustring &name)
Xml(const std::string &filename, const Glib::ustring &root, const Glib::ustring &domain)
Loads a glade XML file.
Glib::ListHandle< Gtk::Widget * > get_widget_prefix(const Glib::ustring &name)
std::string relative_file(const std::string &filename) const
virtual void transfer_one_widget(Gtk::Widget *pWidget, bool to_variable)
virtual void connect_widget(const Glib::ustring &widget_name, double &variable)
For Scale (HScale and VScale)
GladeXML * gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it....
static Glib::ustring get_widget_name(Gtk::Widget &widget)
Gtk::Widget * get_widget_checked(const Glib::ustring &name, GType type)
Gtk::Widget * get_widget(const Glib::ustring &name)
Get a widget from the Glade file.
virtual void connect_widget(const Glib::ustring &widget_name, Glib::ustring &variable)
For Entry, ComboBoxEntry and SpinBox.
Glib::RefPtr< Gnome::Glade::Xml > wrap(GladeXML *object, bool take_copy=false)
A Glib::wrap() method for this object.
T_Widget * get_widget(const Glib::ustring &name, T_Widget *&widget)
More convenient way of getting a widget from the Glade file.
Definition: xml.h:243
static Glib::RefPtr< Xml > create_from_buffer(const char *buffer, int size, const Glib::ustring &root=Glib::ustring(), const Glib::ustring &domain=Glib::ustring())
Reads glade XML data from memory.
GladeXML * gobj()
Provides access to the underlying C GObject.
Definition: xml.h:100
Gnome::Glade::XmlError Error
Definition: xml.h:136
type_mapWidgetsToVariables m_mapWidgetsToVariables
Definition: variablesmap.h:83
virtual void connect_widget(const Glib::ustring &widget_name, Glib::Date &variable)
For Calendar.
virtual void transfer_widgets_to_variables()
Transfer data from the widget to the variable.
VariablesMap(const Glib::RefPtr< Glade::Xml > &glade)
virtual GType lookup_type_vfunc(const Glib::ustring &classname)
void connect_clicked(const Glib::ustring &name, const sigc::slot< void > &slot_)
Connect a Gtk::Button's clicked signal or a Gtk::MenuItem's activated signal to a slot.
static Glib::RefPtr< Xml > get_widget_tree(Gtk::Widget &widget)
const GladeXML * gobj() const
Provides access to the underlying C GObject.
Definition: xml.h:103
XmlError(const Glib::ustring &message)
virtual Glib::ustring what() const
Generated for libglademm 2.4 by
Doxygen 1.8.20 © 1997-2001