[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: scrollable text widget



"Michael T. Babcock" wrote:
> 
> Any way to set gtktext to word-wrap instead of character-wrapping (or whatever
> we call that ugly effect) ...?

>From the Gtk Tutorial:

The text widget wraps lines of text that are too long to fit onto a
single line of the display window. Its default behaviour is to break
words across line breaks. This can
be changed using the next function: 

      void gtk_text_set_word_wrap( GtkText *text,
                                   gint     word_wrap );

Using this function allows us to specify that the text widget should
wrap long lines on word boundaries. The word_wrap argument is a TRUE or
FALSE value. 


warm regards ...
clemens

--

KiCK (Kirchgatterer Computer & Kommunikation)
++43 7675 4095
++43 0699 1012 9109



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]