diff options
author | Alexander Larsson <alexl@redhat.com> | 2006-06-19 14:27:50 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2006-06-19 14:27:50 +0000 |
commit | ff865a441f072d3fdf07ef5e9bf65748eea64dbb (patch) | |
tree | a96c5d7a5bf4449d9437cdca611fe336a36b7883 /gtk/gtklabel.h | |
parent | f1191fdf3323dfffc8ec902234978e8e6a06c5b5 (diff) | |
download | gtk+-ff865a441f072d3fdf07ef5e9bf65748eea64dbb.tar.gz |
Add gtk_label_set_line_wrap_mode, gtk_label_get_line_wrap_mode, and a
2006-06-19 Alexander Larsson <alexl@redhat.com>
* 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.
Diffstat (limited to 'gtk/gtklabel.h')
-rw-r--r-- | gtk/gtklabel.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |