GTK Timer - How to make a timer within a frame
问题 How do g_timer_new works? is it possible to do a char timerz[50]; GTimer *timer g_timer_start(GTimer *timer); strcpy(timerz,(g_timer_elapsed(GTimer *timer)) Or what Could I do to have a timer in a gtk_frame??? Have a nice day! :D 回答1: You can use g_timeout_add or g_timeout_add_seconds which will call a timeout function at regular interval. Please note that this timeout function can be delayed due to event processing and should not be relied on for precise timing. Check this developer page for