Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ability to show and hide the tooltip #105

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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