[MonoDevelop] MonoDevelop, Stetic and Webkit Widgets

DaedalusIcarus confirm at cronflakes.com
Fri Jul 31 06:49:15 EDT 2009


I'm really pulling my hair out on this one.

What I'm trying to do is to add Webkit as a reference and work with the
supplied widgets on my existing project for which I've used stetic to make
the UI.

What I need is the WebKit.WebView widgets which (as I understand it) is the
actual browser component.

Anyway, adding WebKit as a project reference is easy enough, but I can't *at
all* get Stetic to coorporate on any level.

What I've tried:
   * Checking if Stetic could find the widget 
         By right-clicking in the toolbox, selecting "Add Items" => "Add
Assembly" and pointing out "webkit-sharp.dll".
      This gives the error "The File [path to webkit dll] does not contain
any component"

   * Hooking up the WebView directly in the sourcecode

   From MainWindow.cs I call a method called SetupWebKit() directly
*following* the call to Build(), the method is as follows:
	protected void setUpWebKit()
	{
		Console.WriteLine("setup webkit called");
		WebView webView = new WebView();
		webscroll.Add( webView );
		webView.Open("http://linuxin.dk");
	}

   The application launches and the console wries "setup webkit called", but
the window never shows...

What must I do ? I'd really appreciate a down-to-earth kind of response as
I'm not that much of a MonoDevelop veteran (just started out, actually)
-- 
View this message in context: http://www.nabble.com/MonoDevelop%2C-Stetic-and-Webkit-Widgets-tp24754448p24754448.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.



More information about the Monodevelop-list mailing list