Popular recipes tagged "theme"http://code.activestate.com/recipes/tags/theme/popular/2009-07-13T06:51:51-07:00ActiveState Code Recipesunset engine in gtkrc; unset widget style in gtk (Python) 2009-07-13T06:51:51-07:00Dima Tisnekhttp://code.activestate.com/recipes/users/4068698/http://code.activestate.com/recipes/576840-unset-engine-in-gtkrc-unset-widget-style-in-gtk/ <p style="color: grey"> Python recipe 576840 by <a href="/recipes/users/4068698/">Dima Tisnek</a> (<a href="/recipes/tags/engine/">engine</a>, <a href="/recipes/tags/gtkp/">gtkp</a>, <a href="/recipes/tags/gtkrc/">gtkrc</a>, <a href="/recipes/tags/pixbuf/">pixbuf</a>, <a href="/recipes/tags/pygtk/">pygtk</a>, <a href="/recipes/tags/rc/">rc</a>, <a href="/recipes/tags/rcstyle/">rcstyle</a>, <a href="/recipes/tags/style/">style</a>, <a href="/recipes/tags/theme/">theme</a>). </p> <p>Example shows how to unset gtk engine'd look for a particular widget.</p> <p>gtk.Widget.modify_xx allows you to override simple properties, like backgrounds (unless theme uses an engine) and text color (sometimes (?)) gtkrc allows you to override most properties for all or selected widgets, like sizes, faces, and so on. some parts of widget appearance are set through engine stanzas in gtkrc, these can be unset too, if you know how...</p> <p>here it is!</p>