On 06.10.2010 23:48, Federico Mena Quintero wrote:
On Wed, 2010-10-06 at 22:32 +0200, Torsten Schoenfeld wrote:
Yes, I think so. It's pretty common for arguments and properties, so
most bindings will be able to deal with it. With proper annotations,
gobject-introspection can also represent it.
Excellent. Where are those annotations made? I grepped quickly in the
gtk+ sources for other STRV properties, but didn't find anything that
looked like an annotation for a automated generator...
G_TYPE_STRV properties don't need annotations, they are handled
automatically. But functions like your gtk_file_chooser_set_root_uris
need to have annotations to tell gobject-introspection that 'char
**roots' is actually a zero-terminated array.
gtk_builder_add_objects_from_string in gtk+-3/gtk/gtkbuilder.c is an
example with such an annotation.
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list