summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-07-05 22:43:35 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-07-06 14:45:48 -0400
commitd2321aa9287aa135d20ba8155841305678bf611b (patch)
tree90f54d89e287e24385245eb1a8c516b50b134700
parent87b86f128f1eca3008fb4d546668abb7b12c225d (diff)
downloadpango-d2321aa9287aa135d20ba8155841305678bf611b.tar.gz
layout: Document default values
Since these are not properties, their default values aren't documented anywhere. Until now.
-rw-r--r--pango/pango-layout.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index cd73e27a..3fd5f28f 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -779,6 +779,8 @@ pango_layout_get_font_description (PangoLayout *layout)
*
* Note that this setting is not implemented and so is ignored in
* Pango older than 1.18.
+ *
+ * The default value is %FALSE.
*/
void
pango_layout_set_justify (PangoLayout *layout,
@@ -880,6 +882,8 @@ pango_layout_get_auto_dir (PangoLayout *layout)
*
* Sets the alignment for the layout: how partial lines are
* positioned within the horizontal space available.
+ *
+ * The default alignment is %PANGO_ALIGN_LEFT.
*/
void
pango_layout_set_alignment (PangoLayout *layout,
@@ -975,6 +979,8 @@ pango_layout_get_tabs (PangoLayout *layout)
* as paragraph separators; instead, keep all text in a single paragraph,
* and display a glyph for paragraph separator characters. Used when
* you want to allow editing of newlines on a single text line.
+ *
+ * The default value is %FALSE.
*/
void
pango_layout_set_single_paragraph_mode (PangoLayout *layout,
@@ -1027,6 +1033,8 @@ pango_layout_get_single_paragraph_mode (PangoLayout *layout)
* each paragraph is ellipsized separately or the entire layout
* is ellipsized as a whole depends on the set height of the layout.
*
+ * The default value is %PANGO_ELLIPSIZE_NONE.
+ *
* See [method@Pango.Layout.set_height] for details.
*
* Since: 1.6