From 6f5e60f0337e60d904a8f549aeaa631afefc8033 Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Sat, 16 Nov 2002 09:59:37 +0000 Subject: fixed bugs, got otkapp to select on a fd, modded widget to make use of otkapp, press/release events on buttons --- otk/widget.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'otk/widget.hh') diff --git a/otk/widget.hh b/otk/widget.hh index 473aa812..a8787754 100644 --- a/otk/widget.hh +++ b/otk/widget.hh @@ -96,6 +96,10 @@ public: inline Style *getStyle(void) const { return _style; } void setStyle(Style *style) { _style = style; } + inline OtkEventDispatcher *getEventDispatcher(void) + { return _event_dispatcher; } + void setEventDispatcher(OtkEventDispatcher *disp); + private: void create(void); @@ -136,6 +140,8 @@ private: bool _fixed_height; bool _dirty; + + OtkEventDispatcher *_event_dispatcher; }; } -- cgit v1.2.3