From ff865a441f072d3fdf07ef5e9bf65748eea64dbb Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 19 Jun 2006 14:27:50 +0000 Subject: Add gtk_label_set_line_wrap_mode, gtk_label_get_line_wrap_mode, and a 2006-06-19 Alexander Larsson * gtk/gtk.symbols: * gtk/gtklabel.[ch]: Add gtk_label_set_line_wrap_mode, gtk_label_get_line_wrap_mode, and a wrap-mode property that lets you set the PangoWrapMode. --- gtk/gtklabel.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gtk/gtklabel.h') diff --git a/gtk/gtklabel.h b/gtk/gtklabel.h index 3e14e01b4a..e13a71677d 100644 --- a/gtk/gtklabel.h +++ b/gtk/gtklabel.h @@ -61,6 +61,7 @@ struct _GtkLabel guint single_line_mode : 1; guint have_transform : 1; guint in_click : 1; + guint wrap_mode : 3; guint mnemonic_keyval; @@ -143,6 +144,9 @@ void gtk_label_set_pattern (GtkLabel *label, void gtk_label_set_line_wrap (GtkLabel *label, gboolean wrap); gboolean gtk_label_get_line_wrap (GtkLabel *label); +void gtk_label_set_line_wrap_mode (GtkLabel *label, + PangoWrapMode wrap_mode); +PangoWrapMode gtk_label_get_line_wrap_mode (GtkLabel *label); void gtk_label_set_selectable (GtkLabel *label, gboolean setting); gboolean gtk_label_get_selectable (GtkLabel *label); -- cgit v1.2.1