https://github.com/modern-forms/modern.windowkit
A .NET abstraction over the windowing systems of Windows/Mac/Linux.
https://github.com/modern-forms/modern.windowkit
Last synced: about 1 year ago
JSON representation
A .NET abstraction over the windowing systems of Windows/Mac/Linux.
- Host: GitHub
- URL: https://github.com/modern-forms/modern.windowkit
- Owner: modern-forms
- License: mit
- Created: 2021-06-11T01:36:22.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T16:42:47.000Z (almost 3 years ago)
- Last Synced: 2025-04-09T18:10:22.626Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 588 KB
- Stars: 51
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Modern.WindowKit
Modern.WindowKit is a .NET abstraction over the windowing systems of Windows/Mac/Linux.
It allows you to create native windows, draw on them, and handle input.
This is a nearly direct port from [Avalonia](https://github.com/AvaloniaUI/Avalonia), with patches to make it independent from the rest of Avalonia.
# Sample Application
There is a sample application in `samples/Demo`.
This sample shows how to perform various operations such as:
- Create a window
- Handle painting
- Handle mouse input (Click and drag to paint)
- Handle touch input (Touch to paint, Windows/Linux only)
- Handle keyboard input (F1 to toggle diagnostic information)
- Show native file open dialog (F9)
- Show native folder open dialog (F10)
- Show native file save dialog (F12)
