Comments (2)
It's nice to see you again. And thanks for looking at the project.
Of course libui supports Window. You do not need to use WSL.
The gem package include three types of shared libraries:
libui.dll
, libui.dylib
, and libui.so
.
These three files are only 1.4 MB in total. (You can further reduce
the file size by deleting libui.dylib and `libui.so. Because they are
not used in Windows. libui.dll is only 275KB.)
So, just install the gem and it will work natively on Windows.
However, libui is not a general-purpose GUI library.
It is not as expressive as a comprehensive library such as ruby-gtk3.
I don't think it is possible to implement advanced styling in CSS with libui.
Libui is good for creating small tools for Windows.
Parhaps, It may be the best Ruby gem available today for this purpose.
However, it is not suitable for writing complex GUIs with less lines
of Ruby-style code. It does not support object-oriented widgets.
Of course, we could add an object-oriented widget class, like Python
or Perl bindings, but I worry that it would be incomplete.
Anyway, I will continue to maintain it.
If you find any problems, please report the issue or send me PR.
Thank you.
from libui.
I Added screenshots to README to clarify support for Windows.
I close the issue.
But, it might be worth considering releasing a Gem that contain only DLL file for Windows.
from libui.
Related Issues (20)
- Small bug (I think) in examples/ directory, at the file called draw_text.rb HOT 2
- Addition of another example? Basic colour table - see Andy's example in glimmer-libui-dsl HOT 1
- Turing Pattern HOT 2
- Examples: could an example be added for LibUI.new_scrolling_area? HOT 5
- [Possible bug or strange behaviour] On 2nd run the libui window is black HOT 8
- libui-ng HOT 8
- ARM64/AARCH64 Support HOT 26
- Exe wont start (Fiddle::DLError) Windows 11 Notebook HOT 14
- Glimmer DSL for LibUI Wins Fukuoka Ruby 2022 Special Award HOT 1
- libui-ng - "beta" ffi for it, for "early testing"? HOT 6
- Warning message when running LibUI::FFI.uiInit on Mac HOT 2
- Example for Parent and Child Windows HOT 8
- [Question] Field Edit sign restriction visible in GUI? HOT 1
- libui-ng related methods: how to use it? HOT 1
- Organising on https://github.com/kojix2 ? HOT 3
- Custom toplevel methods: aiming to enhance LibUI HOT 2
- Two things about libui-ng: one is a build failure with "rake"; the other is a suggestion HOT 2
- Table Selection API HOT 12
- Question: Why choose `fiddle` rather than `ffi`? HOT 4
- Two duplicate lines, I think, at: https://github.com/kojix2/LibUI/blob/main/examples/draw_text.rb#L92 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libui.