Themes are applied globally to GTK by the user.  There is a theme selector
that comes with gtk (gtkthemeselector) that will let you choose your theme.
If you want to mess with the themes programatically I think you need to look
at the styles classes.

http://pygtk.org/pygtk2reference/class-gtkrcstyle.html
http://pygtk.org/pygtk2reference/class-gtkstyle.html

-Chris
On Thu, Aug 11, 2005 at 05:47:56PM +0000, Vinay Reddy wrote:
> > Its depricated because you are supposed to use themes to set sizes.  If you
> > override the themes you will not get a consistant look and feel.
> > 
> If I createad my own toolbar, it would be easy to get images of custom
> sizes using Image.set_from_stock(<stockid>, <size>), but my toolbar is
> created using the UIManager class (from a string).
> 
> Related to themes, I could only find IconTheme, which can only be used
> for individual icons. How can I set the theme for the whole
> application? Google didn't help me much; rather, I couldn't extract
> much out of google :-(
> 
> Regards,
> Vinay
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to