зеркало из https://github.com/mono/mail-archives.git
173 строки
8.9 KiB
HTML
173 строки
8.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] NSApp global
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20NSApp%20global&In-Reply-To=C8EE0E8E.3803%25gnorton%40novell.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="003231.html">
|
|
<LINK REL="Next" HREF="003233.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] NSApp global</H1>
|
|
<B>David Rivera</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20NSApp%20global&In-Reply-To=C8EE0E8E.3803%25gnorton%40novell.com"
|
|
TITLE="[Mono-osx] NSApp global">mithril at me.com
|
|
</A><BR>
|
|
<I>Wed Oct 27 17:24:26 EDT 2010</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="003231.html">[Mono-osx] NSApp global
|
|
</A></li>
|
|
<LI>Next message: <A HREF="003233.html">[Mono-osx] NSApp global
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3232">[ date ]</a>
|
|
<a href="thread.html#3232">[ thread ]</a>
|
|
<a href="subject.html#3232">[ subject ]</a>
|
|
<a href="author.html#3232">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>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:
|
|
|
|
><i> Just zip it up and email it.
|
|
</I>><i>
|
|
</I>><i> From: David Rivera <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">mithril at me.com</A>>
|
|
</I>><i> Date: Wed, 27 Oct 2010 16:14:06 -0500
|
|
</I>><i> To: <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">gnorton.novell at gmail.com</A>>, Mono-osx Mailing List List <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">mono-osx at lists.ximian.com</A>>
|
|
</I>><i> Subject: Re: [Mono-osx] NSApp global
|
|
</I>><i>
|
|
</I>><i> 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...
|
|
</I>><i>
|
|
</I>><i> -Dave R
|
|
</I>><i>
|
|
</I>><i> On Oct 27, 2010, at 4:09 PM, Geoff Norton wrote:
|
|
</I>><i>
|
|
</I>>><i> Could you please send me a test case?
|
|
</I>>><i>
|
|
</I>>><i> From: David Rivera <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">mithril at me.com</A>>
|
|
</I>>><i> Date: Wed, 27 Oct 2010 16:08:29 -0500
|
|
</I>>><i> To: <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">gnorton.novell at gmail.com</A>>, Mono-osx Mailing List List <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">mono-osx at lists.ximian.com</A>>
|
|
</I>>><i> Subject: Re: [Mono-osx] NSApp global
|
|
</I>>><i>
|
|
</I>>><i> 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.
|
|
</I>>><i>
|
|
</I>>><i> -Dave Rivera
|
|
</I>>><i>
|
|
</I>>><i> On Oct 27, 2010, at 4:05 PM, Geoff Norton wrote:
|
|
</I>>><i>
|
|
</I>>>><i> When are you doing it?
|
|
</I>>>><i>
|
|
</I>>>><i> Has NSApplication kicked into the NSApplicationDelegate (or later) ?
|
|
</I>>>><i>
|
|
</I>>>><i> -g
|
|
</I>>>><i>
|
|
</I>>>><i>
|
|
</I>>>><i> From: David Rivera <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">mithril at me.com</A>>
|
|
</I>>>><i> Date: Wed, 27 Oct 2010 16:02:14 -0500
|
|
</I>>>><i> To: <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">gnorton.novell at gmail.com</A>>, Mono-osx Mailing List List <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">mono-osx at lists.ximian.com</A>>
|
|
</I>>>><i> Subject: Re: [Mono-osx] NSApp global
|
|
</I>>>><i>
|
|
</I>>>><i> 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?
|
|
</I>>>><i>
|
|
</I>>>><i> -Dave Rivera
|
|
</I>>>><i>
|
|
</I>>>><i> On Oct 27, 2010, at 9:05 AM, Geoff Norton wrote:
|
|
</I>>>><i>
|
|
</I>>>>><i> NSApplication.SharedApplication if I remember correctly.
|
|
</I>>>>><i>
|
|
</I>>>>><i> -g
|
|
</I>>>>><i>
|
|
</I>>>>><i>
|
|
</I>>>>><i> From: <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">gareth.baker at stfc.ac.uk</A>>
|
|
</I>>>>><i> Date: Wed, 27 Oct 2010 11:17:55 +0100
|
|
</I>>>>><i> To: <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">gnorton.novell at gmail.com</A>>, <<A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">mono-osx at lists.ximian.com</A>>
|
|
</I>>>>><i> Subject: [Mono-osx] NSApp global
|
|
</I>>>>><i>
|
|
</I>>>>><i> In the objective-C Cocoa world the variable NSApp is declared globally. Is there an equivalent global variable in MonoMac?
|
|
</I>>>>><i>
|
|
</I>>>>><i> Thanks
|
|
</I>>>>><i> Gareth Baker
|
|
</I>>>>><i>
|
|
</I>>>>><i> ----
|
|
</I>>>>><i> Ecc 10 vv8&9
|
|
</I>>>>><i>
|
|
</I>>>>><i> Whoever digs a pit may fall into it;
|
|
</I>>>>><i> whoever breaks through a wall may be bitten by a snake.
|
|
</I>>>>><i> Whoever quarries stones may be injured by them;
|
|
</I>>>>><i> whoever splits logs may be endangered by them.
|
|
</I>>>>><i>
|
|
</I>>>>><i> ca 250-200BC
|
|
</I>>>>><i> (the first Risk Assessment?)
|
|
</I>>>>><i>
|
|
</I>>>>><i>
|
|
</I>>>>><i>
|
|
</I>>>>><i> --
|
|
</I>>>>><i> Scanned by iCritical.
|
|
</I>>>>><i>
|
|
</I>>>>><i> _______________________________________________ Mono-osx mailing list <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.comhttp</A>://lists.ximian.com/mailman/listinfo/mono-osx
|
|
</I>>>>><i> _______________________________________________
|
|
</I>>>>><i> Mono-osx mailing list
|
|
</I>>>>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>
|
|
</I>>>>><i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
|
|
</I>>>><i>
|
|
</I>>>><i> _______________________________________________ Mono-osx mailing list <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.comhttp</A>://lists.ximian.com/mailman/listinfo/mono-osx
|
|
</I>>><i>
|
|
</I>>><i> _______________________________________________ Mono-osx mailing list <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.comhttp</A>://lists.ximian.com/mailman/listinfo/mono-osx
|
|
</I>><i>
|
|
</I>><i> _______________________________________________ Mono-osx mailing list <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
|
|
</I>
|
|
-------------- next part --------------
|
|
An HTML attachment was scrubbed...
|
|
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20101027/94c14e30/attachment-0002.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20101027/94c14e30/attachment-0002.html</A>
|
|
-------------- next part --------------
|
|
A non-text attachment was scrubbed...
|
|
Name: TestingNSApp.zip
|
|
Type: application/zip
|
|
Size: 24433 bytes
|
|
Desc: not available
|
|
Url : <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20101027/94c14e30/attachment-0001.zip">http://lists.ximian.com/pipermail/mono-osx/attachments/20101027/94c14e30/attachment-0001.zip</A>
|
|
-------------- next part --------------
|
|
An HTML attachment was scrubbed...
|
|
URL: <A HREF="http://lists.ximian.com/pipermail/mono-osx/attachments/20101027/94c14e30/attachment-0003.html">http://lists.ximian.com/pipermail/mono-osx/attachments/20101027/94c14e30/attachment-0003.html</A>
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="003231.html">[Mono-osx] NSApp global
|
|
</A></li>
|
|
<LI>Next message: <A HREF="003233.html">[Mono-osx] NSApp global
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#3232">[ date ]</a>
|
|
<a href="thread.html#3232">[ thread ]</a>
|
|
<a href="subject.html#3232">[ subject ]</a>
|
|
<a href="author.html#3232">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|