Jump to content
Compatible Support Forums
Sign in to follow this  
news

[ANN] GtkImageView 1.6.2 - Image viewer widget for GTK+

Recommended Posts

I'm pleased to finally announce GtkImageView 1.6.2!

 

Description

-----------

GtkImageView is a simple and fast 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.

 

Bindings exists for Perl and Python and incomplete ones for C++.

 

Download

--------

Check it out from Subversion:

 

svn co http://publicsvn.bjourne.webfactional.com/gtkimageview

 

Or download the latest release tarball:

 

http://trac.bjourne.webfactional.com/attachment/wiki/WikiStart/gtkimageview-1.6.2.tar.gz?format=raw

 

API documentation can be found online:

 

http://trac.bjourne.webfactional.com/chrome/common/gtkimageview-docs/

 

Or by browsing to the ./docs/reference/html/index.html file.

 

Project website: http://trac.bjourne.webfactional.com

 

Examples

--------

Here is the canonical example for using the widget::

 

#include

#include

...

GtkWidget *view = gtk_image_view_new ();

GtkWidget *scroll = gtk_image_scroll_win_new (GTK_IMAGE_VIEW (view));

 

/* Where "box" is a GtkBox already part of your layout. */

gtk_box_pack_start (GTK_BOX (box), scroll, TRUE, TRUE, 0);

 

GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file ("someimage.png", NULL);

gtk_image_view_set_pixbuf (GTK_IMAGE_VIEW (view), pixbuf, TRUE);

 

Future

------

* Gtk# bindings.

* Haskell bindings.

 

 

--

mvh Björn

_______________________________________________

 

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×