Maybe I misunderstand you but I think what you need is

$textview->set_wrap_mode("word");

Gabor

On 7/29/05, Yu Wang <[EMAIL PROTECTED]> wrote:
> Hi, all
> 
> I want to have a textview widget behaves like a simple text editor. The 
> desired
> right margin at column is 80 characters, and text row with its length larger
> than 80 chars will be wrapped back to a new line.
> 
> What is the right way to do this?
> 
> Thanks!
>
_______________________________________________
gtk-perl-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Reply via email to