[Mono-osx] NSSplitView with MonoMac

kjpou kjpou at pt.lu
Mon Jan 31 00:07:39 EST 2011


John

The only way I have been able to get that to work is by creating a 
custom view that extends NSView.  You then create the outlets and 
actions on the custom view.  There are examples of this in the samples.

You can also create a new nib file that represents the view as well.  
Use the Add -> New File option by right clicking the project and select 
Cocoa View from the list of objects presented under MonoMac.

Kenneth

On 1/31/11 5:53 AM, JohnMoshakis wrote:
> The other thing I noticed is that, if I try and add an event handler for say
> a button click for a button inside the view, the event handler inside the
> MainWindowController works but an event handler inside the view doesn't.
>
> The methods for both are generated inside the designer file.
>
> Cheers,
> John


More information about the Mono-osx mailing list