Re: Best way to receive pixel coordinates from image



On 26 Jul 2001 16:29:46 +0000, Miguel A. Figueroa-Villanueva wrote:
> I would appreciate a hint on what is the best way to go about it. I was
> thinking of using GtkImage to display a GdkImage and gdk_image_put_pixel,
> since it is not going to be a very dynamic application (i.e. not an
> animation). Can I listen for mouse coordinates and refresh the image without
> having to redraw everything (to mark an area for example).

You might want to take a look a the time zone selector in XST.
at CVS/ximian-setup-tools/src/time/e-map it displays a worl map
and has dots for each time zone. It also has zoom in/out.

Chema

> 
> --miguel
> 
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
> 






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