Re: selection rectangle

G'Day !

I had code to do that for a gtk_drawing_area, but it sounds like I used a
similar idea
to what you are doing now.

Let me know if you want to see the code.

Jim Parker

On Sat, 12 Jan 2002, Rok Roskar wrote:
Date: Sat, 12 Jan 2002 13:43:16 -0600 (CST)
To: <gtk-app-devel-list gnome org>
From: Rok Roskar <rroskar artsci wustl edu>
Sender: gtk-app-devel-list-admin gnome org
Subject: selection rectangle

is there an easy way to draw a selection rectangle (one that the user can
drag) onto a pixmap in drawing_area? The only way I can come up with is
one where I draw a rectangle each time the user movesthe mouse, but that
means  that Ihave to erase the one previously drawn and it's becoming
rather cumbersome.... any ideas?


gtk-app-devel-list mailing list
gtk-app-devel-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]