summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-16 12:56:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-16 21:38:23 +0100
commit5aef0085cadb03c5c6b64747cf0ea76657a3a2ca (patch)
treebd234ca61b98996078d9d342f747c04462a223b4 /include
parent486f329b9589f1c795286228a513cb3751492fd2 (diff)
enable grabbing focus to an unspecified container child
Change-Id: I269f76a3e71832ef2e8961952d9362838bd49cfc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112577 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/weld.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 1fc18c85fb65..46ae951f3b94 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -346,6 +346,8 @@ public:
{
m_aContainerFocusChangedHdl = rLink;
}
+ // causes a child of the container to have the keyboard focus
+ virtual void child_grab_focus() = 0;
};
class VCL_DLLPUBLIC Box : virtual public Container