Re: drawing in a not-callback-function

2007-10-02 Thread Brian J. Tarricone
Daniel Dieterle wrote: > Hi, > > i'm just beginning to collect some experience with gtk+ and glade. > > My goal is to draw regularly a circle on an other position. I think the > right way doing this, is to use a timer-function. It should be something > like this: > > gint draw_satellite( gpointe

drawing in a not-callback-function

2007-10-02 Thread Daniel Dieterle
Hi, i'm just beginning to collect some experience with gtk+ and glade. My goal is to draw regularly a circle on an other position. I think the right way doing this, is to use a timer-function. It should be something like this: gint draw_satellite( gpointer data ) { gdk_draw_points( widget->windo