Re: Asking for a control solution



On Wed, 15 Jan 2003 17:23:06 +0100
jantonio leonardo amena es wrote:

Hi !!
I'm spanish, so.. sorry for my english.

No problem, it's fine.


But,  if i pass the control to the function gtk_main(), and GTK sleep
waiting for X events, how can i refresh the file?
Are "timeouts in GTK" a solution for this?

"You may be wondering how you make GTK do useful work when in gtk_main.
Well, you have several options. Using the following function you can
create a timeout function that will be called every "interval"
milliseconds."
<snip>
This is a quote from the GTK+ tutorial, section "Timeouts, IO and idle
Functions", which you can access on http://www.gtk.org/tutorial Indeed,
that's what timeouts are for.

Cheers

-- 
Horror Vacui

Registered Linux user #257714

Go get yourself... counted: http://counter.li.org/
- and keep following the GNU.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]