On Sat, Dec 04, 2010 at 11:05:14PM +0100, Dieter Verfaillie wrote: > Quoting "Gerald Britton" <[email protected]>: > >Say, how would I patch this code to show tips when I mouse over the > >column headers? It works great for the rows underneath. > > That's a good question... Has anybody done something like that?
in sqlkit i substitute the header with a gtk.Label(), at that point you can do: label.et_markup(...) label.set_tooltip_text(...) and tooltips work as expected even thought it won't show the little arrow to sort the column. I had to substitute the header to be able to use markup in the label and to have a menu dropdown, by I wasn't able to have the dropdown on button press I just have it on button release. sandro *:-) -- Sandro Dentella *:-) http://www.reteisi.org Soluzioni libere per le scuole http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
