Add possibility to delay showing wxRichToolTip.
Optionally show the tooltip after a delay instead of doing it immediately when Show() is called. Closes #14846. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -133,17 +133,21 @@ public:
|
||||
//@}
|
||||
|
||||
/**
|
||||
Set timeout after which the tooltip should disappear, in milliseconds.
|
||||
Set timeout after which the tooltip should disappear and
|
||||
optionally set a delay before the tooltip is shown, in milliseconds.
|
||||
|
||||
By default the tooltip is hidden after system-dependent interval of
|
||||
time elapses but this method can be used to change this or also disable
|
||||
hiding the tooltip automatically entirely by passing 0 in this parameter
|
||||
(but doing this will prevent the native MSW version from being used).
|
||||
By default the tooltip is shown immediately and hidden after a
|
||||
system-dependent interval of time elapses. This method can be used to
|
||||
change this or also disable hiding the tooltip automatically entirely
|
||||
by passing 0 in this parameter (but doing this will prevent the native
|
||||
MSW version from being used).
|
||||
|
||||
Notice that the tooltip will always be hidden if the user presses a key
|
||||
or clicks a mouse button.
|
||||
|
||||
Parameter @a millisecondsDelay is new since wxWidgets 2.9.5.
|
||||
*/
|
||||
void SetTimeout(unsigned milliseconds);
|
||||
void SetTimeout(unsigned millisecondsTimeout, unsigned millisecondsDelay = 0);
|
||||
|
||||
/**
|
||||
Choose the tip kind, possibly none.
|
||||
|
Reference in New Issue
Block a user