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 01:09:46 -0400
commit5b987526b5e6780e565de647cc94820fc7c8d9d2 (patch)
treef2c4a5ecb5112bd41c9d52d69357f8c1b0d734a7
parentf5fa9600815ad319aad30d6e486e149a0e45511f (diff)
downloadpango-5b987526b5e6780e565de647cc94820fc7c8d9d2.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 93dcadbc..4634a64f 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