[Mono-osx] Mono WebBrowser on MAC OS X

Maxi Combina maxi.combina at passwordbank.com
Mon Jan 31 02:32:51 EST 2011


As Duane mentioned, I would suggest using MonoMac.
It is a binding that allows you to use Objective-C stuff. You may be
interested in MonoMac.Webkit, the binding for the WebKit Framework.
Instead of a WebBrowser you can use a MonoMac.Webkit.WebView [1] [2]. It is
not a 1:1 relationship, but it does what you want (render html).
Under the samples directory of monomac, you may be specially interested in
Skinnable Ap [3]

Good luck,


[2] http://mono.ximian.com/monomac-docs/MonoMac.WebKit.WebView

[3] https://github.com/mono/monomac/tree/master/samples/SkinnableApp
2011/1/30 Duane Wandless <duane at wandless.net>

> http://www.mono-project.com/MonoMac
> https://github.com/mono/monomac/tree/master/samples/
> A C# binding for the native Cocoa libraries.
> Good luck.
> On Wed, Nov 17, 2010 at 4:34 PM, creatorul <creatorulcom at gmail.com> wrote:
>> Hello Guys,
>> After two days of searching and pulling my hair out, I decided to post
>> here
>> as last chance for my current idea.
>> I have an app created in C# under .NET 2.0 and I need to port this on MAC
>> OS
>> X. Unfortunately it contains a WebBrowser control which of course isnt
>> comptible. Maybe it works on linux but on MAC OS X I get that libgluezilla
>> is missing and as far as I researched there is no version for MAC.
>> I'm currently trying to rewrite it in MonoDevelop using GTK# 2.0 but I
>> find
>> it difficult as I go.
>> I'm not able to use the WebBrowser inside GTK# 2.0 (not with MonoDevelop
>> on
>> MAC Leopard and not even with windows version of Monodevelop on Windows
>> xp).
>> This is my first time on mono and I find it a bit more difficult since
>> there
>> is no WebBrowser control in the deisgner toolbox.
>> My question is:
>> 1. Is there any way I can make the WebBrowser control work on MAC OS X ?
>> (maybe the webkit version ? )
>> 2. What do I have to import in the references part to be able to use
>> Mono.WebBrowser ? ( I tried to use System.Windows.Forms.WebBrowser but I
>> can't add that in a GTK# container)
>> The only backup plan I have for this is Java + SWT web browser .. but I
>> really want to keep things in .NET world.
>> Thanks for your help
>> --
>> View this message in context:
>> http://mono.1490590.n4.nabble.com/Mono-WebBrowser-on-MAC-OS-X-tp3047698p3047698.html
>> Sent from the Mono - OSX mailing list archive at Nabble.com.
>> _______________________________________________
>> 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

*Maxi Combina*
Tel: +34 902 760 111
C/ Constitucio, 3 Sant Just Desvern 08960 (Barcelona), SPAIN

This message and its attachments are sent from PasswordBank, Inc. and may
contain information that is
confidential. If you are not the intended recipient, you are prohibited from
printing, copying, forwarding or
saving them. Please delete the message and attachments without printing,
copying, forwarding or saving
them, and notify the sender immediately. Message transmission is not
guaranteed to be secure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110131/91540ee9/attachment-0001.html 

More information about the Mono-osx mailing list