OtkWidget(otk::OtkWidget *parent, Direction = Horizontal);
OtkWidget(otk::OtkEventDispatcher *event_dispatcher, otk::Style *style,
Direction direction = Horizontal, Cursor cursor = 0,
- int bevel_width = 1);
+ int bevel_width = 1, bool override_redirect = false);
virtual ~OtkWidget();
{ return _event_dispatcher; }
void setEventDispatcher(otk::OtkEventDispatcher *disp);
- void unmanaged(void) { _unmanaged = true; }
-
protected:
bool _dirty;
bool _focused;
virtual void adjust(void);
- virtual void create(void);
+ virtual void create(bool override_redirect = false);
virtual void adjustHorz(void);
virtual void adjustVert(void);
virtual void internalResize(int width, int height);
bool _fixed_width;
bool _fixed_height;
- bool _unmanaged;
-
OtkEventDispatcher *_event_dispatcher;
};