[Mono-osx] NSApp global
mithril at me.com
Wed Oct 27 17:08:29 EDT 2010
The app has fully loaded. I am trying to do it via a button click in the main window, and everything else in the window is working. I am accessing it from the main windows controller class where my button action is handled, currently.
On Oct 27, 2010, at 4:05 PM, Geoff Norton wrote:
> When are you doing it?
> Has NSApplication kicked into the NSApplicationDelegate (or later) ?
> From: David Rivera <mithril at me.com>
> Date: Wed, 27 Oct 2010 16:02:14 -0500
> To: <gnorton.novell at gmail.com>, Mono-osx Mailing List List <mono-osx at lists.ximian.com>
> Subject: Re: [Mono-osx] NSApp global
> This doesn't seem to be getting populated. I'm trying to get a sheet working, but NSApplication.SharedApplication always seems to be null for me. Any ideas why?
> -Dave Rivera
> On Oct 27, 2010, at 9:05 AM, Geoff Norton wrote:
>> NSApplication.SharedApplication if I remember correctly.
>> From: <gareth.baker at stfc.ac.uk>
>> Date: Wed, 27 Oct 2010 11:17:55 +0100
>> To: <gnorton.novell at gmail.com>, <mono-osx at lists.ximian.com>
>> Subject: [Mono-osx] NSApp global
>> In the objective-C Cocoa world the variable NSApp is declared globally. Is there an equivalent global variable in MonoMac?
>> Gareth Baker
>> Ecc 10 vv8&9
>> Whoever digs a pit may fall into it;
>> whoever breaks through a wall may be bitten by a snake.
>> Whoever quarries stones may be injured by them;
>> whoever splits logs may be endangered by them.
>> ca 250-200BC
>> (the first Risk Assessment?)
>> Scanned by iCritical.
>> _______________________________________________ Mono-osx mailing list Mono-osx at lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-osx
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.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...
More information about the Mono-osx