Re: [Vala] stdout.printf not working correctly in GTK+ program
- From: "Ali Sabil" <ali sabil gmail com>
- To: "Jaap A. Haitsma" <jaap haitsma org>
- Cc: vala-list gnome org
- Subject: Re: [Vala] stdout.printf not working correctly in GTK+ program
- Date: Sun, 30 Mar 2008 22:57:20 +0200
use stdout.printf ("hello\n"); to force the buffers to be flushed.
2008/3/30 Jaap A. Haitsma <jaap haitsma org>:
Hi,
If I use stdout.printf in a GTK+ program, I'm not seeing anything
happening on the console. Only when I close the app the text appears
on the console.
The attached sample shows this behavior.
Compile with
valac --pkg gtk+-2.0 -o sample sample.vala
If you press the button no output in the terminal is appearing at
first. Only when you close the app it shows up
Am I doing something wrong?
Jaap
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]