summaryrefslogtreecommitdiff
path: root/otk/widget.hh
diff options
context:
space:
mode:
authorMarius Nita <marius@cs.pdx.edu>2002-11-16 09:59:37 +0000
committerMarius Nita <marius@cs.pdx.edu>2002-11-16 09:59:37 +0000
commit6f5e60f0337e60d904a8f549aeaa631afefc8033 (patch)
tree2060d3507234f518d6540486e8567cae78036b2c /otk/widget.hh
parent0680daeef57748af17e0462def4852d408a62eb6 (diff)
fixed bugs, got otkapp to select on a fd, modded widget to make use of otkapp, press/release events on buttons
Diffstat (limited to 'otk/widget.hh')
-rw-r--r--otk/widget.hh6
1 files changed, 6 insertions, 0 deletions
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;
};
}