Re: [GTK3] get background color of a textview

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

 



On 08/10/2013 11:42 AM, "Andrés G. Aragoneses" wrote:
On 31/07/13 22:09, Yann Leboulanger wrote:
...
Any idea how to get it?

Thanks in advance,

Here is a very simple test script that shows the problem. For me it
always prints:
<Gdk.Color(red=0.000000, green=0.000000, blue=0.000000, alpha=0.000000)>

Oh, I think I just realised what your problem might be: you are using
Gtk.StateType.NORMAL instead of Gtk.StateFlags.NORMAL.

Thanks for your answer. But using StateFlags gives me the same output unfortunately.

--
Yann
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list





[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux