X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fwidget.hh;h=a87877549142f0a87f91c65417f5a6bd48fa0bd9;hb=6f5e60f0337e60d904a8f549aeaa631afefc8033;hp=473aa812588568d093cadffe8fd21fd6f8ab356d;hpb=a3d036f60ed2333622ee9b61dbddcdc8fbc497c3;p=chaz%2Fopenbox 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; }; }