mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
parent
033bb597de
commit
4a9a849acb
@ -2,21 +2,29 @@
|
|||||||
GtkImage
|
GtkImage
|
||||||
|
|
||||||
<!-- ##### SECTION Short_Description ##### -->
|
<!-- ##### SECTION Short_Description ##### -->
|
||||||
|
A widget displaying a graphical image
|
||||||
|
|
||||||
<!-- ##### SECTION Long_Description ##### -->
|
<!-- ##### SECTION Long_Description ##### -->
|
||||||
<para>
|
<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>
|
</para>
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
#GtkPixmap, #GdkRgb
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!-- ##### STRUCT GtkImage ##### -->
|
<!-- ##### STRUCT GtkImage ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
This struct contain private data only and should be accessed by the functions
|
||||||
|
below.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@misc:
|
@misc:
|
||||||
@ -25,31 +33,31 @@ GtkImage
|
|||||||
|
|
||||||
<!-- ##### FUNCTION gtk_image_new ##### -->
|
<!-- ##### FUNCTION gtk_image_new ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Creates the new GtkImage using the value and the mask.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@val:
|
@val:
|
||||||
@mask:
|
@mask: a GDKBitmap that indicates which parts of the image should be transparent.
|
||||||
@Returns:
|
@Returns: the GtkImage
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_image_set ##### -->
|
<!-- ##### FUNCTION gtk_image_set ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Sets the GtkImage
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@image:
|
@image: a #GdkPixmap
|
||||||
@val:
|
@val:
|
||||||
@mask:
|
@mask: a GDKBitmap that indicates which parts of the image should be transparent.
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION gtk_image_get ##### -->
|
<!-- ##### FUNCTION gtk_image_get ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Gets the GtkImage
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@image:
|
@image: a #GdkPixmap
|
||||||
@val:
|
@val:
|
||||||
@mask:
|
@mask: a GDKBitmap that indicates which parts of the image should be transparent.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user