mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
0507b8600d
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5345 a592a061-630c-0410-9148-cb99ea01b6c8
42 lines
778 B
C
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)
|
|
{}
|