LWN.net Logo

[ANN] GtkImageView 1.0.0 - Image viewer widget for GTK

From:  "=?ISO-8859-1?Q?BJ=F6rn_Lindqvist?=" <bjourne-AT-gmail.com>
To:  gnome-announce-list-AT-gnome.org
Subject:  [ANN] GtkImageView 1.0.0 - Image viewer widget for GTK
Date:  Sun, 15 Apr 2007 19:07:16 +0200
Cc:  gnome-list-AT-gnome.org

I'm pleased to finally announce GtkImageView 1.0.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.

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/Wiki...

API documentation can be found by browsing to the
./docs/reference/html/index.html file.

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

Examples
--------
Here is the canonical example for using the widget::

    #include <gtkimageview/gtkimagescrollwin.h>
    #include <gtkimageview/gtkimageview.h>
    ...
    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);

Future
------
* Python bindings.
* Perl bindings.
* Gtk# bindings.


-- 
mvh Björn
_______________________________________________
gnome-announce-list mailing list
gnome-announce-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-announce-list


(Log in to post comments)

Copyright © 2007, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds