diff options
author | Martin Baulig <martin@home-of-linux.org> | 1998-10-18 13:10:08 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-10-18 13:10:08 +0000 |
commit | 7dbb5755a4cafc45108ec66ac89dfc1f11639494 (patch) | |
tree | 1473dff62db049cb85cb15a22f3b910a5657092b /gtk/gtktext.h | |
parent | eff33964d753abf04786ce1f03a8cffff5a76cd2 (diff) | |
download | gdk-pixbuf-7dbb5755a4cafc45108ec66ac89dfc1f11639494.tar.gz |
new function to toggle line wrapping like gtk_text_set_word_wrap ()
1998-10-18 Martin Baulig <martin@home-of-linux.org>
* gtk/gtktext.c (gtk_text_set_line_wrap): new function to toggle
line wrapping like gtk_text_set_word_wrap () toggles word wrapping.
Diffstat (limited to 'gtk/gtktext.h')
-rw-r--r-- | gtk/gtktext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktext.h b/gtk/gtktext.h index 1aba9a1a7..7018667c1 100644 --- a/gtk/gtktext.h +++ b/gtk/gtktext.h @@ -166,6 +166,8 @@ void gtk_text_set_editable (GtkText *text, gboolean editable); void gtk_text_set_word_wrap (GtkText *text, gint word_wrap); +void gtk_text_set_line_wrap (GtkText *text, + gint line_wrap); void gtk_text_set_adjustments (GtkText *text, GtkAdjustment *hadj, GtkAdjustment *vadj); |