[Glade-users] problems with glade
- From: damon karuna uklinux net (Damon Chaplin)
- Subject: [Glade-users] problems with glade
- Date: 09 Nov 2003 14:10:49 +0000
On Sun, 2003-11-09 at 11:28, Albert wrote:
hi all,
Now the program don't return errors, but, the text_view only show the
last line of the file, I think add:: sprintf(magatzem,"%s\n", magatzem);
but text_view only show the last line.
It is because you are using set_text() which replaces all the text in
the buffer:
gtk_text_buffer_set_text (buffer, out, -1);
You need to use something like gtk_text_buffer_insert().
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]