[pygtk] gtk.ComboBox() and gtk.Tooltips()
Marcus Habermehl
bmh1980de at yahoo.de
Tue Aug 7 23:24:00 WST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gian Mario Tagliaretti schrieb:
> 2007/8/4, Marcus Habermehl <bmh1980de at yahoo.de>:
>
> Hi Marcus,
>
>>> Try putting the ComboBox inside an EventBox and setting the tip on the
>>> EventBox, i.e.
>>> ebox = gtk.EventBox()
>>> ebox.add(combobox)
>>> tips.set_tip(ebox, 'whatever')
>> Ah, yes!
>
> Note that starting from GTK+ 2.12 a new tooltip system will take place
> and the old one will be deprecated, you won't need an eventbox
> anymore.
>
> http://svn.gnome.org/viewcvs/pygtk/trunk/examples/pygtk-demo/demos/tooltip.py?view=markup
Oh, good to know! :-)
Greetings
Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGuI6Q6QtJuHAzSHYRAggkAKC8V5ZYD+AeqDQ0nzIvsJhg/a3shQCg4BSj
k7VMk0eA8RBGhcqK9DH77sM=
=bSb6
-----END PGP SIGNATURE-----
More information about the pygtk
mailing list