tktooltip package¶
Submodules¶
tktooltip.tooltip module¶
Module defining the ToolTip widget
- class tktooltip.tooltip.ToolTip(widget, msg, delay=0.0, follow=True, refresh=1.0, x_offset=10, y_offset=10, parent_kwargs=None, **message_kwargs)¶
Bases:
Toplevel
Creates a ToolTip (pop-up) widget for tkinter
- DEFAULT_MESSAGE_KWARGS = {'aspect': 1000}¶
- DEFAULT_PARENT_KWARGS = {'bg': 'black', 'padx': 1, 'pady': 1}¶
- S_TO_MS = 1000¶
- on_enter(event)¶
Processes motion within the widget including entering and moving.
- Return type:
Module contents¶
TkToolTip¶
Provides a tooltip (pop-up) widget for tkinter
Features:¶
Normal tooltips
Functions tooltips
Delayed tooltips
Tracking tooltips
Theme-aware tooltips and fully customisable
- class tktooltip.ToolTip(widget, msg, delay=0.0, follow=True, refresh=1.0, x_offset=10, y_offset=10, parent_kwargs=None, **message_kwargs)¶
Bases:
Toplevel
Creates a ToolTip (pop-up) widget for tkinter
- DEFAULT_MESSAGE_KWARGS = {'aspect': 1000}¶
- DEFAULT_PARENT_KWARGS = {'bg': 'black', 'padx': 1, 'pady': 1}¶
- S_TO_MS = 1000¶
- on_enter(event)¶
Processes motion within the widget including entering and moving.
- Return type: