eto - Eto.Platform.Gtk2 2.7.2

This package is deprecated and should not be used in new projects, please use Eto.Platform.Gtk instead.

This is the GTK2 platform for Eto.Forms UI Framework.

Include this along with your Eto.Forms application to provide a GTK2 interface, typically for Linux users.

You do not need to use any of the classes of this assembly (unless customizing the GTK functionality of the platform), and should just use the UI controls from the Eto assembly.

On Linux, mono-complete 5.10 or higher and gtk-sharp2 packages are required.

PM> Install-Package Eto.Platform.Gtk2 -Version 2.7.2 -Source https://www.myget.org/F/eto/api/v3/index.json

Copy to clipboard

> nuget.exe install Eto.Platform.Gtk2 -Version 2.7.2 -Source https://www.myget.org/F/eto/api/v3/index.json

Copy to clipboard

> dotnet add package Eto.Platform.Gtk2 --version 2.7.2 --source https://www.myget.org/F/eto/api/v3/index.json

Copy to clipboard
<PackageReference Include="Eto.Platform.Gtk2" Version="2.7.2" />
Copy to clipboard
source https://www.myget.org/F/eto/api/v3/index.json

nuget Eto.Platform.Gtk2  ~> 2.7.2
Copy to clipboard

> choco install Eto.Platform.Gtk2 --version 2.7.2 --source https://www.myget.org/F/eto/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "eto" -SourceLocation "https://www.myget.org/F/eto/api/v2"
Install-Module -Name "Eto.Platform.Gtk2" -RequiredVersion "2.7.2" -Repository "eto" 
Copy to clipboard

Eto.Forms

A cross platform desktop and mobile user interface framework

Build discussions Gitter wiki NuGet MyGet

Description

This framework can be used to build applications that run across multiple platforms using their native toolkit, with an easy to use API. This will make your applications look and work as a native application on all platforms, using a single UI codebase.

For advanced scenarios, you can take advantage of each platform's capabilities by wrapping your common UI in a larger application, or even create your own high-level controls with a custom implementations per platform.

This framework currently supports creating Desktop applications that work across Windows Forms, WPF, MonoMac, and GTK#. There is a Mobile/iOS port in the works, but is considered incomplete.

This framework was built so that using it in .NET is natural. For example, a simple hello-world application might look like:

using Eto.Forms;
using Eto.Drawing;

public class MyForm : Form
{
	public MyForm ()
	{
		Title = "My Cross-Platform App";
		ClientSize = new Size(200, 200);
		Content = new Label { Text = "Hello World!" };
	}
	
	[STAThread]
	static void Main()
	{
		new Application().Run(new MyForm());
	}
}

or in a F# script:

#load ".paket/load/eto.platform.windows.fsx"
// see https://fsprojects.github.io/Paket/paket-generate-load-scripts.html

open Eto.Drawing
open Eto.Forms

type MyForm() as this =
    inherit Form()
    do
        this.Title      <- "My Cross-Platform App"
        this.ClientSize <- Size (200, 200)
        this.Content    <- new Label(Text = "Hello F# World!")

Eto.Platform.Initialize(Eto.Platforms.WinForms)
let app = new Application()
let form = new MyForm()
form.Show()

Getting Started

To begin creating apps using Eto.Forms, follow the Quick Start Guide.

To compile or contribute to Eto.Forms, read the Contributing Guide.

Screenshots

Windows via WPF:

Mac via MonoMac:

Linux via GTK#3:

Applications

Third party libraries

Pure Eto.Forms SkiaSharp edition
ScottPlot pure Plotting library that makes it easy to interactively display large datasets. samplesample
LiveCharts skia Simple, flexible, powerful and open source data visualization for .Net. samplesamplesample
Microcharts skia Create elegant Cross-Platform simple charts. sample
OxyPlot pure skia Cross-platform plotting library for .NET. samplesamplesample
Mapsui skia A C# map component for apps. samplesamplesample
LibVLCSharp pure Display a video in an Eto app. samplesample
Eto.OpenTK pure OpenGL viewport control for Eto.Forms using OpenTK.
Eto.Veldrid pure A control to embed the Veldrid graphics library in Eto.Forms.
Eto.CodeEditor pure A package that gives you a code editor control in Eto.Forms.
Eto.HtmlRenderer pure Provides an Eto control to display HTML content.
Eto.RainbowLoading pure skia A control showing the Android loading indicator. sample
Eto.GifImageView pure A control for displaying GIF's. sample
Eto.SkiaDraw pure A control enabling use of SkiaSharp in Eto.
Eto.Containers pure Some extra Eto.Forms container controls.

👉 Note : Some packages are in the pipeline but will not appear until next release is created.

Assemblies

Your project only needs to reference Eto.dll, and include the corresponding platform assembly that you wish to target. To run on a Mac platform, you need to bundle your app.

  • Eto.dll - Eto.Forms (UI), Eto.Drawing (Graphics), and platform loading
  • Eto.Mac64.dll - Lightweight Mac platform using .NET 6+ or mono
  • Eto.macOS.dll - .NET 6+ platform for Mac (for use with the net6.0-macos target)
  • Eto.WinForms.dll - Windows Forms platform using GDI+ for graphics
  • Eto.Direct2D.dll - Windows Forms platform using Direct2D for graphics
  • Eto.Wpf.dll - Windows Presentation Foundation platform
  • Eto.Gtk.dll - Gtk+3 platform for Mac, Windows, and Linux.
  • Eto.iOS.dll - Xamarin.iOS platform
  • Eto.Android.dll - Xamarin.Android platform

Currently supported targets

  • OS X: MonoMac or net6.0-macos
  • Linux: GTK+ 3
  • Windows: Windows Forms (using GDI or Direct2D) or WPF

Under development

These platforms are currently incomplete or in development. Any eager bodies willing to help feel free to do so!

  • iOS using Xamarin.iOS
  • Android using Xamarin.Android (Eto.Android)
  • .NETFramework 4.6.2
    • Eto.Forms (>= 2.7.2)
  • .NETFramework 4.6.2: 4.6.2.0

Owners

Curtis Wensley

Authors

Eto.Gtk2

Project URL

https://github.com/picoe/Eto

License

MIT

Tags

cross platform gui ui framework desktop gtk eto.forms

Info

22 total downloads
0 downloads for version 2.7.2
Download (195.15 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
2.7.2 195.15 KB Tue, 25 Oct 2022 22:38:51 GMT 0
2.7.2-ci-20221123.3535388578 195.29 KB Wed, 23 Nov 2022 20:26:04 GMT 0
2.7.2-ci-20221122.3526502281 195.28 KB Tue, 22 Nov 2022 19:43:10 GMT 0
2.7.2-ci-20221122.3526400890 195.28 KB Tue, 22 Nov 2022 19:24:52 GMT 0
2.7.2-ci-20221122.3519153614 195.27 KB Tue, 22 Nov 2022 00:14:51 GMT 0
2.7.2-ci-20221109.3430918643 195.28 KB Wed, 09 Nov 2022 18:56:04 GMT 0
2.7.2-ci-20221104.3395436179 195.29 KB Fri, 04 Nov 2022 16:36:08 GMT 0
2.7.2-ci-20221028.3348536311 195.24 KB Fri, 28 Oct 2022 21:17:24 GMT 0
2.7.2-ci-20221021.3299618298 195.24 KB Fri, 21 Oct 2022 18:34:40 GMT 0
2.7.2-ci-20221019.3284247024 195.24 KB Wed, 19 Oct 2022 19:14:33 GMT 0
2.7.2-ci-20221019.3284241399 195.24 KB Wed, 19 Oct 2022 19:11:21 GMT 0
2.7.2-ci-20221018.3275394657 195.24 KB Tue, 18 Oct 2022 17:07:28 GMT 0
2.7.2-ci-20220928.3145813194 194.91 KB Wed, 28 Sep 2022 18:13:08 GMT 0
2.7.2-ci-20220927.3139544895 194.91 KB Tue, 27 Sep 2022 23:08:41 GMT 0
2.7.2-ci-20220926.3130355418 194.91 KB Mon, 26 Sep 2022 19:16:06 GMT 0
2.7.2-ci-20220924.3117057510 194.9 KB Sat, 24 Sep 2022 04:52:58 GMT 0
2.7.2-ci-20220922.3108326813 194.91 KB Thu, 22 Sep 2022 20:02:13 GMT 0
2.7.2-ci-20220921.3094981858 194.9 KB Wed, 21 Sep 2022 03:37:10 GMT 0
2.7.2-ci-20220920.3093724933 194.09 KB Tue, 20 Sep 2022 22:07:43 GMT 0
2.7.2-ci-20220919.3085217959 194.09 KB Mon, 19 Sep 2022 20:02:12 GMT 0
2.7.2-ci-20220916.3070780789 194.08 KB Fri, 16 Sep 2022 21:26:12 GMT 0
2.7.2-ci-20220914.3055785803 194.08 KB Wed, 14 Sep 2022 20:28:36 GMT 0
2.7.2-ci-20220912.3039594012 193.92 KB Mon, 12 Sep 2022 18:28:40 GMT 0
2.7.2-ci-20220902.2981222493 193.93 KB Fri, 02 Sep 2022 19:00:09 GMT 0
2.7.2-ci-20220828.2943646210 193.92 KB Sun, 28 Aug 2022 16:01:37 GMT 0
2.7.2-ci-20220824.2922289562 193.92 KB Wed, 24 Aug 2022 21:13:29 GMT 0
2.7.2-ci-20220824.2921946854 193.71 KB Wed, 24 Aug 2022 20:14:50 GMT 0
2.7.2-ci-20220824.2921927349 193.7 KB Wed, 24 Aug 2022 20:11:05 GMT 0
2.7.2-ci-20220824.2921923211 193.71 KB Wed, 24 Aug 2022 20:07:14 GMT 0
2.7.1 193.62 KB Sun, 07 Aug 2022 01:51:50 GMT 0
2.7.1-ci-20220807.2810937353 193.71 KB Sun, 07 Aug 2022 01:47:45 GMT 0
2.7.1-ci-20220806.2810390083 193.71 KB Sat, 06 Aug 2022 21:53:41 GMT 0
2.7.0 193.18 KB Sat, 07 May 2022 04:49:40 GMT 0
2.6.1 188.39 KB Tue, 11 Jan 2022 06:59:08 GMT 0
2.6.0 188.34 KB Fri, 26 Nov 2021 06:17:29 GMT 0
2.5.11 187.35 KB Thu, 13 May 2021 10:30:39 GMT 0
2.5.10 184.95 KB Wed, 13 Jan 2021 08:28:15 GMT 0
2.5.9 184.95 KB Tue, 05 Jan 2021 05:38:00 GMT 0
2.5.8 184.71 KB Fri, 27 Nov 2020 19:32:22 GMT 0
2.5.7 184.54 KB Tue, 17 Nov 2020 12:54:48 GMT 0
2.5.6 184.64 KB Thu, 17 Sep 2020 17:56:04 GMT 0
2.5.5 184.58 KB Thu, 20 Aug 2020 21:43:23 GMT 0
2.5.4 184.58 KB Thu, 06 Aug 2020 20:26:31 GMT 0
2.5.3 184.59 KB Thu, 23 Jul 2020 19:34:47 GMT 11
2.5.2 180.67 KB Thu, 28 May 2020 19:38:37 GMT 9
2.5.1 180.35 KB Tue, 26 May 2020 03:43:02 GMT 0
2.5.0 174.78 KB Wed, 19 Feb 2020 18:14:28 GMT 2