GNOME Bugzilla – Bug 787814
Values of type Gdk.RGBA stored in Gtk.ListStore lose attributes
Last modified: 2017-09-18 11:27:32 UTC
Created attachment 359955 [details] a simple demo When you store a Gdk.RGBA value in a Gtk.ListStore the red and green value always get set to 0.0000. This is using GObject Introspection for Python2.7 or Python3. Example: import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk, Gdk store = Gtk.ListStore(Gdk.RGBA) rgba = Gdk.RGBA(1, 1, 1, 1) print rgba store.append([rgba]) print store[0][0]
*** This bug has been marked as a duplicate of bug 720042 ***