Info
Version: | 60.0.51 |
Author(s): | geckofx |
Last Update: | Tuesday, October 20, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://hg.sr.ht/~hindlemail/geckofx |
NuGet Url: | https://www.nuget.org/packages/Geckofx60.64.Linux |
Install
Install-Package Geckofx60.64.Linux
dotnet add package Geckofx60.64.Linux
paket add Geckofx60.64.Linux
Geckofx60.64.Linux Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
Depends on Gtk3
ubuntu packages: libgtk-3-0, libgtk3.0-cil
Example Usage:
// set env var LD_LIBRARY_PATH to $(ProjectDir)/Firefox-Linux32
// set env var LD_PRELOAD to $(ProjectDir)/Firefox-Linux32/libgeckofix.so
// add using Gecko
[STAThread]
static void Main(string[] args)
{
Xpcom.Initialize("Firefox");
var geckoWebBrowser = new GeckoWebBrowser {Dock = DockStyle.Fill};
Form f = new Form();
f.Controls.Add(geckoWebBrowser);
geckoWebBrowser.Navigate("www.google.com");
Application.Run(f);
}.