void setStretchableVert(bool s_vert = true) { _stretchable_vert = s_vert; }
inline Cursor getCursor(void) const { return _cursor; }
+ void setCursor(Cursor cursor) {
+ _cursor = cursor;
+ XDefineCursor(OBDisplay::display, _window, _cursor);
+ }
inline int getBevelWidth(void) const { return _bevel_width; }
void setBevelWidth(int bevel_width)
void setDirection(Direction dir) { _direction = dir; }
inline Style *getStyle(void) const { return _style; }
- void setStyle(Style *style) { assert(style); _style = style; }
+ virtual void setStyle(Style *style);
inline OtkEventDispatcher *getEventDispatcher(void)
{ return _event_dispatcher; }