Re: Gtk2::TextView problems output
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Gtk2::TextView problems output
- Date: Mon, 18 Feb 2008 22:43:36 +0100
On Mon, 2008-02-18 at 21:56 +0100, kilckk wrote:
That is an entry just do:
My $test = $app->get_widget ("test");
Print $test->get_text;
But with a TextView?
Gtk2::TextView is just a display for the text inside a Gtk2::TextBuffer.
So:
my $text_buffer = $text_view->get_buffer;
my $text = $text_buffer->get_text($buffer->get_bounds, TRUE);
--
Bye,
-Torsten
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]