[Gtk-sharp-list] .NET bindings for Tinymail, skeleton added to repository but I still have some compilation problems
mkestner at gmail.com
Mon Jan 28 18:18:22 EST 2008
On Jan 28, 2008 4:59 PM, Philip Van Hoof <spam at pvanhoof.be> wrote:
> ps. I'm trying things like this without success. Studying that fixup
> code :)
> <?xml version="1.0"?>
> path="/api/namespace/object[@cname='TnyList']/method[@cname='foreach']" />
That method cname would probably be something like tny_list_foreach, or you
could do @name='Foreach'. The error is most likely due to a parameter
named foreach, though, I'm guessing, which could be renamed to foreach_cb or
something like that to get around the current lack of generator mangling.
> I'm guessing that if I want to add an 'implements', I do something like
> this to the metadata file:
> And then make a List.custom that implements all that IList needs (which
> can be done with tny's list API).
Yep. You can take a look at Gtk.ListStore. It has an IEnumerable
implementation. I hacked up that metadata rule above from its rule.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list