[MonoDevelop] MonoDevelop, Stetic and Webkit Widgets
m.j.hutchinson at gmail.com
Sun Aug 23 18:36:49 EDT 2009
On Fri, Jul 31, 2009 at 6:49 AM, DaedalusIcarus<confirm at cronflakes.com> wrote:
> * 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 );
> 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)
You probably need a webView.Show (); in there to make the widget visible.
(Common practice is to call ShowAll() on the window, which recursively
shows all widgets. However, the stetic-generated Build method does
that already, so you should only need to show this widget explicitly).
More information about the Monodevelop-list