-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 B C schrieb: > --- Marcus Habermehl <[EMAIL PROTECTED]> wrote: > > Hi. > > How do I set a tooltip for a gtk.ComboBox()? > > self.tooltips1.set_tip(self.combobox2, "My tooltip") > > doesn't return an error. But the ComboBox doesn't shows the tooltip. > > And I haven't found a description in the PyGTK FAQ. >
>> > 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! That was the solution. Many thanks! :-) Greetings Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGtKd66QtJuHAzSHYRAm0cAKCGvry6lJaMO8Si2wq0fa2s66o2XACgtS4l dHjQ5bm1kRTg90mSagwD1e4= =hzu3 -----END PGP SIGNATURE----- _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
