Trying to get Gtk webkit-sharp on Windows and Mac working, but no
luck. Everything appears to be loading correctly, but I haven't been
able to see any output in a window yet. browser.Initialized is true.

Here is a very simple example (maybe too simple).

public static void Main (string[] args)
{
    Gtk.Application.Init ();
    Gtk.Window win = new Gtk.Window ("Title");
    Mono.WebBrowser.IWebBrowser browser =
        Mono.WebBrowser.Manager.GetNewInstance(Mono.WebBrowser.Platform.Gtk);
    browser.Load(win.Handle, 500, 250);
    win.ShowAll ();
    GLib.Timeout.Add( 500, delegate {
        browser.Navigation.Go ("http://google.com/";);
        return false;
    });
    Gtk.Application.Run ();
}

which compiles and runs, but I don't see any output. Any ideas?

-Doug
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to