GLUT

I like to use glutidlefunc() to do some animation, but I have to open another
GTK window in my program.It seems that
only one window can be used with glut,
is there any solution to the problem,or
if there is other way to do animation
while have other window open.Thanks a lot.