- typedef std::list<OtkWidget *> OtkWidgetList;
-
- OtkWidget(OtkWidget *parent, Direction = Horizontal);
- OtkWidget(OtkEventDispatcher *event_dispatcher, Style *style,
- Direction direction = Horizontal, Cursor cursor = 0,
- int bevel_width = 1);
-
- virtual ~OtkWidget();
-
- virtual void update(void);
-
- void exposeHandler(const XExposeEvent &e);
- void configureHandler(const XConfigureEvent &e);
-
- inline Window getWindow(void) const { return _window; }
- inline const OtkWidget *getParent(void) const { return _parent; }
- inline const OtkWidgetList &getChildren(void) const { return _children; }
- inline unsigned int getScreen(void) const { return _screen; }
- inline const Rect &getRect(void) const { return _rect; }
-
- void move(const Point &to);
- void move(int x, int y);
+ Widget(int screen, EventDispatcher *ed, Direction direction = Horizontal,
+ int bevel = 3, bool overrideredir = false);
+ Widget(Widget *parent, Direction direction = Horizontal, int bevel = 3);
+ virtual ~Widget();