On Sat, May 07, 2005 at 09:34:36AM -0700, John Finlay wrote: > > As you can see in the gdk documentation[1]: > > > > «The GdkGCValues structure holds a set of values used to create or > >modify a graphics context. > > > >GdkColor foreground; > >the foreground color. Note that > >gdk_gc_get_values() only sets the > >pixel value. > >GdkColor background; > >the background color. Note that > >gdk_gc_get_values() only sets the > >pixel value.» > > > > The note "Note that gdk_gc_get_values() only sets the pixel value." > >appears to be missing from the PyGTK documentation. Feel free about > >filing a bug report regarding documentation. > > Of course it would be way more useful if PyGTK could set the color rgb > values when fetching the gc color.
Johan, Gustavo: would this be breaking the API in subtle ways, or is it a nice addition to PyGTK? Let's get a bug on it if the former. Take care, -- Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3376 0125 _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/