GtkImage
A widget displaying a graphical image
The #GtkImage widget displays a graphical image. The image is typically created
using gdk_image_new.
The pixels in a #GtkImage may be manipulated by the application after creation,
as #GtkImage store the pixel data on the client side. If you wish to store the
pixel data on the server side (thus not allowing manipulation of the data after
creation) you should use #GtkPixmap.
#GtkPixmap, #GdkRgb
This struct contain private data only and should be accessed by the functions
below.
Describes the representation stored 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 gtk_image_get_storage_type() returns #GTK_IMAGE_PIXBUF, then you can call
gtk_image_get_pixbuf() but not gtk_image_get_stock(). For empty images, you can
request any storage type (call any of the "get" functions), but they will all
return %NULL values.
@GTK_IMAGE_EMPTY: there is no image displayed by the widget
@GTK_IMAGE_PIXMAP: the widget contains a #GdkPixmap
@GTK_IMAGE_IMAGE: the widget contains a #GdkImage
@GTK_IMAGE_PIXBUF: the widget contains a #GdkPixbuf
@GTK_IMAGE_STOCK: the widget contains a stock icon name
@GTK_IMAGE_ICON_SET: the widget contains a #GtkIconSet
@GTK_IMAGE_ANIMATION:
@image:
@icon_set:
@size:
@image:
@gdk_image:
@mask:
@image:
@Returns:
@image:
@pixmap:
@mask:
@image:
@stock_id:
@size:
@image:
@Returns:
@image:
@Returns:
@filename:
@Returns:
@icon_set:
@size:
@Returns:
@image:
@mask:
@Returns:
@pixbuf:
@Returns:
@pixmap:
@mask:
@Returns:
@stock_id:
@size:
@Returns:
@animation:
@Returns:
@image:
@filename:
@image:
@icon_set:
@size:
@image:
@gdk_image:
@mask:
@image:
@pixbuf:
@image:
@pixmap:
@mask:
@image:
@stock_id:
@size:
@image:
@animation:
Creates the new GtkImage using the value and the mask.
@Returns: the GtkImage
@val:
@mask: a GDKBitmap that indicates which parts of the image should be transparent.
Sets the GtkImage
@image: a #GdkPixmap
@val:
@mask: a GDKBitmap that indicates which parts of the image should be transparent.
Gets the GtkImage
@image: a #GdkPixmap
@val:
@mask: a GDKBitmap that indicates which parts of the image should be transparent.