[pygtk] ANNOUNCE : a PyGTK Markup Tooltips module
Franck PEREZ
franck.perez at gmail.com
Sun Dec 4 22:31:11 WST 2005
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
More information about the pygtk
mailing list