public OffScreenGeckoWebBrowser()
        {
            if (!Xpcom.IsMono)
                throw new NotImplementedException("Not currently implemented on Windows");

            // Create a special form of the GtkWrapper which doesn't reparent Gtk.Window into
            // a winform Control.
            m_wrapper = new GtkDotNet.GtkWrapperNoThread(new Gtk.Window(Gtk.WindowType.Popup));
        }
        public OffScreenGeckoWebBrowser()
        {
            if (!Xpcom.IsLinux)
            {
                throw new NotImplementedException("Not currently implemented on Windows");
            }

            // Create a special form of the GtkWrapper which doesn't reparent Gtk.Window into
            // a winform Control.
            m_wrapper = new GtkDotNet.GtkWrapperNoThread(new Gtk.Window(Gtk.WindowType.Popup));
        }