« Return to Thread: Redirecting cout to a TextBuffer

Re: Redirecting cout to a TextBuffer

by Søren Hauberg-2 :: Rate this Message:

Reply to Author | View in Thread

2008/5/10 Milosz Derezynski <internalerror@...>:
> I guess you should set up a watch on stdout using Glib::IOChannel. I'm not
> sure how to do this for C++ streams since the IOChannel API, while wrapped
> into C++, still operates on C FDs only, but this would solve the problem.
Thanks, I'll try that. Is such an approach portable? I mean, does it
work on Windows?

Søren
_______________________________________________
gtkmm-list mailing list
gtkmm-list@...
http://mail.gnome.org/mailman/listinfo/gtkmm-list

 « Return to Thread: Redirecting cout to a TextBuffer