You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. yes you are correct about that. It is meant to hide the tooltip.
What i meant is the default bind you have goes to button 3 on the mouse
which is right click.
I dont think right click is correct i think it should be the normal left
click so when you click somewhere else it will hide the tooltip.
Regards Greg
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 = [
Binding(self.widget, "", self.on_enter),
Binding(self.widget, "", self.on_leave),
Binding(self.widget, "", self.on_leave),
]
if self.follow:
bindings.append(
Binding(self.widget, "", self._update_tooltip_coords)
)
return bindings
The text was updated successfully, but these errors were encountered: