[Mono-osx] Using native Cocoa WebKit for System.Windows.Forms.WebBrowser on Mac OS X

Lee V.Andrus landrus2 at by-rite.net
Wed Jun 24 13:45:21 EDT 2009


I too am interested in accessing the Cocoa API (perhaps even replacing  
the entire Carbon Driver: see "http://lists.ximian.com/pipermail/mono-osx/2009-May/002297.html 
").  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 "Menu Bar Status Items", 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.


> Alex Shulgin alexander.shulgin at yessoftware.com
> Tue Jun 23 08:35:46 EDT 2009
>
> Atsushi Eno wrote:
> > There is a few hackers who can _review and_ commit changes, and
> > it is very likely no osx hacker has enough time to do it now.
>
> I didn't say it should be committed. I just need some help from OSX  
> guys out there. If they could say anything, even "it can't be done,  
> so forget about it", I'd go look for another options. :)
>
> > We are pretty much resource-limited team :(
>
> OK, at least I know I'm not being ignored.
> --
> Regards,
> Alex
> > Alex Shulgin wrote:
> >> Alex Shulgin wrote:
> >>> Hi,
> >>>
> >>> Recently I've been struggling to bring up native (Cocoa-based)  
> WebKit
> >>> as WinForms WebBrowser control on OS X.
> >>
> >> Just wondering... Do my efforts look _that_ crazy so no one is
> >> willing even to comment? ;)
> >>
> >> --
> >> Yours,
> >> Alex
>



More information about the Mono-osx mailing list