lyx_mirror/src/frontends/gnome/gnomeBC.C
Angus Leeming 0507b8600d Copyright notices
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5345 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-25 14:26:13 +00:00

42 lines
778 B
C

/**
* \file gnomeBC.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Baruch Even
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "gnomeBC.h"
#include <gtkmm/widget.h>
#include <gtkmm/button.h>
gnomeBC::gnomeBC(string const & cancel, string const & close)
: GuiBC<Gtk::Button, Gtk::Widget>(cancel, close)
{}
void gnomeBC::setWidgetEnabled(Gtk::Widget * obj, bool enabled)
{
if (obj)
obj->set_sensitive(enabled);
}
void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled)
{
if (btn)
btn->set_sensitive(enabled);
}
void gnomeBC::setButtonLabel(Gtk::Button * obj, string const & label)
{}