You can now modify the attributes of style objects in pygtk (well you will
once I commit my changes to CVS and make a release). For the arrays like
GtkStyle.fg, I decided to make a helper object class to handle setting of
these attributes. This object is not quite as functional as the tuples I
was using before. It only supports length, getitem and setitem sequence
behaviour. If you use more sequence methods than these in your programs
please tell me so I can add those features to the helper type.
There is also a GtkStyle.copy() method that can be used to clone a style
object. This is useful if you only want to change the style for one
widget and not all (style = wid.get_style().copy(); do_something(style);
wid.set_style(style))
Once again, I would like to say that I think using RC files is a better
solution in just about every situation.
James Henstridge.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]