On every screen refresh the computer redraws the area. So you only need to
change the x and y points of your picture being drawn.
so something like : Mind you I only did the x coordinate you will have to do
the y, and I also did a example with the right arrow key.
public_sub drawingarea1_keypr
Hi!
It is possible but you need to do work to do it...
AFAIK there is no method in drawingarea to know what different
pictures are drawed into.
So drawingarea handles only graphics, and you have to write engine to move them.
Jussi
On Sat, Apr 4, 2009 at 13:08, Tomas Eroles i Forner
wrote:
> Hi
Hi all
Is there any way to draw mobile objects on a DrawingArea?
That is, is it possible to draw something and after to move it with
mouse?
The idea is to draw things in a drawingarea? and when required, to move
them using the mouse
Thanks in advance
--