4 ms·
Really good? Platform-native APIs.
by Longhanks 8y ago
Really good? Platform-native APIs.
- deleted 8y ago[deleted]
- clear_dg 8y agoQt qualifies then, at least on Linux.
- solarkraft 8y agoQt qualifies on any platform, imo.
- clear_dg 8y agoUnless 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).
- solarkraft 8y agoQt quick has Qt Quick Controls. Confusing naming, basically the same as Qt widgets, but built in Qt Quick (meaning they're themeable).
- cpburns2009 8y agoOn Linux, Qt and GTK are the platform native APIs.
- deleted 8y ago[deleted]
- jimnotgym 8y agoThe original post said > why are you using Python? I'm not sure > Platform-native APIs. are a replacement for Python?
- ptx 8y agoAgreed, 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. )
- toyg 8y agoPywin32 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.
- ptx 8y agoCOM 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.)