Precision timing of GDK3/GTK3 window update
问题 I have an application written in C using GTK (although the language is probably unimportant for this question). This application has a fullscreen gtk_window with a single gtk_drawing_area . For the drawing area, I have registered a tick callback via gtk_widget_add_tick_callback which just calls gtk_widget_queue_draw every tick. Inside the drawing area draw callback, I change the color of the entire window at regular intervals (e.g., from black to white at 1Hz). Say that in this call to the