You are not logged in.

#1 2009-12-19 14:37:25

FSX
Member
Registered: 2009-08-06
Posts: 57

PyGTK image widget with panning and optional scrollbars

I couldn't find a widget that does this so I made an attemp to make one myself.

Here's the code (click browse in the sidebar and view scrolledimage.py): http://hg.61924.nl/pygtk-extras/. There is an example in the file itself. After you changed the 2 paths to the images in the file, you can execute it with Python.

It isn't perfect and it has some bugs, but I don't have any use for it at the moment. You can do anything you want with it. smile

Last edited by FSX (2009-12-19 14:38:36)

Offline

Board footer

Powered by FluxBB