1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __obbuttonwidget_hh
3 #define __obbuttonwidget_hh
5 #include "otk/widget.hh"
10 class OBButtonWidget : public otk::OtkWidget, public OBWidget
18 OBButtonWidget(otk::OtkWidget *parent, OBWidget::WidgetType type);
19 virtual ~OBButtonWidget();
21 virtual void setStyle(otk::Style *style);
23 virtual void adjust();
25 virtual void update();
28 virtual void unfocus();
30 virtual void buttonPressHandler(const XButtonEvent &e);
31 virtual void buttonReleaseHandler(const XButtonEvent &e);
36 #endif // __obbuttonwidget_hh