Do you use "auto scrollbar policy" for ScrolledWindow? swin.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
On 7/3/09, Johannes Bauer <[email protected]> wrote: > Sayamindu Dasgupta schrieb: > >>> What do I do? >>> >> You can add your widget to a gtk.Viewport >> (http://www.pygtk.org/docs/pygtk/class-gtkviewport.html) and then put >> that inside a scrolledwindow. > > I also tried that (Scrolledwindow contains Viewport, Viewport contains > Image). Also did make the scrollbars always appear - but no matter how > large the image is, the scroll bars are always insensitive (greyed out) > and the image is simply cut off. > >> Also, if you are looking for a somewhat more advanced imageviewer >> widget - you can take a look at http://trac.bjourne.webfactional.com/ > > I'll have a look into that, thanks. > > Kind regards, > Joe > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ > _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
