8 #include "ButtonController.tmpl"
9 #include "gtk--/widget.h"
10 #include "gtk--/button.h"
12 gnomeBC::gnomeBC(string const & cancel, string const & close)
13 : GuiBC<Gtk::Button, Gtk::Widget>(cancel, close)
17 void gnomeBC::setWidgetEnabled(Gtk::Widget * obj, bool enabled)
20 obj->set_sensitive(enabled);
24 void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled)
27 btn->set_sensitive(enabled);
31 void gnomeBC::setButtonLabel(Gtk::Button * obj, string const & label)
34 #warning Implement me! (be 20010329)
36 // There is no methods set_text!
37 //obj->set_text(label);