summaryrefslogtreecommitdiff
path: root/otk/widget.hh
diff options
context:
space:
mode:
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;
};
}