I tried to create a nice-looking window using tkinter and especially ttk. I get ride of the classic and ugly default window. I recreated the menu bar, the fullscreen feature and the minimisation of the window in the OS task bar.
- Python 3.6 or higher (Developped on Windows, warn me if you encounter troubles on OsX/Linux)
pip install - r requirements.txt
Advanced Feature | Code Implementation | Documentation or StackOverflow issue |
---|---|---|
ToolTip widget | tooltip.py | Source |
Creating pdf document from nothing | save_bill_to_pdf | Doc |
Allow the window to be dragged | Bind movements | Source |
Scientific calculator for raw string | scient_calc.py | Parse input string and calculate it '5+5*5' |
Deeply customize style | Improved ttk themes | Map styles for design and events |
Allow iconification of a custom window | Setting & Feature | (Can't find stack origin) |
Reorganize all widget coordinates according to the window size | place_widgets | Use the ratio between old and new window size |