[Gtk-sharp-list] Select an area of Gtk.Image
ajselvig at gmail.com
Thu Sep 3 19:18:54 EDT 2009
It seems like the easiest way is to use a Cairo to draw to a
Gtk.DrawingArea. You can draw the image, then draw whatever overlays you'd
like on top of it. You can create a Cairo context on a Gtk.DrawingArea using
On Thu, Sep 3, 2009 at 6:09 PM, skatm <jovisa737590 at gmail.com> wrote:
> What I'm trying to do is display and image and let the user select a
> rectangle area of the image and display the rectangle selection as they
> select it.
> I thought I could do it by using Gtk.Image to display the image and use the
> ButtonPress, MotionNotify & ButtonRelease signals to capture the mouse
> input. My problem is I can't find anyway to overlay or draw the selected
> rectangle onto the Gtk.Image.
> Is there anyway I can do this using Gtk#?
> Thanks ,
> View this message in context:
> Sent from the Mono - Gtk# mailing list archive at Nabble.com.
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list