[Mono-osx] MonoMac - binding for NSCollectionView
Miguel de Icaza
miguel at novell.com
Sun Jul 4 00:06:19 EDT 2010
Hello,
I was trying to create a binding for NSCollectionView and ran into a few
> problems. I'm not really sure what to do.
>
The parser is easy to confuse and it is only used to get the heavy lifting
out of the way, it is not a tool that will produce perfect results.
The results almost *always* need to be audited for DFG compliance, style and
all the other elements that we have discussed on this list before.
2) - (id <NSCollectionViewDelegate>)delegate; in the header file produces
>
> id <NSCollectionViewDelegate> Delegate { get; set; }
>
> I just changed the type to NSCollectionViewDelegate
>
Correct.
> 3) - (NSImage *)draggingImageForItemsAtIndexes:(NSIndexSet *)indexes
> withEvent:(NSEvent *)event offset:(NSPointPointer)dragImageOffset
> AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER;
>
We do not support this use yet (pointers to structs) so for now, this can
not be bound.
4) The NSCollectionViewDelegate interface has some methods with a type
> NSCollectionViewDropOperation which doesn't seem to be defined anywhere in
> the cs file
>
> In there header there is typedef NSInteger NSCollectionViewDropOperation;
>
So you need to add an enum that introduces the definition.
Miguel
>
> Cheers,
> John
>
> --
> View this message in context:
> http://mono.1490590.n4.nabble.com/MonoMac-binding-for-NSCollectionView-tp2277459p2277459.html
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20100704/151f5fdc/attachment.html
More information about the Mono-osx
mailing list