Re: [pygtk] Setting an RC style to a widget from libglade



On Fri, 3 Aug 2001, Steve McClure wrote:

My apologies, I misunderstood your original post and thought you
calling rc_parse before GladeXML.  I wasn't able to get it to work
either although the presence of the rc_reparse_all function implies
that it could work.

I think it could too. I've tracked my problem down (well, Johann did, but
anyway... :) to using:

widget "*GtkStatusbar*" style "status_notify"

instead of

widget_class "*GtkStatusbar*" style "status_notify"

Now this has stumped me - why should widget_class _work_ and widget alone
not? Is there something I'm missing? Is widget the actual _name_ of the
widget I set in the glade file?

James?

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]