I tried adding a simple extension to my ~/.gtkrc file:

    style "button" = "default"
    {
      fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
    #  bg[PRELIGHT] = { 0, 0, 0.75 }
      bg[PRELIGHT] = { 0.75, 0, 0x00 }
    }

    widget_class "*GtkButton*" style "button"

but nothing changed when running pygtk2 demos (e.g. the button box and
toolbar demos).  I then used strace to trace python as it ran:

    % strace -e trace=open python pygtk-demo.py 2>&1 | egrep /home/skip

but didn't see any attempts to open my ~/.gtkrc file.  Do Gtk applications
have to search for and parse rc files explicitly?  I would have thought that
would be something Gtk would do automagically...

thx,

-- 
Skip Montanaro ([EMAIL PROTECTED])
(847)971-7098
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to