]> Dogcows Code - chaz/openbox/blobdiff - otk/widget.hh
print a warning if more than one main widget is set
[chaz/openbox] / otk / widget.hh
index 473aa812588568d093cadffe8fd21fd6f8ab356d..fb3b1e37e5d9404e707e8447d9e242a48ea6bee3 100644 (file)
@@ -96,6 +96,14 @@ 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);
+
+protected:
+  
+  bool _dirty;
+
 private:
 
   void create(void);
@@ -135,7 +143,7 @@ private:
   bool _fixed_width;
   bool _fixed_height;
 
-  bool _dirty;
+  OtkEventDispatcher *_event_dispatcher;
 };
 
 }
This page took 0.023312 seconds and 4 git commands to generate.