[MonoDevelop] Problem running Gtk# + WebKit application from IDE

nikodc nikodc2 at gmail.com
Sat Jan 23 15:55:34 EST 2010


I'm having a strange problem running a simple Gtk# application from within
the IDE. The application consists just in a simple window showing a menu and
an empty container. Inside this container I was trying to include a WebView
from webkit-sharp. I added a reference to that assembly, next I changed  the
code just to instantiate a WebView object without doing anything else. The
thing is that now every time I run the application from the IDE (F5) the
window never shows up. 

public MainWindow() : base(Gtk.WindowType.Toplevel)
{
    // added line
    WebView wv = new WebView();
			
    this.Build();	
}

Please, note that I'm not using 'wv' at all... I'm just instantiating it. To
make this even stranger, running the application from command line works
perfectly and the window appears correctly, so this seems to be an IDE
issue.

MonoDevelop 2.0
Ubuntu 9.10
webkit-sharp, Version=1.0.0
gtk-sharp, Version=2.12.0

Thank you!
-- 
View this message in context: http://old.nabble.com/Problem-running-Gtk--%2B-WebKit-application-from-IDE-tp27289850p27289850.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.



More information about the Monodevelop-list mailing list