[Mono-osx] Menu items on monomac
Miguel de Icaza
miguel at novell.com
Wed Nov 10 11:00:36 EST 2010
> I was thinking on the delegate more as the "last responder to be the
> first", but, what should be the correct declaration?
> Interface Builder shows for example openDocument:, how can I respond in C#
> to it?
> MonoDevelop does not show it as overrideable, neither on the appdelegate
> neither on the mainwindow.
In either your Window, or your application delegate, like I said.
void OpenOrWhatever (NSObject sender)
> El 10/11/2010, a las 15:54, Miguel de Icaza escribió:
> The first responder is the first method in the focus chain.
> So it would be initially the Window, if you were to close this, it would go
> to your application delegate.
> This means that you can define the method on either one, depending on what
> you are trying to do.
> On Wed, Nov 10, 2010 at 10:39 AM, Natalia Portillo <claunia at claunia.com>wrote:
>> This may sound a noob question but I'm unable to think how to implement
>> code for menu items.
>> All menu items are by default bound to FirstResponder but I do not find
>> where is that in C# world.
>> Natalia Portillo
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx