>have an idea that would require GUI>spend 5 seconds reading about GUI frameworks>immediately lose all interest
Use godot
>>107084393literally just vibecode it
>>107084393>learn python>use tkinter>everyone says tkinter looks like ass and i shouldnt bother>actually -learn- how to use tkinter>get called a front-end dev who doesn't know how to code>fine; whatever. do it in c++ and qt>get told it doesn't count and i cheatedgoddamn it
>>107084723python tkinter is bound by pickling
>>107084393>drawing gui is easy dude>check api>draw a rectangle with>SELF.SYSTEM.INVOKE()-->{SELF().REDIRECT-->DRWRKT(...10 required parameters here, half of them undocumented, the other half refactored many times...)
>>107084393Electron is where it's at.A pain in the ass but still better than anything else.
>>107084393Just use tkinter, it's close enough.
>>107084828>>107084844should have clarified, this is an mcu project.
>>107084393If it can be done with a cobbled together tui, it isn't worth doing.
>>107084923You should try asking on >>>/tv/ in that case
>>107084942:D
>>107084393import QtQuickimport QtQuick.ControlsRectangle { Button { Text { text: "this was solved by QML btw." } }}
>>107084393the crazy part is that it didn't have to be this way. the original concept behind x11 was that you would send drawing commands to a socket - imagine cairo or any other vector graphics library, and the server would then send you the user events through that same socket. the good thing about this was that, being just a socket, you could use it with select, poll and all the others. the other good thing was that you could leave the complex stuff (text rendering, scaling, anti-aliasing, etc.) to the xorg serverbut the x11 protocol was the worst implementation possible of a pretty good idea. and being so bad it eventually became unmaintainable and they had to drop a lot of features: you are not supposed to use x11 drawing primitives, they are officially broken. the way you are supposed to use x11 in 2025 is just asking for an opengl/vulkan context or a framebuffer and render everything yourself (wayland took this approach too). this means that you have to use a library, and there are only 2 libraries: gtk and qt. these two come with several abstraction layers that take the x11 socket away from you, so you can't really use select, poll, epoll or anything like that anymorethis is why those two frameworks have to implement they ad-hoc event loop and everything has to go through it so you have to structure your program around it
>>107084923>>107084942Model Controller Universe?
use swing
not to derail but why did stuff like VB die out? im a zoom-zoom and i think it'd be useful for making task-specific programs that only i'd ever use, kinda like the programs i'd make on my ti-84 in high school.
>>107084393>use vibe code>get full code with gui
>>107085370It was killed by millennials. Not the first (or last) time that happened.
>>107085370VB as a language died out because there's no use case anymore. C# is a lot better. IT actually supports the same Winforms builder even today.Basically all visual GUI development tools have been killed. Everybody writes GUIs and websites in pure code now. I don't know why, I always thought these GUI dev tools looked promising.
>>107085509C# is not a lot better. They might as well have just skipped C# and only adopted VB for .Net.
>>107085646Well I sure as hell prefer C# to VB. I don't like VB as a language, but I like the old tooling around VB6.
if react is good enough for windows 11, it's good enough for you anon
>>107084393haha OP I love froggo XD
>>107085509>I always thought these GUI dev tools looked promisingThey tend to be fine until you need to deal with variable-sized content. Including of the buttons in the layout because users change the font scaling and the language.Describing the semantics of how to resize with all that stuff going on is just so much easier with linguistic solutions. And buttons are pretty trivial anyway.Unless you use GTK, but then you like self-harm anyway.
>>107085721this but unironically. you're probably not building anything important enough to be hindered by just using React if GUI shit pisses you off so much.
>>107084393What's your idea? I'll tell you what the problems with it are.
>>107084600This unironically. I've been using it for my latest project because there are no good cross-platform GUIs. godot just werks, werks on phone, linux and windows out of the box without time-wasting tinkering.
>>107084393my first 'GUI' was out of necessity when i just started learning how to automate my own job. I slapped it together with python constantly providing updates saved to a file, but instead of using something reasonable like tkinter or some other python module i made an HTA file (HTML/JS) that interacted with the python using vbscriptthis was like, 5 years ago. 0/10 wouldnt do it this way again but it somehow 'just worked'
just find an open source program, slightly edit it, close the source and BOOM you got it. I make millions a year doing this
How hard would it theoretically be to develop a webui for a CLI based toolkit like Axolotl?
>>107088242>cross-platformwhy? why the fuck do you need cross-platform
>>107088720Because my work PC is Windows and my personal PC is Linux and I'd like to be able to use it on both.
>he didn't spend years making his own GUIsmdh
How good are llm's at creating gui's btw? Cause writing them by hand is either cumbersome or a pita.
>>107084965I remember how shit this was to use. The slots and whatever else. I just remember it sucking.
>>107085370VB is good for that.The biggest problem is that there's no GUI scaling.Which in offices wouldn't be a problem until some fucking retard from IT procures 2 in 1 flippy notebooks with a screen size of 10" and now a window made for 16" screens won't show and requires a redesign and it's COVID and no one has a monitor / is going to borrow a monitor from work.I think the reason why they're dead though is just security. VB can call system DLLs and do anything which made IT Sec scared of Accountants who learnt a bit of code.
>>107085509>all visual GUI development tools have been killedDoesn't Qt have one?
>>107084723>>get told it doesn't count and i cheatedYes. You should have used PySide6 anon
>>107084723>everyone says tkinter looks like asswell, it does. it's good enough when I quickly need to make a functional GUI for myself, but that's it. users today are used to Electron apps everywhere.
>>107089232how did you make this? it looks pretty rad
>>107084923Micro controller unit?
>>107090265I made my own library. Renderer is written in OpenCL lmao.