summaryrefslogtreecommitdiff
path: root/gtk/gtkenums.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-01-14 17:49:48 -0500
committerMatthias Clasen <mclasen@redhat.com>2011-01-14 17:49:48 -0500
commit6cf78a12c1e179b2d5eef4f045e242ceae475709 (patch)
tree9168ff65004d17ce196c4ee87ae829d14a125ca0 /gtk/gtkenums.h
parent06864ba656fb1ac87540c5008280f4250e83355b (diff)
downloadgtk+-6cf78a12c1e179b2d5eef4f045e242ceae475709.tar.gz
Move GtkTextTag docs inline
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r--gtk/gtkenums.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index e62e43e107..78ea40c98d 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -619,7 +619,18 @@ typedef enum
GTK_WINDOW_POPUP
} GtkWindowType;
-/* Text wrap */
+/**
+ * GtkWrapMode:
+ * @GTK_WRAP_NONE: do not wrap lines; just make the text area wider
+ * @GTK_WRAP_CHAR: wrap text, breaking lines anywhere the cursor can
+ * appear (between characters, usually - if you want to be technical,
+ * between graphemes, see pango_get_log_attrs())
+ * @GTK_WRAP_WORD: wrap text, breaking lines in between words
+ * @GTK_WRAP_WORD_CHAR: wrap text, breaking lines in between words, or if
+ * that is not enough, also between graphemes
+ *
+ * Describes a type of line wrapping.
+ */
typedef enum
{
GTK_WRAP_NONE,