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>
21 #include "ButtonController.h"
28 class gnomeBC : public GuiBC<Gtk::Button, Gtk::Widget>
32 gnomeBC(string const & cancel, string const & close);
35 /// Updates the button sensitivity (enabled/disabled)
36 void setButtonEnabled(Gtk::Button * btn, bool enabled);
38 /// Updates the widget sensitivity (enabled/disabled)
39 void setWidgetEnabled(Gtk::Widget * obj, bool enabled);
41 /// Set the label on the button
42 void setButtonLabel(Gtk::Button * btn, string const & label);