Re: [pygtk] Reading gtk.gdk.GC values

2004-06-10 Thread Steve Chaplin
On Fri, 2004-06-11 at 04:59, John Finlay wrote: > I'm assuming you are using PyGTK 2.3.91 or later and are using > gtk.gdk.Drawable.new_gc() to create the GC. The lack of attributes would > appear to be an unintended side-effect of the change to add new types > on the fly (bug #129032) - in thi

Re: [pygtk] Reading gtk.gdk.GC values

2004-06-10 Thread John Finlay
Steve Chaplin wrote: How can the values a gtk.gdk.GC be read? Using 'gc.get_values()' gives the error AttributeError: 'gtk.gdk.GCX11' object has no attribute 'get_values' Using 'gc.foreground' gives the error AttributeError: 'gtk.gdk.GCX11' object has no attribute 'foreground' I'm assuming you a

[pygtk] Reading gtk.gdk.GC values

2004-06-10 Thread Steve Chaplin
How can the values a gtk.gdk.GC be read? Using 'gc.get_values()' gives the error AttributeError: 'gtk.gdk.GCX11' object has no attribute 'get_values' Using 'gc.foreground' gives the error AttributeError: 'gtk.gdk.GCX11' object has no attribute 'foreground' Steve __