[pygtk] Questions about GdkColor, and how to pass an array of GdkColor as an argument
Gianni Moschini
gianni.moschini at gmail.com
Wed May 27 06:37:56 WST 2009
2009/5/26 benarbe <benarbe at tuckerenergy.com>
> I think, youŕe calling the metacity gradient_create_multi the right way.
> Try to comment out import gnomevfs, see what happens. In my system when i
> did it, the color were not more at random.
> Cheers
> Benjamin
Thank you for trying to help.
I tried this, but I don't see any link between using gnomevfs and this
function.
Anyway, I don't see any changes when removing the gnomevfs references.
I'm just worried now that the Python function binded to the c counterpart
should take a list as an argument, like for example
gtk.targets_include_image, which then transform the list to an array in c.
But that is not the case here. Maybe some code should be added in the
gnome-python-desktop/metacity/metacitymodule.c or something related.
I don't know much about Python binding C functions, so I'm kind of unaware
of where to go now, and what to do.
If anyone knows how it's handled in Python in other functions, when the C
counterpart works with an array of G objects as an argument, that may help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20090527/e564b94e/attachment.htm
More information about the pygtk
mailing list