how to get gtk to draw without waiting for an event
- From: William Hanlon <whanlon physics rutgers edu>
- To: gtk-list gnome org
- Subject: how to get gtk to draw without waiting for an event
- Date: Mon, 29 Oct 2001 20:31:34 -0500 (EST)
Hi,
I would like to make a program that will draw a dot on the screen and
just make it move in a circle continuously. I've written a gtk program
that creates a drawing area and uses gdk_draw_rectangle() but nothing
is drawn until gtk_main() is executed and then of course it will not
do anything in the window until an event is detected.
How can I do this? Also I read that gdkrgb should be used but I did
not see how to do this sort of thing looking in the documentation for
gdkrgb.
Thanks for any suggestions,
Bill
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]