News for hackers. Stuff that matters.
Re:Guietta – Python module to create simple GUIs by lvturner on Friday July 03, 2020 @04:07AM (#23722039)
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 by ptx on Friday July 03, 2020 @06:57PM (#23728346)
There are some disadvantages, though. If you're looking at WinForms or VB UI with two buttons, e.g. yes/no, there are things you can't easily and naturally see at a glance.

* What's the tab order? (Usually whatever order they happened to be created in, which is often wrong after the UI has gone through some changes.)

* Are they really exactly the same size or only almost the same?

* How do they behave when the window is resized?

* Does one button have one of its many properties set slightly differently from the other one? (Have fun inspecting them all and make sure to not accidentally change anything while doing so.)

* Did you just accidentally move one of the buttons one pixel while inspecting things?

I prefer doing the UI in code, so that everything is clearly spelled out and not hidden in some properties panel. In WinForms it works pretty well with TableLayoutPanel.

Petzold wrote about this approach: http://charlespetzold.com/etc/DoesVisualStudioRotTheMind.htm...

Re:Guietta – Python module to create simple GUIs by ollo on Friday July 03, 2020 @04:14AM (#23722072)
The Events list in Visual Studio made everything extremely intuitive and painless.
Re:Guietta – Python module to create simple GUIs by ericcholis on Friday July 03, 2020 @07:18AM (#23723016)
Looking for my Visual FoxPro people out there