[pygtk] Display tooltips in status bar

Jarek Zgoda jzgoda at o2.pl
Sat May 13 06:03:12 WST 2006


Patrick K. O'Brien napisal:

>>I'd like to display menuitem's tooltip text in status bar area. Which
>>event should I intercept to be able to prevent displaying it in usual
>>tooltip window? I tried with show-help, but this doesn't seem to work.
> 
> This is actually not trivial, unfortunately.  The following code shows
> one way to do it.  (Johan Dahlin wrote most of this code and deserves
> the credit for it.)  Note that the gazpacho widget loader doesn't have
> the granularity required to connect the proxy handlers in time to work
> as shown here (though it would be real nice if it did):

Gosh, didn't think this could be *that* complicated...

-- 
Jarek Zgoda
http://jpa.berlios.de/


More information about the pygtk mailing list