Net4x.GtkSharp
4.22.4.26220
See the version list below for details.
dotnet add package Net4x.GtkSharp --version 4.22.4.26220
NuGet\Install-Package Net4x.GtkSharp -Version 4.22.4.26220
<PackageReference Include="Net4x.GtkSharp" Version="4.22.4.26220" />
<PackageVersion Include="Net4x.GtkSharp" Version="4.22.4.26220" />
<PackageReference Include="Net4x.GtkSharp" />
paket add Net4x.GtkSharp --version 4.22.4.26220
#r "nuget: Net4x.GtkSharp, 4.22.4.26220"
#:package Net4x.GtkSharp@4.22.4.26220
#addin nuget:?package=Net4x.GtkSharp&version=4.22.4.26220
#tool nuget:?package=Net4x.GtkSharp&version=4.22.4.26220
Net4x.GtkSharp
GtkSharp is a C# wrapper for Gtk 4, the widget toolkit.
Part of GtkSharp, a C# binding for Gtk 4.22 and its companion libraries.
dotnet add package Net4x.GtkSharp
What it needs
Targets net10.0 and netstandard2.0.
At run time it needs the native library it wraps, libgtk-4.so.1
(Debian and Ubuntu: libgtk-4-1). The binding does not carry a copy of it.
On Windows that runtime is installed for you: this package pulls in
GtkSharp.targets, which downloads a gvsbuild Gtk 4 build into
%LOCALAPPDATA%\Gtk\4.22.4 before the first build. Set
SkipGtkInstall=true to manage it yourself.
This is the package to start from. It pulls in the rest of the stack it needs, and it is the one that installs a Gtk runtime on Windows.
How it binds
There is no glue library. Every native entry point is resolved by symbol
lookup at run time rather than through a fixed DllImport library name,
which is what lets one package work across Windows, Linux and macOS. It
also means a symbol missing from the installed native library surfaces
when it is first called, not when the assembly loads.
Licence
GNU Library General Public License v2. Sources, samples and the full licence text are in the repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Net4x.CairoSharp (>= 4.22.4.26220)
- Net4x.GdkSharp (>= 4.22.4.26220)
- Net4x.GioSharp (>= 4.22.4.26220)
- Net4x.GLibSharp (>= 4.22.4.26220)
- Net4x.GrapheneSharp (>= 4.22.4.26220)
- Net4x.GskSharp (>= 4.22.4.26220)
- Net4x.PangoSharp (>= 4.22.4.26220)
-
net10.0
- Net4x.CairoSharp (>= 4.22.4.26220)
- Net4x.GdkSharp (>= 4.22.4.26220)
- Net4x.GioSharp (>= 4.22.4.26220)
- Net4x.GLibSharp (>= 4.22.4.26220)
- Net4x.GrapheneSharp (>= 4.22.4.26220)
- Net4x.GskSharp (>= 4.22.4.26220)
- Net4x.PangoSharp (>= 4.22.4.26220)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Net4x.GtkSharp:
| Package | Downloads |
|---|---|
|
Gtk.Drawing
It is a cross-platform interface component developed based on GTK components and compatible with the native C# control winform interface. Use this component GtkSystem.Drawing to compile once and run across platforms windows/linux/macos. Update platform: https://pieroviano@bitbucket.org/piero-viano/net4x.gtk.windows.forms.git Based on GTKSystem.Windows.Forms: https://www.gtkapp.com; https://gitee.com/easywebfactory/gtksystem-windows-forms; https://github.com/easywebfactory/gtksystem-windows-forms; |
|
|
Gtk.Windows.Forms
It is a cross-platform interface component developed based on GTK components and compatible with the native C# control winform interface. Use this component GtkSystem.Drawing to compile once and run across platforms windows/linux/macos. Update platform: https://pieroviano@bitbucket.org/piero-viano/net4x.gtk.windows.forms.git Based on GTKSystem.Windows.Forms: https://www.gtkapp.com; https://gitee.com/easywebfactory/gtksystem-windows-forms; https://github.com/easywebfactory/gtksystem-windows-forms; |
|
|
Net4x.WebkitGtkSharp
GtkWebkitSharp is a C# wrapper for the Gtk-Webkit library. |
|
|
Net4x.AdwaitaSharp
AdwaitaSharp is a C# wrapper for the libadwaita library. |
|
|
Net4x.GtkSourceSharp
GtkSourceSharp is a C# wrapper for the GtkSourceView library. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.22.4.26229 | 349 | 8/16/2026 |
| 4.22.4.26224 | 194 | 8/12/2026 |
| 4.22.4.26222 | 182 | 8/9/2026 |
| 4.22.4.26221 | 176 | 8/9/2026 |
| 4.22.4.26220 | 194 | 8/8/2026 |