The pygtk documentation still hasn't been fixed 2 years later. I filed a bug with pygtk: https://bugzilla.gnome.org/show_bug.cgi?id=686843.
** Bug watch added: GNOME Bug Tracker #686843 https://bugzilla.gnome.org/show_bug.cgi?id=686843 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to pygtk in Ubuntu. https://bugs.launchpad.net/bugs/582536 Title: treeview.set_tooltip_column won't work with some text Status in “pygtk” package in Ubuntu: Invalid Bug description: According to the documentation: "If you only plan to have simple (text-only) tooltips on full rows, you can use this function to have GtkTreeView handle these automatically for you. column should be set to the column in tree_view's model containing the tooltip texts, or -1 to disable this feature." This works fine in most cases, but it fails to show anything in the tooltip if the text contains & or <, or some other odd characters. It shows warnings like this: test.py:62: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as & gtk.main() test.py:62: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 1 char 12: '<' is not a valid name gtk.main() In the attached example, you can see the tooltip on all text unless it has odd characters like & or <. Also, commenting out the line with self.window.set_size_request causes the desktop effects to crash on 10.04. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pygtk/+bug/582536/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp