On 2003-06-27, John Ehresman <[EMAIL PROTECTED]> wrote:
> Is there any way to declare a property type as a generic Python
> object?  I want to define a property that may be set to a list
> of tuples.  I realize that this wouldn't be too useful to C code,
> but I'm writing both the get/set functions in and the code that
> uses the property in Python.  I tried using gobject.TYPE_OBJECT,
> but that requires the object to derive from GObject, which a
> Python list does not.

Did you try with gobject.TYPE_PYOBJECT?

-- 
 Please don't send me private copies of your public answers. Thanks.
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to