mail-archives/mono-osx/2009-June/002373.html

116 строки
5.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] Using native Cocoa WebKit for System.Windows.Forms.WebBrowser on Mac OS X
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Using%20native%20Cocoa%20WebKit%20for%0A%09System.Windows.Forms.WebBrowser%20on%20Mac%20OS%20X&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="002371.html">
<LINK REL="Next" HREF="002374.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] Using native Cocoa WebKit for System.Windows.Forms.WebBrowser on Mac OS X</H1>
<B>Lee V.Andrus</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Using%20native%20Cocoa%20WebKit%20for%0A%09System.Windows.Forms.WebBrowser%20on%20Mac%20OS%20X&In-Reply-To="
TITLE="[Mono-osx] Using native Cocoa WebKit for System.Windows.Forms.WebBrowser on Mac OS X">landrus2 at by-rite.net
</A><BR>
<I>Wed Jun 24 13:45:21 EDT 2009</I>
<P><UL>
<LI>Previous message: <A HREF="002371.html">[Mono-osx] multi byte text input support
</A></li>
<LI>Next message: <A HREF="002374.html">[Mono-osx] Using native Cocoa WebKit for System.Windows.Forms.WebBrowser on Mac OS X
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2373">[ date ]</a>
<a href="thread.html#2373">[ thread ]</a>
<a href="subject.html#2373">[ subject ]</a>
<a href="author.html#2373">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I too am interested in accessing the Cocoa API (perhaps even replacing
the entire Carbon Driver: see &quot;<A HREF="http://lists.ximian.com/pipermail/mono-osx/2009-May/002297.html">http://lists.ximian.com/pipermail/mono-osx/2009-May/002297.html</A>
&quot;). But that is a big job and I have not had much luck recruiting
help. I do not have an answer for Alex's question, although a Carbon-
free driver would not be dependent on Carbon Events. Can we work
together on this or some aspect of using Cocoa?
On a smaller scale, I have been considering implementing the
unimplemented Carbon Driver methods supporting Notification Icons,
those little icons that some Windows applications or background
processes display at the right end of the task bar and one of the
largest concentrations of not-implemented exceptions in the Carbon
Driver. The closest equivalent is &quot;Menu Bar Status Items&quot;, the little
icons some Mac applications or background processes display at the
right of the menu bar. However, the only way I have found to access
them is via the Cocoa classes NSStatusBar and NSStatusItem. Alex's
example may be helpful in accessing them, but adding a dependency on
yet another package like Monobjc to WinForms seems to be a big step.
Also, the Apple documentation discourages their use and suggests
adding menu items to the dock tile menu of the application instead.
Naturally, that would not work too well for background tasks that do
not have dock tiles.
&gt;<i> Alex Shulgin alexander.shulgin at yessoftware.com
</I>&gt;<i> Tue Jun 23 08:35:46 EDT 2009
</I>&gt;<i>
</I>&gt;<i> Atsushi Eno wrote:
</I>&gt;<i> &gt; There is a few hackers who can _review and_ commit changes, and
</I>&gt;<i> &gt; it is very likely no osx hacker has enough time to do it now.
</I>&gt;<i>
</I>&gt;<i> I didn't say it should be committed. I just need some help from OSX
</I>&gt;<i> guys out there. If they could say anything, even &quot;it can't be done,
</I>&gt;<i> so forget about it&quot;, I'd go look for another options. :)
</I>&gt;<i>
</I>&gt;<i> &gt; We are pretty much resource-limited team :(
</I>&gt;<i>
</I>&gt;<i> OK, at least I know I'm not being ignored.
</I>&gt;<i> --
</I>&gt;<i> Regards,
</I>&gt;<i> Alex
</I>&gt;<i> &gt; Alex Shulgin wrote:
</I>&gt;<i> &gt;&gt; Alex Shulgin wrote:
</I>&gt;<i> &gt;&gt;&gt; Hi,
</I>&gt;<i> &gt;&gt;&gt;
</I>&gt;<i> &gt;&gt;&gt; Recently I've been struggling to bring up native (Cocoa-based)
</I>&gt;<i> WebKit
</I>&gt;<i> &gt;&gt;&gt; as WinForms WebBrowser control on OS X.
</I>&gt;<i> &gt;&gt;
</I>&gt;<i> &gt;&gt; Just wondering... Do my efforts look _that_ crazy so no one is
</I>&gt;<i> &gt;&gt; willing even to comment? ;)
</I>&gt;<i> &gt;&gt;
</I>&gt;<i> &gt;&gt; --
</I>&gt;<i> &gt;&gt; Yours,
</I>&gt;<i> &gt;&gt; Alex
</I>&gt;<i>
</I>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="002371.html">[Mono-osx] multi byte text input support
</A></li>
<LI>Next message: <A HREF="002374.html">[Mono-osx] Using native Cocoa WebKit for System.Windows.Forms.WebBrowser on Mac OS X
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2373">[ date ]</a>
<a href="thread.html#2373">[ thread ]</a>
<a href="subject.html#2373">[ subject ]</a>
<a href="author.html#2373">[ 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>