Stuart Hughes wrote:
Thanks for your help,
I followed your advice, and it works if you do:
tree = gtk.glade.XML("project4.glade") tree.signal_autoconnect(dic)
# work around toolbutton tooltip issue tbut = tree.get_widget("toolbutton3") tt = gtk.Tooltips() tbut.set_tooltip(tt, "This is a tooltip")
# mainloop gtk.main()
Is there a way at getting at the already existing gtk.Tooltips object (in the toolbutton/toolbar?) rather than having to create a new one with tt = gtk.Tooltips()?
It looks llike the Toolbar's internal Tooltips object is for use with the old deprecated interface and should not be accessed or used with the new interface.
John
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
