tkinter-tooltip
tkinter-tooltip copied to clipboard
A ToolTip widget for tkinter
The tooltip should try to stay inside the bounds of the monitor whenever possible. Take a look at [this](https://stackoverflow.com/a/41381685) answer.
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,...
updates: - [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.1.0...7.1.1) - [github.com/asottile/pyupgrade: v3.16.0 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.16.0...v3.17.0) - [github.com/psf/black: 24.4.2 → 24.8.0](https://github.com/psf/black/compare/24.4.2...24.8.0)
This PR makes the tooltip fade in when it's showing and fade out when it's hiding. The animations are enabled by default, but they can be disabled by setting the...
Nicely done i like this tooltip !!! ButtonPress goes to mouse btn3. Change to ButtonPress-1 and mouse btn1/left click works fine. def _init_bindings(self) -> list[Binding]: """Initialize the bindings.""" bindings =...
Added logic that detects when tooltips would render outside the viewport and automatically flips/updates their position to maintain visibility.  Related: #7
updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/PyCQA/flake8: 7.2.0 → 7.3.0](https://github.com/PyCQA/flake8/compare/7.2.0...7.3.0) - [github.com/asottile/pyupgrade: v3.20.0 → v3.21.1](https://github.com/asottile/pyupgrade/compare/v3.20.0...v3.21.1) - [github.com/pycqa/isort: 6.0.1 → 7.0.0](https://github.com/pycqa/isort/compare/6.0.1...7.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 25.1.0 → 25.11.0](https://github.com/psf/black-pre-commit-mirror/compare/25.1.0...25.11.0)
I replaced our custom widget with tkinter-tooltip, only to discover that the app’s startup time increased from 4 to 30 seconds. After investigating, I found that each call to ToolTip.__init__...
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4. Release notes Sourced from github/codeql-action's releases. v3.30.7 CodeQL Action Changelog See the releases page for the relevant changes to the CodeQL CLI and language...