Secret-chest/scratch2python

Make a GUI

Opened this issue · 7 comments

Make a GUI.

I'm going to use GTK+ 3 and bundle it on Windows (with an aproppiate theme).

image

(Glade mockup)

@Secret-chest tkinter works great!

@Secret-chest tkinter works great!

@JaydenDev It is ugly, I want it to look native and it doesn't have good layout management. I might use GTK+ and bundle it on Windows since that can be done.

@Secret-chest tkinter works great!

@JaydenDev It is ugly, I want it to look native and it doesn't have good layout management. I might use GTK+ and bundle it on Windows since that can be done.

You can style tkinter with styling properties. Also GTK on Windows looks even worse.
image

@Secret-chest tkinter works great!

@JaydenDev It is ugly, I want it to look native and it doesn't have good layout management. I might use GTK+ and bundle it on Windows since that can be done.

You can style tkinter with styling properties. Also GTK on Windows looks even worse.

GTK on windows looks worse if you don't ship a theme. tkinter on linux looks like hell. Also, those styling properties are limited, and they still don't solve the bad layout problem.

@Secret-chest tkinter works great!

@JaydenDev It is ugly, I want it to look native and it doesn't have good layout management. I might use GTK+ and bundle it on Windows since that can be done.

You can style tkinter with styling properties. Also GTK on Windows looks even worse.

GTK on windows looks worse if you don't ship a theme. tkinter on linux looks like hell. Also, those styling properties are limited, and they still don't solve the bad layout problem.

Generally, Python is a pretty terrible choice for GUIs. You can split each function into seperate python files, and share code through imports. Then have a powershell GUI for Windows that runs the individual python functions, which by itself looks native as it can get. Than on Linux use a GTK library with python.

@Secret-chest tkinter works great!

@JaydenDev It is ugly, I want it to look native and it doesn't have good layout management. I might use GTK+ and bundle it on Windows since that can be done.

You can style tkinter with styling properties. Also GTK on Windows looks even worse.

GTK on windows looks worse if you don't ship a theme. tkinter on linux looks like hell. Also, those styling properties are limited, and they still don't solve the bad layout problem.

Generally, Python is a pretty terrible choice for GUIs. You can split each function into seperate python files, and share code through imports. Then have a powershell GUI for Windows that runs the individual python functions, which by itself looks native as it can get. Than on Linux use a GTK library with python.

I'll still use GTK. I can ship a Windows 10 theme on Windows and use the system one on Linux. I can't code the same GUI 2 times.

Working on it.

Image