June-young Jang wrote:

>Hello
>When I 'make'(build) pygtk, many warning messages like
>"Could not write method XXX: No ArgType for XXX" show up.
>Anyway, building pygtk is successfully completed.
>but I cannot use those methods later.
>
>For example,
>(when building pygtk)
>Could not write method GtkTreeView.get_columns: No ArgType for GList*
>
>Python 2.2 (#1, Apr  7 2002, 22:05:43) 
>[GCC 2.95.3 20010315 (release) [FreeBSD]] on freebsd4
>Type "help", "copyright", "credits" or "license" for more information.
>
>>>>import gtk
>>>>gtk.TreeView.get_column
>>>>
><method 'get_column' of 'gtk.TreeView' objects>
>
>>>>gtk.TreeView.get_columns
>>>>
>Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
>AttributeError: type object 'gtk.TreeView' has no attribute 'get_columns'
>
>What's the problem?
>* my environment: Python-2.2 gtk-2.0.1 pygtk-1.99.8
>
These warnings indicate that the code generator could not generate a 
binding for that function.  In this case, the code gen could not handle 
a (GList *) return.  This means that either the codegen needs 
improvements, or a custom written wrapper needs to be written.  Each of 
those warnings indicates an area where pygtk is not yet complete.

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
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