GIOChannel or gtk_input_add



I am trying to pipe stdout from an forked execv call into a TextView
object. Having said that, I read that gtk_input_add is deprecated and
shouldn't be used in new apps so I am trying to use GIOChannel. 

However, the g_io_add_watch call never triggers my callback function.

I'm really confused because the only examples on how to properly use
GIOChannel is with sockets. Am I misunderstanding what to do here?

Thanks

-- 
Brook Keele <bkeele guidedfate com>




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