3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
15 #include <gtkmm/widget.h>
16 #include <gtkmm/button.h>
18 gnomeBC::gnomeBC(string const & cancel, string const & close)
19 : GuiBC<Gtk::Button, Gtk::Widget>(cancel, close)
23 void gnomeBC::setWidgetEnabled(Gtk::Widget * obj, bool enabled)
26 obj->set_sensitive(enabled);
30 void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled)
33 btn->set_sensitive(enabled);
37 void gnomeBC::setButtonLabel(Gtk::Button * obj, string const & label)