Hawkynt.NativeForms.Backends.Gtk 1.0.0.82

dotnet add package Hawkynt.NativeForms.Backends.Gtk --version 1.0.0.82
                    
NuGet\Install-Package Hawkynt.NativeForms.Backends.Gtk -Version 1.0.0.82
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hawkynt.NativeForms.Backends.Gtk" Version="1.0.0.82" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hawkynt.NativeForms.Backends.Gtk" Version="1.0.0.82" />
                    
Directory.Packages.props
<PackageReference Include="Hawkynt.NativeForms.Backends.Gtk" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Hawkynt.NativeForms.Backends.Gtk --version 1.0.0.82
                    
#r "nuget: Hawkynt.NativeForms.Backends.Gtk, 1.0.0.82"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Hawkynt.NativeForms.Backends.Gtk@1.0.0.82
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Hawkynt.NativeForms.Backends.Gtk&version=1.0.0.82
                    
Install as a Cake Addin
#tool nuget:?package=Hawkynt.NativeForms.Backends.Gtk&version=1.0.0.82
                    
Install as a Cake Tool

Hawkynt.NativeForms.Backends.Gtk

NuGet NuGet downloads License CI

The Linux backend for NativeForms: a reflection-free, source-generated P/Invoke layer that renders NativeForms controls through native GTK 3 widgets.

📦 Installation

dotnet add package Hawkynt.NativeForms.Backends.Gtk

This is a backend for NativeForms. Install the core package too — it carries the controls. It compiles on any operating system but needs GTK 3 present at run time.

✨ Features

  • Renders NativeForms controls on Linux through GTK 3.
  • The window and the text-bearing primitives are real GTK widgets; every other control is owner-drawn in the platform's visual style.
  • Reflection-free and source-generated, so it survives trimming and NativeAOT.
  • Referenced but never registered, the whole backend is dropped again by the trimmer.

🚀 Quick start

Register the backend before creating a window. Registering more than one is fine: an application can carry every platform it ships on.

using Hawkynt.NativeForms;
using Hawkynt.NativeForms.Backends;
using Hawkynt.NativeForms.Backends.Gtk;

BackendRegistry.Register(new GtkBackend());

var form = new Form { Text = "Hello", Bounds = new(0, 0, 320, 160) };
Application.Run(form);

📚 API reference

Every public and protected member of all 1 type, generated from the built assembly and its XML documentation, is in REFERENCE.md.

🔌 Dependencies

Package Why
Hawkynt.NativeForms The controls, layout and backend abstraction this package implements.

Runtime requirement: Linux with GTK 3 installed. The package does not bundle GTK.

⚠️ Limitations

  • GTK 3 must be present on the target machine; it is not bundled.
  • Compiles anywhere, runs only where GTK 3 is available.

❤️ Support

If this project saves you time or money, consider supporting its development:

GitHub Sponsors PayPal

📜 License

Licensed under LGPL-3.0-or-later — see the repository LICENSE.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0.82 111 9/30/2026
1.0.0.73 1,220 8/2/2026
1.0.0.72 202 8/1/2026
1.0.0.71 2,476 7/31/2026
1.0.0.70 114 7/31/2026
1.0.0.68 261 7/30/2026