[pygtk] gtk.ComboBox() and gtk.Tooltips()
Gian Mario Tagliaretti
gianmt at gnome.org
Sun Aug 5 16:13:45 WST 2007
2007/8/4, Marcus Habermehl <bmh1980de a 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
cheers
--
Gian Mario Tagliaretti
More information about the pygtk
mailing list