short answer: widget "*.head" style head
long answer: your widget definition in the gtkrc is saying "a GtkLabel contained in a widget called 'head'...." since you're naming your label "head", you need to define the line as: widget "*.head" style "head" that will instruct gtk to style a widget named "head" that's packed inside any widget. hope this helps. =) gtkrcs are a pain and I've been having trouble finding decent documentation on them. I just started with them a couple of nights ago since you have more control over the appearance of widgets than with direct code (there are some attributes that can't be modified through code, so far as I can tell). ...spike On Monday, November 28, 2005, at 11:29AM, tjas ni <[EMAIL PROTECTED]> wrote: > ><<Original Attached>>_______________________________________________ >pygtk mailing list pygtk@daa.com.au >http://www.daa.com.au/mailman/listinfo/pygtk >Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ > > ...spikeOn 11/28/05, tjas ni <[EMAIL PROTECTED]> wrote:
Thanks, gtk.rc_parse("test") worked fine!
But I got into some other problems.
I defined a GtkLabel with this command: headline.set_name("head")
In my RC file I inserted this line:
widget "head.GtkLabel" style "head"
but my 'head' label aint getting bold text as I want.
The RC file works, it's taken from the gtk doc examples...
_______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/