[Mono-osx] NSSplitView with MonoMac

JohnMoshakis john at moshakis.com
Mon Jan 31 10:34:38 EST 2011



kjpou1 wrote:
> 
> 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.
> 
> 

Hi,

Did you mean the only way to get the actions to work inside the view ? 

I've created my views through add, new file. So I have the nib file and
associated class. I can set breakpoints, hook up actions, outlets and I get
code generated. Unfortunately the only way I can get a button click action
to fire is if I hook it up from the mainwindowcontroller.

Cheers,
John

-- 
View this message in context: http://mono.1490590.n4.nabble.com/NSSplitView-with-MonoMac-tp3247970p3248970.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list