I have a file descriptor which I have to read for data and when there is some data coming I need to execute a function to handle that data. With Xt you use XtAppAddInput. Is there anything similar in GTK ? Thank you in advance.