Hello everyone, Like many people, I needed a markup tooltips for my PyGTK applications. Since gedit guys did most of the work, I borrowed their C source code and made a wrapper with codegen.
The Python module can be downloaded here : http://eleves.ec-lille.fr/~perezf/python/ See a screenshot : http://eleves.ec-lille.fr/~perezf/python/gtkmarkuptooltips/shot.png Both source code and compiled version (a .so file for Linux) are available. A sample script is available as well. You have to copy the shared object where you need it, it's very basic and I apologize for that. You use gtkmarkuptooltips.MarkupTooltips() the way you'd use gtk.Tooltips(), except that the tip can be something like "A <i>hint</i> in <b>bold</b>". This is my first Python module, comments welcomed. For instance, it would be great to extend pygtk to simply call gtk.MarkupTooltips() but I had no time yet to look at that yet. Hope it helps, though. Franck PEREZ _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
