News for hackers. Stuff that matters.
Re:PyQt5 Tutorial: Create a Python GUI in 2018 by Longhanks on Tuesday September 25, 2018 @12:53PM (#18068071)
Really good? Platform-native APIs.
Re:PyQt5 Tutorial: Create a Python GUI in 2018 by cpburns2009 on Tuesday September 25, 2018 @12:59PM (#18068124)
On Linux, Qt and GTK are the platform native APIs.
Re:PyQt5 Tutorial: Create a Python GUI in 2018 by clear_dg on Tuesday September 25, 2018 @12:59PM (#18068119)
Qt qualifies then, at least on Linux.
Re:PyQt5 Tutorial: Create a Python GUI in 2018 by solarkraft on Tuesday September 25, 2018 @01:28PM (#18068429)
Qt qualifies on any platform, imo.
Re:PyQt5 Tutorial: Create a Python GUI in 2018 by clear_dg on Tuesday September 25, 2018 @01:51PM (#18068705)
Unless you use Qt quick which seems to be the way forward, and what many devs with html/css/js background seem to prefer.

Qt widgets look close to native UIs but the feel isn't always the same, especially when you have to juggle with different platforms (all native widgets differ in subtle ways even when their function is the same).

Re:PyQt5 Tutorial: Create a Python GUI in 2018 by solarkraft on Tuesday September 25, 2018 @04:07PM (#18070031)
Qt quick has Qt Quick Controls. Confusing naming, basically the same as Qt widgets, but built in Qt Quick (meaning they're themeable).
Re:PyQt5 Tutorial: Create a Python GUI in 2018 by ptx on Tuesday September 25, 2018 @05:29PM (#18070642)
Agreed, but you can use those from Python, through pywin32 and (for a few rare things that are missing in the former) ctypes.

(If you're on Windows. On Linux, Qt could be considered native. On Mac there is PyObjC. )

Re:PyQt5 Tutorial: Create a Python GUI in 2018 by toyg on Tuesday September 25, 2018 @05:47PM (#18070787)
Pywin32 to call native apis for GUIs sounds very, very painful. I had a few run-ins with pywin32 and COM automation, I don’t think I could bear the thought of developing a full UI with that sort of hacks. At that point, might as well go C# (or IronPython, if it’s still around) and enjoy the VS goodies.
Re:PyQt5 Tutorial: Create a Python GUI in 2018 by ptx on Tuesday September 25, 2018 @06:12PM (#18070986)
COM might have its issues, but I meant using the win32gui, win32api etc. modules to call the native win32 C API for UI. That's hardly a hack, and perhaps even slightly less painful than doing it from C. (I'm only using it for some fairly small things, though.)
Re:PyQt5 Tutorial: Create a Python GUI in 2018 by jimnotgym on Tuesday September 25, 2018 @01:57PM (#18068766)
The original post said

> why are you using Python?

I'm not sure

> Platform-native APIs.

are a replacement for Python?