[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to save TextView data to file?
- From: Gavin Brown <gavin brown uk com>
- To: gtk-perl-list gnome org
- Subject: Re: How to save TextView data to file?
- Date: 24 Jul 2003 09:19:53 +0100
On Thu, 2003-07-24 at 01:01, Ewing Jeff wrote:
> print(OUT $text_buffer->get_text(1,20,FALSE));
get_text expects the first two arguments to be Gtk2::TextIter instances.
So if you wanted to get the entire contents of the buffer, use
$buffer->get_text(
$buffer->get_start_iter,
$buffer->get_end_iter,
FALSE
);
Gavin.
--
Gavin Brown
e: gavin brown uk com
w: http://jodrell.net/
PGP/GPG key ID: 891D8FCA
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]