I integrated the old code from libui_paradise and documentation into a new project called "widgets"; I have not yet uploaded this to github, but eventually will do so #101
rubyFeedback
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there kojix2,
I just found today https://github.com/kojix2/libui_paradise; I am awfully
disorganized and have not noticed it before. My apologies.
I have actually integrated my "downstream" code into a new project called
"widgets". This one shall unify all my GUI-related code: gtk3, gtk4,
libui, also jruby-Swing, and possibly wxruby eventually (and perhaps
fxruby). Right now I actually started yet-another-rewrite, because the
old code I wrote so far, is a bit chaotic.
The current rewrite is an attempt to simplify the GUI code I use (and also,
unify it; for instance, create_button() should work in all toolkits and also
simply button(), although create_button() is perhaps better, despite being
longer, simply because it is more explicit than e. g. "button1 = button('Hey there')").
I did, however had, underestimate the amount of work. Right now I am working
on LibUI first, so this is what I am doing in the last some days. I am going through
all simple and complex examples in LibUI first, finishing the old code, and then
going through all the libui-specific applications I started/finished and reviewing
them, to see whether I can simplify them.
I tried to switch to jruby-Swing actually, because one primary use case
I have had is to make working on Windows easier, but Swing is not the
best toolkit and I ran into some issues with a notebook-tab (tabbed
paned interface with tabs to switch between widgets) while also trying
my luck at a null-layout (that is, via absolute positioning), because
the Swing layout managers are not great. But I gave up for now, because
I ran into some issues with my own code. So now I am back at the
drawing board again, starting with libui actually, because it is both
the simplest GUI (in my opinion) and it works on Windows fine. Also,
I ran into some other issues with gtk and gobject-introspection, but
that is besides the point.
So the TL;DR is that I am still working on the code; almost all of the
old code from libui_paradise is in the widgets-project, as well as
the documentation (which I have already improved; I am actually trying
to add as many useful images as possible here). I will also eventually
upload all that code to github, at the least, but right now I am
still trying to polish and finish the widgets-project as much as
that is possible. So this is just a bit of information - sorry for
the heavily delayed response.
I can not yet with certainty say when I will upload the code in widgets; right now
I am still polishing it. If anyone wants to have the (incomplete) code + old code,
I can happily email it or send it otherwise. But it may be better to wait until it
is more finished and polished, as right now it is a bit chaotic and confusing,
which is another reason why I have not released it yet (also, I am a bit slow,
but even a snail may eventually reach the goal).
Beta Was this translation helpful? Give feedback.
All reactions