diff options
Diffstat (limited to 'src/ui/widget.h')
-rw-r--r-- | src/ui/widget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h index 880b71c..3ae75d2 100644 --- a/src/ui/widget.h +++ b/src/ui/widget.h @@ -139,6 +139,9 @@ public: /// returns true if the widget has mouse focus bool has_mouse_focus() const; + + /// return true of the widget is a child widget + bool is_child(const Widget *widget) const; /* -- mutators --------------------------------------------- */ |