Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glimmer gosu support? (This is more a question though) #26

Closed
rubyFeedback opened this issue Aug 8, 2022 · 1 comment
Closed

Glimmer gosu support? (This is more a question though) #26

rubyFeedback opened this issue Aug 8, 2022 · 1 comment

Comments

@rubyFeedback
Copy link

rubyFeedback commented Aug 8, 2022

This is more a short question, sorry for that.

Do you think glimmer may support gosu one day? And could this then also work
on windows?

Gosu does not have a lot of support for custom widgets, naturally, since it caters
more towards games. But I wondered since you can create nice games in gosu,
so useful widgets could also be supported. But it probably would require quite a
lot of time and your time is limited, so don't worry too much about that question.
I am more interested in how feasible it may be. "Write once, glimmer-run everywhere"
slogan. (Actually my primary use case for windows comes from elderly relatives
who depend on Windows.)

@AndyObtiva
Copy link
Owner

AndyObtiva commented Aug 8, 2022

You can accomplish your Windows goals already in any of the existing Glimmer toolkits. As such, I don't see value in supporting a new toolkit for your Windows needs. It would just be a big waste of time. Learn one of the existing toolkits well instead and you'll have your Windows app ready in no time.

I already gave you an implementation in Glimmer DSL for LibUI in this issue report:
AndyObtiva/glimmer-dsl-libui#31

If you don't like it, it can be improved (just ask me.. more area-based custom controls can be used to solve your problems), or you can simply build in Glimmer DSL for SWT, the richest Glimmer DSL in features. As I've mentioned to you before, it can package Windows EXE/MSI files, so your user can install as a native application on Windows (without needing to have Java or JRuby) and use just like any other Windows application. If you're stuck somehow with Glimmer DSL for SWT, hit me up in an issue or in Gitter Chat. I'd be happy to help. I could even implement the main screen or skeleton of the app if you like. Glimmer is so produtive, it takes almost no time, so I don't mind at all.

Otherwise, since you have been having trouble with installing GTK on Windows, I probably would recommend Glimmer DSL for FX next since it is rich in features and includes Windows binaries out of the box (just like LibUI), so you can just install your app gem in Windows, and it would work (just like LibUI). Unfortunately, FXRuby does not have a native Windows look and feel (unlike LibUI and SWT), but it might be good enough for your user anyways. If you need help with this toolkit, hit me up about it in an issue or in Gitter Chat. That Glimmer DSL is still brand new, so it is missing many features, but it might work well as is for your needs anyways.

Tcl/Tk is another option that is rich in features, but its setup is complicated, so I would probably avoid unless all other options became unfeasible.

In any case, I am closing this issue as I don't see as useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants