GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Nov 28, 2015 2:50 pm

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: plotting radar data
PostPosted: Sat May 20, 2006 5:58 pm 

Joined: Sat May 20, 2006 5:55 pm
Posts: 1
I am using the following code to plot the target on the window.

gdk_color_alloc(gdk_colormap_get_system(), &color);
gdk_draw_arc(pix, gc,true,p->x,p->y,4,4,0,360*64);

But I would like to place an object instead of the point(target) so that the object moves when I change the x and y position of the object. Right now the previous point remains on the screen even after I plot a new point on the screen. Basically I would like to move the point around the screen so that only one point is visible at a time. If someone could send me a code for creation of objects or icons which can be moved around the screen unlike a point which is retained on the screen. Another problem with the point is that once I minimize the screen the point is rubbed off. Can anyone tell me how to create objects at run time and move them on the screen? My email id is

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group