Re: redirecting stdout to gtk_text widget



ashish gupta escreveu:
hi,
I need help on how to redirect stdout to a text widget. I am writing a gui using GTK libraries.I need to be able to redirect text that is going to stdout through the printf's to my text widget.
My application is in C and i am developing in Windows
I could direct it all to a file, and then read the file,
but it seams there would be a better way. thanks for ur help in advance

Hi again,

 On my example you must convert the stdout to UTF-8 if needed.

--

[]'s

Claudio Polegato Junior

Um peregrino de Problemas; Um pergaminho de Soluções.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]