Skip to content

Conversation

melektron
Copy link

This PR adds the ability to hide (aka. disable) the tooltip using a .hide() method. This simply withdraws immediately and prevents the tooltip from re-appearing. To enable the tooltip again, the .show() method can be used. This method will allow the tooltip to appear again. If it is already in the VISIBLE state, it will additionally immediately deiconify and update it.

@gnikit I needed this in one of my projects, not sure whether you think this fit in the public library. Also not sure what you think of .show() being similar to the internal ._show(). The wording may need some adjustment.

@melektron melektron requested a review from gnikit as a code owner August 11, 2024 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant