Live data from Hacker News

Guietta – Python module to create simple GUIs

github.com

21–30 of 166 posts

Re: Guietta – Python module to create simple GUIs

#21
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.

And WinForms/Visual Basic

There was just something so natural about the way you could quickly throw together a UI and then hook everything up to it.

Re: Guietta – Python module to create simple GUIs

#22
post #14

It says MIT license. I'm not so good with comprehending licensing terms. PySide2 [0] is under >GNU Library or Lesser General Public License (LGPL), Other/Proprietary License (LGPL) So, is it okay for Guietta to be MIT? [0] https://pypi.org/project/PySide2/

AFAIK a library that uses LGPL3 modules without any modification is allowed to be licensed differently, provided that the final product allows the LGPL3 modules to be recompiled and/or swapped for others and that the source for the LGPL3 modules is provided.

Re: Guietta – Python module to create simple GUIs

#23
_ is typically used to i18n strings with gettext, it seems like poor naming for a layout-related function like a spacer.

Apart from that, this seems to be a wrapper on top of PySide/QT to speed up development of basic forms. I don't find it particularly attractive, I have a feeling one will have to drop into QT as soon as requirements get slightly complex. Then again, if it gets more people to approach QT and desktop GUIs in general, it's welcome.

Re: Guietta – Python module to create simple GUIs

#24
post #12

Earlier quoted context omitted.

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.

Omg that sounds amazing.

Re: Guietta – Python module to create simple GUIs

#25
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.

And WinForms/Visual Basic There was just something so natural about the way you could quickly throw together a UI and then hook everything up to it.

The Events list in Visual Studio made everything extremely intuitive and painless.

Re: Guietta – Python module to create simple GUIs

#26

Earlier quoted context omitted.

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.

Omg that sounds amazing.

This drag & drop behaviour is still perfectly viable in WinForms eg. using C#.

Never quite a polished as Borland's offering of yesteryear (the GUI editor always felt clunky) but it's perfectly do-able.

Re: Guietta – Python module to create simple GUIs

#28
post #14

It says MIT license. I'm not so good with comprehending licensing terms. PySide2 [0] is under >GNU Library or Lesser General Public License (LGPL), Other/Proprietary License (LGPL) So, is it okay for Guietta to be MIT? [0] https://pypi.org/project/PySide2/

AFAIK a library that uses LGPL3 modules without any modification is allowed to be licensed differently, provided that the final product allows the LGPL3 modules to be recompiled and/or swapped for others and that the source for the LGPL3 modules is provided.

Thanks.

I'm still confused though. If I create an application using Guietta, do I have to follow MIT or LGPL3 terms?

Re: Guietta – Python module to create simple GUIs

#29
This looks great. I have previously written a small GUI application with Qt where it's just a slider and a text label, and when the value of the slider is changed, a command is ran and the label updated. In quickly hacked together Python/Qt, it's 71 lines. It seems like I can cut that down quite a lot by using this. I will have to test it. Thanks!

Re: Guietta – Python module to create simple GUIs

#30
post #6

Earlier quoted context omitted.

Lazarus(open source and cross platform) is there, alive and thriving, actively developed and used. https://www.lazarus-ide.org/

Too bad, Pascal is not really popular. If only there were similar thing (cross-platform GUI library) but for Go or Rust languages.

Popularity shouldn't be the deciding factor for tools of any kind.
Post reply on HN