Replies: 3 comments
-
I'm very glad you found this little tool useful! And thank you so much for the compliments, it honestly means a lot to me. I made this completely "from scratch". First I saw a
Finally, some time ago I made this template/scaffold rust/gtk project based on the way I was currently structuring applications with After |
Beta Was this translation helpful? Give feedback.
-
Thank you very, very much for the detailed response! So it was quite some effort then to get ready to do things. This was pretty much my experience also. Are you using anything else for UIs these days if you find gtk-rs too verbose/complex? (I'm familiar with the ecosystem) |
Beta Was this translation helpful? Give feedback.
-
If you want the full UI experience, I think the only choice is using gtk or cocoa (Apple/macos but also gnustep's implementation). Nothing else is as mature feature-wise except maybe tcl/tk which is "old". See this article here about the complexity of UI frameworks: https://www.cmyr.net/blog/gui-framework-ingredients.html written by @cmyr who maintains a GUI framework in Rust, Druid If you want something quick and simple, I recommend the tkinter python3 module which uses tcl/tk. Here's a very smol single-purpose app I wrote in tkinter https://github.com/epilys/scrcpy-input.py which was incredibly fast and easy to write without prior experience. PS.
Looking at the commit history, it took 5 days :D |
Beta Was this translation helpful? Give feedback.
-
Hey! While looking around for an on-screen ruler, I found nothing suitable for my system. A quick GitHub search brought me here. I was very curious to see how GTK was used and I have to say this may be some of the cleanest Rust-GTK code I've seen. I really want to ask: how did you figure out what to use, and how everything was used together? Are you very familiar with GTK?
Thank you for a great tool :) I've going to use it for making sure UI components are aligned
Beta Was this translation helpful? Give feedback.
All reactions