Re: cannot use clock() for realtime graphical simulations

2004-08-15 Thread Jan-Marek Glogowski
Hi From the Glib docs: Note that timeout functions may be delayed, due to the processing of other event sources. Thus they should not be relied on for precise timing. After each call to the timeout function, the time of the next timeout is recalculated based on the current time and the given

cant run gtk programs when on root

2004-08-15 Thread Hylke Donker
Hello I can't start a GTK program when im logged in to my root account. When i try to start a GTK program under root it gives the following error output: Xlib: connection to :0.0 refused by server Xlib: No protocol specified Gtk-WARNING **: cannot open display: :0.0 Im using slackware 10.0,

Re: cannot use clock() for realtime graphical simulations

2004-08-15 Thread Havoc Pennington
Hi, clock() has nothing to do with time, it has to do with CPU processor cycles used by the application. Havoc ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: cant run gtk programs when on root

2004-08-15 Thread deepspace
Hylke Donker wrote: Hello I can't start a GTK program when im logged in to my root account. When i try to start a GTK program under root it gives the following error output: Xlib: connection to :0.0 refused by server Xlib: No protocol specified Gtk-WARNING **: cannot open display: :0.0 Im using