Ok, let me start a new thread about Gtkrc styles, to avoid mixing stuff...
1) I would like to dynamically load a gtkrc file, using gtk.rc_parse(<file>), and have the styles contained in this file immediatly applied to my entire application. But it does not work: only widget which have not yet been realized get the new styles (sub-dialogs, or menus which haven't been opened before the call to rc_parse() method). Is there a way to re-realize all widgets? 2) I have a custom widget, based on a DrawingArea, in which I draw things with different colors. To do that, I create some gtk.gdk.GC() objects. Is there a way to have theses colors read from the gtkrc file? How do I implement my own widget resources in this file? Thanks for your help, -- Frédéric _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
