0

I am trying to make a "macOS" style text box like this text box I used in a "turtle" program. However I am not sure how to make it.

For extra clarity I want to make a clean new gui not an messy old gui. Does not have to be separate window just look good.

Rabbid76
  • 202,892
  • 27
  • 131
  • 174
HyperText
  • 11
  • 2
  • Well, your "old GUI" image is from Windows 95/98 style, and will never render on a Mac/Linux, or probably modern Windows UI, anyway... You also cannot create a "new, macOS style" window from Windows or Linux OS – OneCricketeer Jan 21 '23 at 01:11
  • 2
    Why do you need "PyGame" when you can use plain [tkinter](https://docs.python.org/3/library/tkinter.html#a-hello-world-program)? – OneCricketeer Jan 21 '23 at 01:13
  • @OneCricketeer, 1. win98 gui was used as an example of a messy ui 2. I use pygame because its easy, I know it, and my entire program is already written in pygame – HyperText Jan 21 '23 at 02:14
  • There are several [Tkinter simple dialogues](https://docs.python.org/3.9/library/dialog.html#module-tkinter.simpledialog) e.g. to ask for a float or sting, see [this answer](https://stackoverflow.com/a/63803803/2280890) for an example integrated with pygame. – import random Jan 21 '23 at 05:51
  • 1
    *"However I am not sure how to make it."*: Please read [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask) and consider [How much research effort is expected of Stack Overflow users?](https://meta.stackoverflow.com/questions/261592/how-much-research-effort-is-expected-of-stack-overflow-users). – Rabbid76 Jan 21 '23 at 07:26
  • Regarding UI widget styles, PyQT often "looks better", but your shown images are very easily achieved with plain tkinter dialogs – OneCricketeer Jan 21 '23 at 14:46

0 Answers0