Re: [pygtk] [GTK3] get background color

2013-08-01 Thread Yann Leboulanger
On 08/01/2013 02:00 AM, Osmo Salomaa wrote: Here is a very simple scrpit that shows the problem. For me it prints: Gdk.Color(red=0.00, green=0.00, blue=0.00, alpha=0.00) For editable text fields, you're probably looking for the *base* color.

Re: [pygtk] [GTK3] get background color

2013-08-01 Thread Osmo Salomaa
01.08.2013 10:09, Yann Leboulanger wrote: On 08/01/2013 02:00 AM, Osmo Salomaa wrote: style.lookup_color(theme_base_color) returns a 0, 0, 0, 0 color here. OK, so that's theme-specific. Some color names might be available regardless of theme, but I don't know which ones; for example