This question already has answers here:
How can I create a text input box with Pygame?
(5 answers)
How to prompt user to open a file with python3?
(2 answers)
Closed last month.
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.
Related
This question already has answers here:
tips on Adding/creating a drop down selection box in pygame
(1 answer)
trying creating dropdown menu pygame, but got stuck
(1 answer)
Closed 5 months ago.
So i'm making a GUI with pygame, with some game elements that I need pygame to do.
But I need to make a context menu on right click.
It doesn't have to be in pygame, it could be a command in the os or sys modules. I just need a way to open one of these menus, and I can activate it on right click.
Sorry if my question is not clear, I really don't know how to explain it.
This question already has answers here:
how to clear the screen in python [duplicate]
(1 answer)
How to clear the interpreter console?
(31 answers)
Closed 3 years ago.
I'm trying to clear the shell window when the actual code runs. I've done a couple different searches and saw some options but none seem to work. Here is the one I've been trying to get to work (I'm using Python 3.8.1).
import os
os.system('cls')
This question already has answers here:
Clear terminal in Python [duplicate]
(27 answers)
Closed 4 years ago.
I am making a text based rpg in python 3 and the output window gets very cluttered cluttered. I was wondering if there was a way to clear the screen automatically from time to time.
import os
os.system('cls')
You can use os.system('clear') if you are on linux.
This question already has answers here:
How to set justification on Tkinter Text box
(4 answers)
Closed 6 years ago.
I am making a basic python Tkinter calculator and I need to know how to force the Textbox I have made to be Right to Left because that is what most calculators use. Is their a simple way to do this?
It is as simple as
justify='right'
This question already has answers here:
How to make a Tkinter window jump to the front?
(12 answers)
Closed 6 years ago.
is there any way to make a tkinter program on top of all windows? Like switching to a new window will not minimize or put the tkinter program back, thanks!
Yes. You just need to set the window manager attribute topmost:
mywindow.wm_attributes("-topmost", True)