On Wed, 2004-12-29 at 20:02 +0100, Thomas Guettler wrote: > Hi, hello > I am updating/improving my simple tool for handling jpeg images > (gthumpy). I would like to look at some examples. Are there any open > source image viewers written with pygtk? don't know.
> How can I display an image on the whole screen without the border of > the windowmanager? yes, you can do this easily. (you can remove the window manager DECORATION) see the PyGTK tutorial and the PyGTK Reference. > How can I do pixbuf_new_from_file_at_size with 2.2? (It was added in > 2.4) I want to display the image with a given width and height. I would recommend that you use the latest stable edition to make your life happier (afterall that's why Python and PyGTK exists). Anyways, you can look at the reference of pixbuf_new_from_file_at_size and see that you can manually create a pixbuf and set it to the image (see gtk.Image in reference) gtk.gdk.pixbuf_new_from_file_at_size() gtk.Image.set_from_pixbuf() reference is your friend -- Nikos Kouremenos | http://members.hellug.gr/nkour | JabberID: [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/
