diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-30 14:11:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-30 17:13:13 +0200 |
commit | 31342a1bda26f4e3dd29274dafd306fd0a9e7047 (patch) | |
tree | ff55c1961391d911b9e62a866b7cf38aa4ddf23a /include/vcl/customweld.hxx | |
parent | 9e129e8557370207f784cba0f40643044ead88be (diff) |
tdf#134566 accept input engine commands in editview in custom widget
for the generic case first
Change-Id: I10bd707900b54c70c9bda79d5d09532cc159779e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103692
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/customweld.hxx')
-rw-r--r-- | include/vcl/customweld.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/vcl/customweld.hxx b/include/vcl/customweld.hxx index 938308a45ca8..0b79df8d1df1 100644 --- a/include/vcl/customweld.hxx +++ b/include/vcl/customweld.hxx @@ -12,6 +12,8 @@ #include <vcl/weld.hxx> +class InputContext; + namespace weld { class VCL_DLLPUBLIC CustomWidgetController @@ -86,6 +88,10 @@ public: void SetPointer(PointerStyle ePointerStyle) { m_pDrawingArea->set_cursor(ePointerStyle); } void SetHelpId(const OString& rHelpId) { m_pDrawingArea->set_help_id(rHelpId); } void SetAccessibleName(const OUString& rName) { m_pDrawingArea->set_accessible_name(rName); } + void SetInputContext(const InputContext& rInputContext) + { + m_pDrawingArea->set_input_context(rInputContext); + } void SetDragDataTransferrable(rtl::Reference<TransferDataContainer>& rTransferrable, sal_uInt8 eDNDConstants) { |