+ void setCursor(Cursor cursor) {
+ _cursor = cursor;
+ XDefineCursor(OBDisplay::display, _window, _cursor);
+ }
+
+ inline int getBevelWidth(void) const { return _bevel_width; }
+ void setBevelWidth(int bevel_width)
+ { assert(bevel_width > 0); _bevel_width = bevel_width; }
+
+ inline Direction getDirection(void) const { return _direction; }
+ void setDirection(Direction dir) { _direction = dir; }
+
+ inline Style *getStyle(void) const { return _style; }
+ virtual void setStyle(Style *style);
+
+ inline OtkEventDispatcher *getEventDispatcher(void)
+ { return _event_dispatcher; }
+ void setEventDispatcher(OtkEventDispatcher *disp);
+
+ void unmanaged(void) { _unmanaged = true; }
+
+protected:
+
+ bool _dirty;
+ bool _focused;
+
+ virtual void adjust(void);