diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-14 14:10:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-14 14:36:09 +0000 |
commit | c96eeb5bf2ef428e7d147258d69825ff97acb226 (patch) | |
tree | 4471b99be4b5adedc2e8901eb35159397ce65b25 /vcl/inc/salframe.hxx | |
parent | 01ef12d173fb2c54a49186c8eb4fa40288b82945 (diff) |
Resolves: rhbz#1289394 gtk3: implement tooltips natively
side step the whole pile of misery by using native gtk tooltips
also gets transparency and native themeing too by default
Change-Id: I59552661cd9dc18a563341885bc40fcdadc5264f
Diffstat (limited to 'vcl/inc/salframe.hxx')
-rw-r--r-- | vcl/inc/salframe.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/inc/salframe.hxx b/vcl/inc/salframe.hxx index 7638fd91ade2..f9f2d482fd5d 100644 --- a/vcl/inc/salframe.hxx +++ b/vcl/inc/salframe.hxx @@ -243,6 +243,13 @@ public: { } + // return true to indicate tooltips are shown natively, false otherwise + virtual bool ShowTooltip(const OUString& /*rHelpText*/, const Rectangle& /*rHelpArea*/ ) + { + return false; + } + + // Callbacks (indepent part in vcl/source/window/winproc.cxx) // for default message handling return 0 void SetCallback( vcl::Window* pWindow, SALFRAMEPROC pProc ); |