Closed erikwachters closed 6 months ago
Faced the same problem and I was able to address simply with:
ToolTip(b, msg="Hover info").attributes('-topmost',True)
I think the solution of @ilopata1 is what you should be doing when you want any widget to be at the top.
Having explicit options for certain attributes, seems confusing to me. It might be worth adding a short example where .attributes('-topmost',True)
is used.
I am closing this since the expectation of the Tooltip
widget vs other tkinter
widgets are the same, i.e. if you want to be topmost you need to use .attributes('-topmost',True)
. This is one of the reasons why the tooltip itself inherits from the tkinter.TopLevel
class.
Any chance you can add .wm_attributes('-topmost', True) to the tooltip itself?