[Mono-list] using gdi+ with gtk#

Simon Ask Ulsnes simon@ulsnes.dk
Mon, 31 May 2004 12:50:40 +0200


Miguel de Icaza wrote:

>Hello,
>
>  
>
>>Im making a little html renderer with gdi+
>>(http://www.compona.com/xhtmlrender10.gif)
>>Now I want to try to host this renderer in gtk#
>>so I wonder if its possible to display a gdi+ image on a gtk#
>>container?
>>    
>>
>
>Yes, it is possible.
>
>We should get this into a library, but for now this will do it:
>
>Compile like this:
>
>mcs -r:System.Drawing -pkg:gtk-sharp DrawingSample.cs sysdraw.cs
>
>Miguel
>  
>
Are there any plans to actually get this into a library? It seems pretty 
handy to me (though I can't get your code to work, I simply get a blank 
window).

- Simon