On Thu, Apr 04, 2002 at 04:55:45PM +0100, Robert Sharp wrote:

> I want is to be able to turn 2D intensity maps into grayscale/colour
> images and then check for mouse clicks and cursor positions on the image.
> 
> Any ideas of where to turn next would be greatly appreciated.
> 
  You might have a look at the "scribble" example that ships
with (some versions of?) the pygtk code -- it's a primitive 
drawing-on-a-DrawingArea gizmo, which shows examples of how to 
catch mouse motion and click-with-position events in a widget
window.  I've never done what you propose, so I can't promise that
it will generalize robustly to a non-DrawingArea case, but 
it's a start.

                                -- Andrew Reid
                                   [EMAIL PROTECTED]
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to