[gtk+] GtkBuilder: Mention how GVariant properties are parsed
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkBuilder: Mention how GVariant properties are parsed
- Date: Thu, 14 Apr 2016 19:31:33 +0000 (UTC)
commit 7552b7fca80a930a35bc6a0fe34aaaf7c5bd440e
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Apr 14 15:30:59 2016 -0400
GtkBuilder: Mention how GVariant properties are parsed
gtk/gtkbuilder.c | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index 50375d3..0e4eaca 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -120,17 +120,18 @@
* as %FALSE), enumerations (can be specified by their name, nick or
* integer value), flags (can be specified by their name, nick, integer
* value, optionally combined with “|”, e.g. “GTK_VISIBLE|GTK_REALIZED”)
- * and colors (in a format understood by gdk_rgba_parse()). Pixbufs can
- * be specified as a filename of an image file to load. Objects can be
- * referred to by their name and by default refer to objects declared
- * in the local xml fragment and objects exposed via
- * gtk_builder_expose_object().
- *
- * In general, GtkBuilder allows forward references to objects —
- * declared in the local xml; an object doesn’t have to be constructed
- * before it can be referred to. The exception to this rule is that an
- * object has to be constructed before it can be used as the value of
- * a construct-only property.
+ * and colors (in a format understood by gdk_rgba_parse()).
+ *
+ * GVariants can be specified in the format understood by g_variant_parse(),
+ * and pixbufs can be specified as a filename of an image file to load.
+ *
+ * Objects can be referred to by their name and by default refer to
+ * objects declared in the local xml fragment and objects exposed via
+ * gtk_builder_expose_object(). In general, GtkBuilder allows forward
+ * references to objects — declared in the local xml; an object doesn’t
+ * have to be constructed before it can be referred to. The exception
+ * to this rule is that an object has to be constructed before it can
+ * be used as the value of a construct-only property.
*
* It is also possible to bind a property value to another object's
* property value using the attributes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]