Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


gtk/image.hh File Reference

A GtkImage C++ wrapper interface. More...

#include <xfc/gtk/misc.hh>
#include <gtk/gtkimage.h>
#include <gtk/gtkstock.h>
#include <xfc/gtk/inline/image.inl>

Namespaces

Classes

Enumerations


Detailed Description

A GtkImage C++ wrapper interface.

Provides Image, a widget that can dispay various kinds of objects as an image. Most typically, you would load a Gdk::Pixbuf from a file, and then display that.


Enumeration Type Documentation

enum ImageType
 

Describes the image data representation used by a GtkImage.

If you want to get the image from the widget, you can only get the currently-stored representation. e.g. if the get_storage_type() returns IMAGE_PIXBUF, then you can call get_pixbuf() but not get_stock(). For empty images, you can request any storage type (call any of the "get" functions), but they will all return null values.

Enumeration values:
IMAGE_EMPTY  There is no image displayed by the widget.
IMAGE_PIXMAP  The widget contains a Gdk::Pixmap.
IMAGE_IMAGE  The widget contains a Gdk::Image.
IMAGE_PIXBUF  The widget contains a Gdk::Pixbuf.
IMAGE_STOCK  The widget contains a stock icon name.
IMAGE_ICON_SET  The widget contains a Gtk::IconSet.
IMAGE_ANIMATION  The widget contains a Gdk::PixbufAnimation.
IMAGE_ICON_NAME  The widget contains an image from the current icon theme.
Xfce Foundation Classes


Copyright © 2004-2005 The XFC Development Team XFC 4.3