Nick Peters wrote:

>         if response == gtk.RESPONSE_OK:
>             print open_dialog.get_filename(), 'selected'
>             #load the Image the user selected.
>             rpg_map =
> gtk.gdk.pixbuf_new_from_file(open_dialog.get_filename())

I am missing the resize of the DrawingArea (self.area in my case):

self.area.set_size_request(rpg_map.get_width(),
                           rpg_map.get_height())

this notifies that the area has grown, and updates the scrollbars.


Albert
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to