linux gtk_timeout_add用法,如何在GTK中每隔一段时间自动触发一个回调函数?
该楼层疑似违规已被系统折叠隐藏此楼查看此楼其实应该用多线程#include #include #include static char buffer[256];static gbooleanon_expose_event(GtkWidget *widget,GdkEventExpose *event,gpointer data){cairo_t *cr;cr = gdk_cairo_create...