From: Mark W. <mwa...@bi...> - 2006-11-15 09:18:09
|
Hi, I am trying to create a panel to display an image that I can pan and zoom in and out. From what I can tell, the out of the box widgets supported by Gtk2Hs don't support anything like this. Am I right? If this is the case, then I see three options: 1. Someone has developed at gtk widget (gtk-image-viewer) for image viewing with pan and zoom. If I could build this, is there an easy way that I can 'register' it with Gtk2Hs and use it? 2. I could use the standard image viewer widget (Image) and add the required mouse events BUT I can't see a way of displaying a *scaled* pixbuf. How can I do this? 3. Someone has already done this can could lend me the code :) I am on windows. Mark |