[pygtk] query-tooltip problems
Gary Jaffe
gfj555 at gmail.com
Fri Jan 18 09:32:58 WST 2008
Hi Everyone --
I want to catch when the mouse is hovered over a certain widget and call
a method at the same time a tooltip popup would appear.
So I connected the widget to the query-tooltip signal like this.
widget.set_tooltip_text("Hello World!")
widget.connect("query-tooltip", self.hover)
But self.hover is called as soon as the mouse enters the widget's
allocation. There is no delay. There is, however, a delay for the
appearance of the tooltip.
Does anyone know how can I call self.hover at the same time a tooltip
appears?
Thanks,
Gary
More information about the pygtk
mailing list