Well, yes I've found that on google, but what I couldn't find so fast, is
how I can use the custom created stream interact with the TextView.

2007/5/13, Tomasz Olszewski <[EMAIL PROTECTED]>:

Lucas van Dijk napisaƂ(a):
> Is it possible to redirect everything what's send to cout, to a
TextView?
Sure! You'll have to create a special stream buffer and order std::cout
to replace its default buffer object with your own. Asking Google for
"cout redirection" should give you an answer how to achieve the latter.
To implement a new stream buffer I would recommend using Boost.Iostreams
library which will provide you with an easy to use framework.

BTW This is not really a gtkmm-related question.




--
Lucas
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to