When you write a program in c which has a lot of printf for a lot purpose: debuggin, information, etc. I would like to do something like that in gtk, having some widget that would display all the printf messages I usually would do in a normal c program
Thanks,
—UPDATE—
I’m using vte as ptomato advised. Although some problems came up.
I was using glade-3 and when the file glade was open the vte widget didn’t show. I notice that a lot of Warning and 2 Critical errors would display while opening. One of those critical was
Unable to load module 'vte' from any search paths
I installed libvte-dev throug apt-get and know i see as in the widget palette
You can use VTE, a terminal emulator widget. I’m not sure, but I think you can redirect your program’s
stdoutto the widget usingvte_terminal_set_pty().