[Mono-winforms-list] Mono hosting on firefox [Winforms embedding]

Miguel de Icaza miguel at ximian.com
Thu Oct 5 08:14:03 EDT 2006


Hello,

    Am CCing the Mono Winforms List, as I do not know the answer to
this, but someone there might have a suggestion.

> I want to host the mono runtime in a firefox plugin, to allow somewhat like an applet (an .net assembly) to run into a browser window. The basic idea is to load and run via a platform dependand plugin a .NET assembly. While there are not so many difficulties in loading the mono run-time and calling a bootstrapper method from the firefox plugin, problems arise when i try to make something of "visual". 
> 
> To be more specific... Under windows, the FireFox insfrastructure makes available to me a native window handle that is the hosting firefox window. Under linux i have instead a Window* (X).
> 
> Now, for my purposes i need to use the Mono System.Windows.Forms library, so the question is: Under linux, how can i embed (->make parent) a UserControl to a X Window using the supplied (X) Window*. I think the XPlatUIX11 used in mono windows forms implementation uses X behind the scenes, so the thing should be possible... Any ideas?
> 
> thx.
> 
> Best Regards,
> Giavotto Bruno
> giavotto.bruno at libarnanet.it
> 
-- 
Miguel de Icaza <miguel at ximian.com>


More information about the Mono-winforms-list mailing list