04-29-07 06:21 AM
'm in the process of making a frontend for one of my programs. I want
to use a label to print updates to the user. When environmental
variables change, I alert the user, but I use g_print and output it to
the command line. I want to know how to print this output to a label
instead.
I've heard that one way of doing it is by using gtk_label_set_text(),
but I'm unsure how to direct the output of g_print to the label.
A short example would be great.
Thanks.
[ Post a follow-up to this message ]
|