Commit 5759e2a3 authored by Bastian Ilsø's avatar Bastian Ilsø Committed by Matthias Clasen

gtktextview: document how to get line space

adds a paragraph to gtk_text_view_get_pixels_below_lines(),
describing how it can be used together with
gtk_text_view_get_pixels_above_lines() to get the total
amount of line spacing between two paragraphs.
parent b90ae2cf
......@@ -3009,6 +3009,8 @@ gtk_text_view_set_pixels_above_lines (GtkTextView *text_view,
* @text_view: a #GtkTextView
* Gets the default number of pixels to put above paragraphs.
* Adding this function with gtk_text_view_get_pixels_below_lines()
* is equal to the line space between each paragraph.
* Returns: default number of pixels above paragraphs
......@@ -3058,7 +3060,10 @@ gtk_text_view_set_pixels_below_lines (GtkTextView *text_view,
* @text_view: a #GtkTextView
* Gets the value set by gtk_text_view_set_pixels_below_lines().
* The line space is the sum of the value returned by this function and the
* value returned by gtk_text_view_get_pixels_above_lines().
* Returns: default number of blank pixels below paragraphs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment