path: root/vcl/inc
diff options
authorCaolán McNamara <>2012-09-26 21:35:55 +0100
committerCaolán McNamara <>2012-09-28 08:48:54 +0100
commit0c430547d8eaca42e0a4875c9a201c202f1d2aa6 (patch)
treec18a6736c0bf926101bd3f833e666294b05d8794 /vcl/inc
parent03e4a93815b3ab60d767c9b8cdc3b816cde24706 (diff)
truly skip unshown widgets in tab traversal
make tab traversal of dialog widgets hidden because their containers are hidden and/or disabled Change-Id: I1947584717030f3703c018cbf05235811df7835e
Diffstat (limited to 'vcl/inc')
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/inc/vcl/layout.hxx b/vcl/inc/vcl/layout.hxx
index 34c5696a0747..47355283f68a 100644
--- a/vcl/inc/vcl/layout.hxx
+++ b/vcl/inc/vcl/layout.hxx
@@ -483,6 +483,12 @@ Window* getNonLayoutParent(Window *pParent);
//Get first real parent which is not a layout widget
Window* getNonLayoutRealParent(Window *pParent);
+//return true if this window and its stack of containers are all shown
+bool isVisibleInLayout(const Window *pWindow);
+//return true if this window and its stack of containers are all enabled
+bool isEnabledInLayout(const Window *pWindow);
//Get next window after pChild of a pTopLevel window as
//if any intermediate layout widgets didn't exist
//i.e. acts like pChild = pChild->GetWindow(WINDOW_NEXT);