Re: Redirect C's printf



On Fri, 25 Jul 2003, Joao Rainha wrote:

> I have some functions working in C.
> I'de liked to make a GUI for it.
> It's possible to redirect all the printf's that I have in my code for a
> specific text widget?
> Or I have to rewrite them using gtk_text_insert?

Fork your program and use pipes.

(but using gtk_text_insert is perhaps easier)

-Peter



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