Re: Drawing selection rectangles -- rubber-banding
- From: Andreas Tille <tillea rki de>
- Cc: <gtk-app-devel-list gnome org>
- Subject: Re: Drawing selection rectangles -- rubber-banding
- Date: Fri, 22 Jun 2001 09:35:41 +0200 (CEST)
On Thu, 21 Jun 2001, Eduardo M Kalinowski wrote:
In a project I'm working in, I will need to draw rectangles to
select a region. I've tried implementing this in the "scribble" program
of the GTK+ tutorial.
I tried to implement such a thing in my GtkImReg widget which I
needed for my (special purpose) image viewer paul. It is far from
bug free but it works and could serve as an example. For sure you
will find a rubber box implemented in the Gimp sources but my
rubberbox has some more features I needed.
In my opinion a GtkRubberBox widget would be a very fine thing.
Comments and improvements are welcome!
GtkImReg (Source and Debian-Packages):
There is a small example included.
Real use of the widget makes Paul:
] [Thread Prev