gtk2/docs/reference/gtk/tmpl/gtkimage.sgml
1999-09-20 15:46:35 +00:00

64 lines
1.4 KiB
Plaintext

<!-- ##### SECTION Title ##### -->
GtkImage
<!-- ##### SECTION Short_Description ##### -->
A widget displaying a graphical image
<!-- ##### SECTION Long_Description ##### -->
<para>
The #GtkImage widget displays a graphical image. The image is typically created
using gdk_image_new.
</para>
<para>
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.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
#GtkPixmap, #GdkRgb
</para>
<!-- ##### STRUCT GtkImage ##### -->
<para>
This struct contain private data only and should be accessed by the functions
below.
</para>
@misc:
@image:
@mask:
<!-- ##### FUNCTION gtk_image_new ##### -->
<para>
Creates the new GtkImage using the value and the mask.
</para>
@val:
@mask: a GDKBitmap that indicates which parts of the image should be transparent.
@Returns: the GtkImage
<!-- ##### FUNCTION gtk_image_set ##### -->
<para>
Sets the GtkImage
</para>
@image: a #GdkPixmap
@val:
@mask: a GDKBitmap that indicates which parts of the image should be transparent.
<!-- ##### FUNCTION gtk_image_get ##### -->
<para>
Gets the GtkImage
</para>
@image: a #GdkPixmap
@val:
@mask: a GDKBitmap that indicates which parts of the image should be transparent.