Re: Gtk2::TextView problems output



Hello,

On Mon, 18 Feb 2008 21:56:03 +0100
"kilckk" <kilckk libero it> wrote:
Hello everyone, I wanted to know how to retrieve the text in a textview.
But with a TextView?

You may use that:

my $buffer = $textView->get_buffer;
my $text = $buffer->get_text($buffer->get_start_iter,
                             $buffer->get_end_iter, 1);


Christian.



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