Awesome
This project is no longer being maintained!
Similar active projects:
ChromiumGtk
ChromiumGtk is a WebView for GtkSharp using Chromium Embedded Framework (CEF) and CefGlue.
Supported Platforms
- .NET Core 3.1 on Ubuntu 20.04 (AMD64)
Dependencies
Installation
Use nuget to install ChromiumGtk.
dotnet add package Lunixo.ChromiumGtk.Linux64
Usage
static void Main()
{
var runtime = new Runtime();
runtime.Initialize();
Gtk.Application.Init();
using var window = new Gtk.Window("ChromiumGTK Demo")
{
WidthRequest = 1200,
HeightRequest = 800
};
window.Destroyed += (sender, args) => runtime.QuitMessageLoop();
InteropLinux.SetDefaultWindowVisual(window.Handle);
using var webView = new WebView();
webView.LoadUrl("https://dotnet.microsoft.com/");
window.Add(webView);
window.ShowAll();
runtime.RunMessageLoop();
runtime.Shutdown();
}
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
This repository uses code from CefGlue (MIT) and Chromely (MIT)