maui-linux
ImGui.NET
Our great sponsors
maui-linux | ImGui.NET | |
---|---|---|
31 | 17 | |
789 | 1,722 | |
- | 2.0% | |
0.0 | 6.7 | |
5 days ago | 26 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
maui-linux
-
What's New in Final RC for .NET 8, .NET MAUI, Asp.net Core and EF8
While this is the quite endorsed by the community: https://github.com/dotnet/maui/discussions/339
I think the fundamental issue is that desktop Linux is way too fragmented. Not only just GTK2/3 and Qt but you have GNOME, KDE, XFCE, Cinnamon and then you have X11, Xorg, Wayland...
To be honest, all those craps are why desktop Linux never took off. I'm very safe to say MAUI for Linux will eventually renders components off its own using framebuffer and hardware acceleration APIs such as OpenGL or Vulkan just because of the market fragmentations...
If desktop Linux truly wants to get the attention, it will need to unify. Fixing dependency hell using Flatpak is the right direction.
There is an existing old fork of MAUI for Linux that uses GTK: https://github.com/jsuarezruiz/maui-linux
-
Tauri Mobile – Develop Mobile Apps with JavaScript and Rust
There is work being done to address desktop linux, but I agree that is one of the deficiencies.
https://github.com/jsuarezruiz/maui-linux/pull/37
The lack of a WASM target is another, although UNO project in the past provided such a target for MAUI's very closely-related predecessor (Xamarin.Forms).
-
Announcing .NET 7 Release Candidate 1
That's more on the fact that there's no official set of native UI in Linux since MAUI uses the platform's native UI instead of drawing everything themselves like Flutter, there have been some community works around this via this repo using GTK as the native UI to target. This is the same case for say React Native where most Linux implementation will likely use Electron as a shell since there's no standard set of platform UI components to choose.
- .NET MAUI on Linux Makes Progress
-
"Microsoft and Canonical announce native .NET availability in Ubuntu 22.04 hosts and containers" – yeah, very nice, but there's still no cross-platform way to build graphical .NET apps, right?
There's even a senior engineer at Microsoft who's done some exploratory work on Linux bindings already: https://github.com/jsuarezruiz/maui-linux
- Will we ever get a new CLR language to replace C# Like Kotlin did for Java?
-
Dont u just love ur job as a dev in c#
https://github.com/jsuarezruiz/maui-linux exists but appears to be inactive lately
-
What options exist for creating (simple) GUI applications on Linux?
The applications I'm trying to make all require relatively simple GUI, only needing images, text-boxes, buttons, and basic configuration menus. I have heard of maui-linux however I'm very new to all of this and not sure how to make use of it at all.
- How quickly and efficiently do you believe Linux will get support for MAUI apps?
-
Introducing .NET MAUI – One Codebase, Many Platforms
Kudos to Microsoft and the teams (.Net, etc.) that made this possible! This is really big! What's the team's plan to extend MAUI to Linux? This is key, considering it was the platform that set the cross-platform (xPlat) .Net in motion, where Mono, MonoDevelop (now Visual Studio for Mac), among others, were bred. For example, is it possible to officially support an MAUI implementation for Linux modelled around Gtk? Like what has already been started here? Linux had so much love during the Mono/Xamarin days and has continued to enjoy same as .Net Core (now .Net all across) matures into being genuinely cross-platform. Linux's support will really be a game-changer! MAUI will then be "One Codebase, Many Platforms", indeed! Thanks once again for all the work on MAUI. It's awesome!
ImGui.NET
-
Using ImGui.NET with SDL2-CS?
Now I'm trying to integrate ImGui into the engine. One solution I found was using this but as far as I can tell it locks you into using OpenGL which is something I would like to avoid as one of the main selling points of SDL2 for me is it's abstraction over the rendering backend.
-
c# native with a gui
In additiona to imgui wrapper which works great with NativeAOT, only slight nudge and you have 10Mb executable. With all deps it's 13Mb. Also there Avalonia mentioned in sibling message which work great and in 11.0-preview5 probably would not need any additional configuraiton. In case if OP is have soft spot for web tech, he can use photino.Blazor which also with slight modifications would simply works and produce 27Mb executable.
-
Custom geometry gets rendered on top of Imgui
Imgui gets rendered using ImguiRenderer provided here in the example: https://github.com/mellinoe/ImGui.NET/tree/master/src/ImGui.NET.SampleProgram.XNA
-
Need help with converting C++ to C#
I'm converting rlImGui from C++ to C# so I can use it with ImGui.NET and Raylib-cs but I'm getting stuck at a couple places. I don't know how to convert line 331 to C# since in ImGui.NET cmd.UserCallback is an IntPtr and not something I can call. I did a quick google search and you can use the Marshal library to convert it to a callable delegate but I think you need to also have the delegate known to do that. There's also line 82 but that is specific to Raylib. The function it calls does not seem to be included in Raylib-cs. Also, rlImGui keeps using a Texture type but that is not defined in Raylib-cs or ImGui.NET. I assume I can substitute it with Texture2D from Raylib-cs but I'm not to the point in porting to see if Texture2D has the necessary fields/properties/methods.
-
Strange ImGui issue possibly related to ImGui.PushID()
ImGui.NET 1.87.3 (using the example implementation)
-
ImGui::ImageButton with a MonoGame Texture2D
If you use this example implementation for XNA/MonoGame, you can just use ImGuiRenderer.BindTexture() which returns an IntPtr.
-
Are there any low-level library options for creating desktop apps?
The only thing I could really think of is something like ImGui for C# (https://github.com/mellinoe/ImGui.NET) but I've never used it. It's going to give you some simple wrappers around ImGui (https://github.com/ocornut/imgui) but even this is going to lock you into the UI framework -- you can't just "draw a rectangle" per se and use it as a "control." Do note however this is an "immediate mode" GUI which is different from how most general desktop windowing systems work in "retained mode" (which are typically event driven, which saves on computing power to not draw the same stuff over and over).
- WinForms
- Free UI frameworks for NET .Core 6 Winforms?
- does anyone have an imgui cs renderer with a working text input?
What are some alternatives?
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Veldrid - A low-level, portable graphics library for .NET.
Avalonia - Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET Foundation community project.
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
Eto.Forms - Cross platform GUI framework for desktop and mobile applications in .NET
Monogame.ImGui - An ImGui.NET wrapper for Monogame
managed-midi - [Past project] Cross-platform MIDI processing library for mono and .NET (ALSA, CoreMIDI, Android, WinMM and UWP).
godot-3d-mannequin - An Open Source 3d character and character controller for the Godot game engine
QtSharp - Mono/.NET bindings for Qt
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.