[mono-vb] How to Import Gdk in VB in a gtk-sharp application?

vronskij vronskij at gmail.com
Wed May 6 03:49:13 EDT 2009


OK, I found it. 

There is a separate dll for the Gdk. I was not aware of this. 

So we need to compile like:

vbnc -r:/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
-r:/usr/lib/mono/gtk-sharp-2.0/gdk-sharp.dll application.vb


jan bodnar


vronskij wrote:
> 
> Hi, 
> 
> I am having difficulties with the Gdk.Color. 
> 
> Dim color As Gdk.Color
> 
> color = New Gdk.Color(red, green, blue)       
> darea.ModifyBg(StateType.Normal, color)  
> 
> But I can't get Gdk working. 
> 
> Imports Gdk or Gtk.Gdk does not work.
> 
> 
> How should I do this?
> 
> Thanks,
> 
> jan bodnar
> 

-- 
View this message in context: http://www.nabble.com/How-to-Import-Gdk-in-VB-in-a-gtk-sharp-application--tp23394979p23401685.html
Sent from the Mono - VB mailing list archive at Nabble.com.



More information about the Mono-vb mailing list