[ANN] PyGtkImageView 1.2.0 -- Image viewer widget for PyGTK
[Posted April 6, 2009 by cook]
| From: |
| BJörn Lindqvist <bjourne-AT-gmail.com> |
| To: |
| python-announce-list-AT-python.org, PyGTK mailing list <pygtk-AT-daa.com.au> |
| Subject: |
| [ANN] PyGtkImageView 1.2.0 -- Image viewer widget for PyGTK |
| Date: |
| Sun, 5 Apr 2009 22:49:29 +0200 |
| Message-ID: |
| <740c3aec0904051349t6a3597f8h33a0118dbebdcc4b@mail.gmail.com> |
| Archive-link: |
| Article, Thread
|
I'm pleased to finally announce PyGtkImageView 1.2.0!
Description
-----------
GtkImageView is a simple image viewer widget for GTK+. Similar to the
image viewer panes in gThumb or Eye of Gnome. It makes writing image
viewing and editing applications easy. Among its features are:
* Mouse and keyboard zooming.
* Scrolling and dragging.
* Adjustable interpolation.
* Fullscreen mode.
* GIF animation support.
* Ability to make selections.
* Extensible using a tool system.
PyGtkImageView is the Python bindings for GtkImageView.
PyGtkImageView Download
-----------------------
Subversion: svn co http://publicsvn.bjourne.webfactional.com/pygtkimageview
Tarball:
http://trac.bjourne.webfactional.com/chrome/common/releas...
API doc: http://trac.bjourne.webfactional.com/chrome/common/pygtki...
PDF: http://trac.bjourne.webfactional.com/chrome/common/releas...
Project website: http://trac.bjourne.webfactional.com
Examples
--------
Here is the canonical example for using the widget:
import gtk
import gtk.gdk
import gtkimageview
view = gtkimageview.ImageView()
scroll = gtkimageview.ImageScrollWin(view)
# Where "box" is a gtk.Box already part of your layout.
box.pack_start(scroll)
pixbuf = gtk.gdk.pixbuf_new_from_file("someimage.png")
view.set_pixbuf(pixbuf)
--
mvh Björn
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html
(
Log in to post comments)