4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS
12 #ifndef GBUTTONCONTROLLER_H
13 #define GBUTTONCONTROLLER_H
17 #include "ButtonController.h"
22 class GBC : public GuiBC<Gtk::Button, Gtk::Widget>
25 GBC(ButtonController const & parent,
26 string const & cancel = _("Cancel"),
27 string const & close = _("Close"));
29 /// Updates the button sensitivity (enabled/disabled)
30 void setButtonEnabled(Gtk::Button *, bool enabled) const;
32 /// Updates the widget sensitivity (enabled/disabled)
33 void setWidgetEnabled(Gtk::Widget *, bool enabled) const;
35 /// Set the label on the button
36 void setButtonLabel(Gtk::Button *, string const & label) const;