[Mono-osx] NSApp global
David Rivera
mithril at me.com
Wed Oct 27 18:08:30 EDT 2010
Great, thank you much!
-Dave R
On Oct 27, 2010, at 4:44 PM, Geoff Norton wrote:
> Thanks, this was fixed in git commit 53c395368f04163d9f14d77be4072ad577616ab4
>
> -g
>
>
> From: David Rivera <mithril at me.com>
> Date: Wed, 27 Oct 2010 16:24:26 -0500
> To: <gnorton.novell at gmail.com>
> Cc: Mono-osx Mailing List List <mono-osx at lists.ximian.com>
> Subject: Re: [Mono-osx] NSApp global
>
> I think I originally sent the reply wrong, so here it is again.
>
>
> The attached test case always shows NSApplication.SharedApplication as null for me.
>
> -Dave R
>
> On Oct 27, 2010, at 4:15 PM, Geoff Norton wrote:
>
>> Just zip it up and email it.
>>
>> From: David Rivera <mithril at me.com>
>> Date: Wed, 27 Oct 2010 16:14:06 -0500
>> To: <gnorton.novell at gmail.com>, Mono-osx Mailing List List <mono-osx at lists.ximian.com>
>> Subject: Re: [Mono-osx] NSApp global
>>
>> How would you like the test case? Given its a monomac app, several files involved, including a xib file, not quite sure how to consolodate that so that it would be useful for you...
>>
>> -Dave R
>>
>> On Oct 27, 2010, at 4:09 PM, Geoff Norton wrote:
>>
>>> Could you please send me a test case?
>>>
>>> From: David Rivera <mithril at me.com>
>>> Date: Wed, 27 Oct 2010 16:08:29 -0500
>>> To: <gnorton.novell at gmail.com>, Mono-osx Mailing List List <mono-osx at lists.ximian.com>
>>> Subject: Re: [Mono-osx] NSApp global
>>>
>>> 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.comhttp://lists.ximian.com/mailman/listinfo/mono-osx
>>>
>>> _______________________________________________ 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.comhttp://lists.ximian.com/mailman/listinfo/mono-osx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20101027/448597be/attachment-0001.html
More information about the Mono-osx
mailing list