Comments (3)
Thank you for your report.
I don't see this error in my environment.
So I don't know if this problem has been fixed, but I have replaced the code with one that does not seem to show the error.
Thank you
from libui.
I also saw the histogram.rb example
Thanks for looking at the histogram example.
But It is not my original. This example is ported from libui-ruby.
Writing Ruby code with garbage collection in mind is not a good experience.
There are many things that need to be improved.
Since Ruby/GTK has Cairo, I think it is easier to create this kind of code than LibUI.
Also, how to display images in LibUI is still not clear to me...
With Ruby/GTK, you can create something like this
https://github.com/kojix2/Gray-Scott
If you want to display a chart in GUI, you can use GR.rb with GTK. See the following example.
https://github.com/red-data-tools/GR.rb/blob/main/examples/gtk.rb
from libui.
Released a new version that includes this change.
Thank you for your reporting!
from libui.
Related Issues (20)
- 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
- Optimize performance of area draw methods HOT 3
- Version 0.0.13.pre x86-mingw32 does not work HOT 3
- Table example: HOT 4
- `LibUI.draw_text_layout_extents` always returns 0 values
- [Just info] https://github.com/jamescook/libui-ruby has been archived as of October 2023 HOT 1
- Changelog or compatibility table for (ruby) LibUI? HOT 2
- Request for the addition of a new example: an example in how to use LibUI.new_scrolling_area HOT 2
- [Question mostly] A conceptual API-question: passing 1 (or 0), as opposed to true (or false), in libui HOT 1
- How to build? HOT 8
- Ruby 3.3 fiddle issue HOT 2
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.