summaryrefslogtreecommitdiff
path: root/gdk/gdkproperty.h
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-11-15 17:59:52 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-11-16 16:20:48 +0900
commit4d6c033d16dac78483b955fc48ea0dc860fcb223 (patch)
tree5741ca3670eefe36bb0701d73476de78b7196449 /gdk/gdkproperty.h
parent7090aa1e1bf666cb68cafb6173ebd7c80861f157 (diff)
downloadgtk+-4d6c033d16dac78483b955fc48ea0dc860fcb223.tar.gz
docs: Move documentation to inline comments: properties
Diffstat (limited to 'gdk/gdkproperty.h')
-rw-r--r--gdk/gdkproperty.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/gdk/gdkproperty.h b/gdk/gdkproperty.h
index 48d5a07d67..4ea6f8153d 100644
--- a/gdk/gdkproperty.h
+++ b/gdk/gdkproperty.h
@@ -35,6 +35,16 @@
G_BEGIN_DECLS
+
+/**
+ * GdkPropMode:
+ * @GDK_PROP_MODE_REPLACE: the new data replaces the existing data.
+ * @GDK_PROP_MODE_PREPEND: the new data is prepended to the existing data.
+ * @GDK_PROP_MODE_APPEND: the new data is appended to the existing data.
+ *
+ * Describes how existing data is combined with new data when
+ * using gdk_property_change().
+ */
typedef enum
{
GDK_PROP_MODE_REPLACE,
@@ -42,11 +52,13 @@ typedef enum
GDK_PROP_MODE_APPEND
} GdkPropMode;
+
GdkAtom gdk_atom_intern (const gchar *atom_name,
gboolean only_if_exists);
GdkAtom gdk_atom_intern_static_string (const gchar *atom_name);
gchar* gdk_atom_name (GdkAtom atom);
+
gboolean gdk_property_get (GdkWindow *window,
GdkAtom property,
GdkAtom type,
@@ -66,6 +78,7 @@ void gdk_property_change (GdkWindow *window,
gint nelements);
void gdk_property_delete (GdkWindow *window,
GdkAtom property);
+
#ifndef GDK_MULTIHEAD_SAFE
gint gdk_text_property_to_text_list (GdkAtom encoding,
gint format,
@@ -87,7 +100,7 @@ gint gdk_string_to_compound_text (const gchar *str,
gint *format,
guchar **ctext,
gint *length);
-#endif
+#endif /* GDK_MULTIHEAD_SAFE */
gint gdk_text_property_to_text_list_for_display (GdkDisplay *display,
GdkAtom encoding,