[gtkmm] Filling a TextView from a text file?
- From: Markus Gerwinski <markus gerwinski de>
- To: gtkmm-list gnome org
- Subject: [gtkmm] Filling a TextView from a text file?
- Date: Tue, 29 Jul 2003 18:51:01 +0200
Hi folks,
is there a simple method to get the contents of a text file into a TextView?
Or do I have to carry the ifstreams into the TextView char by char?
I already tried getting the text file into a ustring using the ">>" operator,
like this:
ustring text;
text_file >> text;
But this only got me the file contents up to the first space char.
Thanks in advance,
Markus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]