summaryrefslogtreecommitdiff
path: root/gdk/gdktexture.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-04 11:04:02 -0800
committerMatthias Clasen <mclasen@redhat.com>2017-12-04 11:04:02 -0800
commitd5afb9e8050a268a6680e066c2fa87db37d82509 (patch)
treec815220fe891e44c6ac54c437db94ce65487ca19 /gdk/gdktexture.c
parent384a999032214c9bbf9c88a306cf555a87d1b937 (diff)
downloadgtk+-d5afb9e8050a268a6680e066c2fa87db37d82509.tar.gz
Add a long description for GdkTexture
Diffstat (limited to 'gdk/gdktexture.c')
-rw-r--r--gdk/gdktexture.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/gdk/gdktexture.c b/gdk/gdktexture.c
index a7250d1163..6921297646 100644
--- a/gdk/gdktexture.c
+++ b/gdk/gdktexture.c
@@ -40,6 +40,22 @@
#include "gdkcairo.h"
/**
+ * SECTION:gdktexture
+ * @Short_description: Image data for display
+ * @Title: GdkTexture
+ *
+ * A GdkTexture represents image data that can be displayed on screen.
+ *
+ * There are various ways to create GdkTexture objects from a #GdkPixbuf
+ * or a cairo surface, or other pixel data.
+ *
+ * An important aspect of GdkTextures is that they are immutable - once
+ * the image data has been wrapped in a GdkTexture, it may be uploaded
+ * to the GPU or used in other ways that make it impractical to allow
+ * modification.
+ */
+
+/**
* GdkTexture:
*
* The `GdkTexture` structure contains only private data.