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
13 #pragma implementation
18 #include <gtkmm/widget.h>
19 #include <gtkmm/button.h>
21 gnomeBC::gnomeBC(string const & cancel, string const & close)
22 : GuiBC<Gtk::Button, Gtk::Widget>(cancel, close)
26 void gnomeBC::setWidgetEnabled(Gtk::Widget * obj, bool enabled)
29 obj->set_sensitive(enabled);
33 void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled)
36 btn->set_sensitive(enabled);
40 void gnomeBC::setButtonLabel(Gtk::Button * obj, string const & label)