Live data from Hacker News

Guietta – Python module to create simple GUIs

github.com

11–20 of 166 posts

Re: Guietta – Python module to create simple GUIs

#15

I love how the imports in https://github.com/alfiopuglisi/guietta/blob/master/guietta/... are ordered from shortest to longest. Makes them look like stairs! Very aesthetically pleasing :). Might take that up in my next project.

Someone once told that that is the way to do it and so I always do (this is not how I normally operate ;)). There is no practical use though I think. But, it looks nice :)

Kind of like a phonebook starting with companies like AAAGarden, now you want your module name to be short to get to the top ;)

Edit: Found some discussion on this topic: https://stackoverflow.com/questions/20762662/whats-the-corre...

Re: Guietta – Python module to create simple GUIs

#16

I don't want to shit on anyone's work but there are so many wrappers around qt, gtk and the others. I wish more people were writing guis frm scratch as opposed to wrapped the same old shit.

I agree. Qt is a massive overkill.

There is - IMO - a resurgence of stuff being made from first principles instead of wrapping the same old turd again and again. For example https://github.com/Immediate-Mode-UI/Nuklear.

It just makes sense to have variety and it can be eye opening to see a 1MB header based solution adequately solving this problem of simple UIs without invoking the 1000lbs gorilla that is Qt.

Re: Guietta – Python module to create simple GUIs

#17
post #12
post #4

Every time I see something like this I think back to the glorious days of Borland Delphi with it's beautiful drag&drop GUI builder.

Qt has both Qt Designer and Qt Creator to build GUIs with drag and drop.

Ish - Designer is basically deprecated and unloved.

Re: Guietta – Python module to create simple GUIs

#18
post #12
post #4

Every time I see something like this I think back to the glorious days of Borland Delphi with it's beautiful drag&drop GUI builder.

Qt has both Qt Designer and Qt Creator to build GUIs with drag and drop.

It's not just the drag and drop, it's the drag and drop and edit (single) callback. Like drag a button in the middle, resize it, change the text and then right-click and start coding what pushing it does. Now a days it's not push button but mouse over, mouse down, mouse up, press, long press, triggered, etc. etc. and I have to manually find or create the right source code file linking itself to the GUI form file.

Re: Guietta – Python module to create simple GUIs

#19

Great idea! Tkinter always looks a little dated and PyQT is more than my brain wants to deal with when I need a simple GUI.

> Tkinter always looks a little dated

"A little"... it's straight outta the '90s. I am as nostalgic as anyone but even I don't particularly long for that æsthetic.

Re: Guietta – Python module to create simple GUIs

#20

sweet! will this run on mac? edit: tried: "UnboundLocalError: local variable 'loader' referenced before assignment Fatal Python error: could not initialize part 2 ... 'python script.py' terminated by signal SIGABRT (Abort)" :(

That smells of poor QT programming rather than anything to do with macOS.
Post reply on HN