I'm kind of new with PyGtk and I've had some problems with IconView.
First of all. I'm trying to use IconView inside a ScrolledWindow, but it does not seem to work. I mean the scrollbar does not appear even though the icons don't fit to the screen. I can scroll down the icons with arrow keys, but I'd like to use the scrollbar.
Secondly, how can I change the style properties of the selection box in IconView? I mean there are these "stype properties" listed in the class reference, but how do I ghange them? For example the "selection-box-alpha".
Here is a clip of how I've put the IconView inside the ScrolledWindow...
scrolledWindow = gtk.ScrolledWindow()
scrolledWindow.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
...
iconView = gtk.IconView (model)
...
scrolledWindow.add_with_viewport(iconView)
Best Regards,
Teemu
--
Teemu Harju
http://www.teemuharju.net
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
