[pygtk] Error with rc_parse

tjas ni fdredk at gmail.com
Tue Dec 6 00:49:28 WST 2005


Thanks that helped me!:)

On 11/28/05, spike grobstein <spike666 at mac.com> wrote:
>
> 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 <fdredk at gmail.com>
> wrote:
>
> >
> ><<Original Attached>>_______________________________________________
> >pygtk mailing list   pygtk at daa.com.au
> >http://www.daa.com.au/mailman/listinfo/pygtk
> >Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
> >
> >
>
>
>
>
> ...spike
>
>
> On 11/28/05, tjas ni <fdredk at gmail.com> 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...
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20051205/24fe2692/attachment.htm


More information about the pygtk mailing list