LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   GTK+ scribble graphic manipulation (http://www.linuxquestions.org/questions/linux-desktop-74/gtk-scribble-graphic-manipulation-4175423506/)

MercyMe 08-22-2012 06:59 PM

GTK+ scribble graphic manipulation
 
Hello, I've been playing around with the sample "scribble" application with GTK+. I am able to draw a square, draw polygons and etc. I was trying to figure out if there's a way to move the square around the draw-area once I'm done drawing it? Is it possible to resize it?

I want to draw a square, then click and drag it around. I always want to try to click on the corner and draw to resize it. Can anyone give me some ideas on how to implement this? I was thinking it might have something to do with the region. But I'm not really sure.

Anyway help would be greatly appreciated!

Thanks,
Mercy


All times are GMT -5. The time now is 08:09 PM.