[Mono-osx] NSApp global

David Rivera 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.

-Dave Rivera

On Oct 27, 2010, at 4:05 PM, Geoff Norton wrote:

> When are you doing it?
> 
> Has NSApplication kicked into the NSApplicationDelegate (or later) ?
> 
> -g
> 
> 
> 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.
>> 
>> -g
>> 
>> 
>> 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?
>>  
>> Thanks
>> 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
>> http://lists.ximian.com/mailman/listinfo/mono-osx
> 
> _______________________________________________ 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/20101027/d19975fd/attachment-0001.html 


More information about the Mono-osx mailing list