|
发表于 2007-4-27 09:48:56
|
显示全部楼层
timer : a GTimer.(开始你创建的那个计时器)
microseconds : return location for the fractional part of seconds elapsed, in microseconds (that is, the total number of microseconds elapsed, modulo 1000000), or NULL
(耗费的时间,微秒)
Returns : seconds elapsed as a floating point value, including any fractional part. 你写GTK的程序的话,建议你先装好GTK的document,另外Devhelp这个工具看GTK的文档蛮方便的。
另外,超时处理的话可以用 gtk_timeout_add() 。 |
|