Hi , I want this timer functionality in my gtk program, right now what i am doing is signal(sigalrm,sigh) alarm(1); and in sigh void sigh(int sig) { // do my stuff alarm(1); } is this ok ? or Gtk provides some alternative to this ? regards