On Tue, 2011-08-23 at 23:08 -0700, akaChella wrote: > But when i include gtk_main(); it does not come out of that, means it > is > executing gtk_mian() and does not returning to the method where i > called > this function. That is the point. Use a idle handler for example to run your code. -- Kaj-Michael Lang <milang at tal.org>