summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/weld.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 4fb71ca77bf1..dcbf59cd5453 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -171,6 +171,11 @@ public:
virtual Container* weld_parent() const = 0;
+ //iterate upwards through the hierarchy sarting at this widgets parent,
+ //calling func with their helpid until func returns true or we run out of
+ //parents
+ virtual void help_hierarchy_foreach(const std::function<bool(const OString&)>& func) = 0;
+
virtual ~Widget() {}
};