[pygtk] gnome applets and menus
Nigel Tao
nigel.tao at myrealbox.com
Tue Jan 31 04:10:07 WST 2006
> Is it possible to make the right click on the
> textview be ignored by the textview widget and
> acted on by the applet itself?
Look at the 0.1 version (ie the simplest working example) of http://www.ugr.es/~arturogf/applets/software/ which comes with a bonus "writing applets in python" tutorial at http://www.ugr.es/~arturogf/applets/
In particular, this guy has a progressbar (in an eventbox) rather than a textview, but copying that might work for you.
Otherwise, look at deskbar-applet code, although it'll be more complicated.
Nigel.
More information about the pygtk
mailing list