2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995-2000 The LyX Team.
9 * ======================================================
11 * Author: Baruch Even <baruch@lyx.org>
23 #include "ButtonControllerBase.h"
24 #include "ButtonController.h"
31 class gnomeBC : public GuiBC<Gtk::Button, Gtk::Widget>
35 gnomeBC(string const & cancel, string const & close);
38 /// Updates the button sensitivity (enabled/disabled)
39 void setButtonEnabled(Gtk::Button * btn, bool enabled);
41 /// Updates the widget sensitivity (enabled/disabled)
42 void setWidgetEnabled(Gtk::Widget * obj, bool enabled);
44 /// Set the label on the button
45 void setButtonLabel(Gtk::Button * btn, string const & label);