So I searched a lot of things to make very beautiful looking GUIs in python, and the perfect thing I've found is webapp.
The thing I'd like to know before diving into this, is could I make a GUI from this webapp, like the user open the script, and he gets the webapp inside a window, and it feels like a whole APP itself!
(idk if I'm clear with this, but long story short, embed a web app inside a dedicated window without any browser stuff)
#π Modern/Pro looking GUI
22 messages Β· Page 1 of 1 (latest)
@carmine knoll
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
hey @carmine knoll
you can archive this by embedding a web app inside a standalone window
making it feel like a native desktop applicatins
So, the short answer is, the best looking GUI are always going to be the platform specific/native languages.
Or doing a lot of work in QT
this can be done using python with tools like Electron, PyWebView, or PyQt5/PySide2.
best looking GUI
that is 10% investing in functionality and 90% of time into style, lib/framework plays 2nd role
Electron (formerly known as Atom Shell) is a free and open-source software framework developed and maintained by OpenJS Foundation. The framework is designed to create desktop applications using web technologies (mainly HTML, CSS and JavaScript, although other technologies such as front-end frameworks and WebAssembly are possible) that are rende...
Isn't electron javascript?
I guess
Yeah seen things like this, but I also would like to make my custom title bar
but iiuc, you write most of your program in whatever language you like, and only use JS for the front end oops looks like it indeed is JS all the way down
The only one I know that has a Python backend is Eel, but that relies on Chrome being installed iirc (rather than being embedded in the app or using the system's webview)
Not what I'm looking for
you can do it using Electron and PyQt5/PySide2
creating a custom title bar for a web based GUI embedded in a standalone window is indeed possible, though it requires a bit more customization
inherit from QTitleBar / already existing title bar class and override (part of) behavior, thats it π€
π€
I will make search about all of this, thanks everyone!
Will probably post a thing here when I'll find the best thing that correspond my needs!
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.