summaryrefslogtreecommitdiff
path: root/gtk/gtktextview.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-05 22:22:50 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-05 22:22:50 -0400
commit9fedf63c9c41393e7f5b77af1329a731c960fb8b (patch)
tree5aeb1bb12f0bd3fc7b0194b3cc73d9b1e2afd4c0 /gtk/gtktextview.h
parentd1213c6e66ab84cfec8476c2c4661ea8ac43e607 (diff)
downloadgtk+-line-spacing.tar.gz
textview: Add a line-spacing propertyline-spacing
This exposes a line-spacing property that corresponds to the PangoLayout property of the same name.
Diffstat (limited to 'gtk/gtktextview.h')
-rw-r--r--gtk/gtktextview.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h
index 325077a871..496ca09a2b 100644
--- a/gtk/gtktextview.h
+++ b/gtk/gtktextview.h
@@ -432,6 +432,12 @@ PangoContext *gtk_text_view_get_rtl_context (GtkTextView *text_vi
GDK_AVAILABLE_IN_ALL
PangoContext *gtk_text_view_get_ltr_context (GtkTextView *text_view);
+GDK_AVAILABLE_IN_4_4
+void gtk_text_view_set_line_spacing (GtkTextView *text_view,
+ float factor);
+GDK_AVAILABLE_IN_4_4
+float gtk_text_view_get_line_spacing (GtkTextView *text_view);
+
G_END_DECLS
#endif /* __GTK_TEXT_VIEW_H__ */