[Low priority suggestion] Would it be feasible or desired to have a gallery for wxruby widgets/programs, on the main README? #475
rubyFeedback
started this conversation in
Ideas
Replies: 1 comment
-
|
Sounds like a 'nice to have' and if users have something to contribute to make that feasible I will be happy to comply. |
Beta Was this translation helpful? Give feedback.
0 replies
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 mcorino,
Some projects offer a gallery; for instance glimmer here:
https://github.com/AndyObtiva/glimmer
sort of has one, or an even better gallery (in my opinion)
by kojix2 for his crystal-bindings to libui-ng here:
https://github.com/kojix2/uing
Have a look at the subsection "Examples Gallery" there.
What I find especially useful is that kojix2 shows the source
code (link to the source code) on the left hand side; and
images on the right hand side, fitting to the platforms at
hand.
I am not 100% certain how kojix2 did this (perhaps he can
respond to this question if someone points it out :) ) but if
I correctly understand what he wrote, then this is actually
automatically generated - at the least the images. So this
means that basically only the ruby code or crystal code
needs to work, and github does the rest (I think). Would
this be a possibility for wxruby3 too? Evidently your time
is limited so I don't recommend to really have every widget
documented. But, say, something in the range of 3 to 8
programs, as an overview, could perhaps be compared in
such a table.
While kojix2' project refers primarily to the main widgets,
he does also offer some games - for instance, reversi
or area_breakout. It is nice in that it showcases what is
possible. I think it would also be nice if something like
this could be done for wxruby; perhaps not all examples,
but a few simple widgets. People could kind of also use
that as a reference, if they forgot something they can
look it up quickly.
Anyway, this is just a suggestion, if it is unwanted or too
much work just feel free to ignore it.
Edit: Ah, I forgot to add ... wxruby3 already has many individual
samples under samples/. It would be nice if these github actions
could also generate a screenshot example for each sample,
and then be shown in that table. Unfortunately I don't know how
kojix2 made it; if he does not notice this issue then I may ask him
in a few weeks, after reading up on how github actions work - perhaps
then I can explain it better than right now, too. I find it very useful -
it is a great overview table, quickly showcasing what is possible
in a project (in this case uing, but here for this project of course it
would then be specific of wxruby3; I don't know all samples under
the samples/ directory, I only tried a few so far, so I don't even know
what is all available there).
Beta Was this translation helpful? Give feedback.
All reactions