Re: Eu 4.2.0 Beta?
- Posted by petelomax Jun 14, 2022
- 1031 views
That new struct feature would come in handy. I was also thinking about updating or making a new Win32lib type-ish wrapper.
I definitely think structs will be very useful for interacting with a lot of things and I'm looking forward to an overhaul of Win32Lib.
I'll tell you what: for x in s do is pretty darn neat! I must admit I was a little sceptical and slightly concerned I'd made it too simple, but now that it's in [the internal development version of] Phix, I just can't seem to not use it!
Any new GUI should ideally at least try to be compatible with the CSS box model, by which I mean a little bit of CSS can mimic what happens on the desktop, as opposed to desktop parsing/implementing any form of CSS. In other words, express layout in terms of margin/border/padding, and/or flexbox-compatible, and avoid the use of specific pixel coordinates. Oh, and cross-platform, of course - I am toying with the idea of a new and minimalist GTK/kernel32 GUI wrapper myself, with an IUP-inspired (but not actually using IUP) simple attribute basis, the tricky part getting something to work atop GTK (initially/experimentally on Windows) but not (necessarily) actually looking anything like the underlying gtk function calls.