L
L
Lisa2015-12-28 07:48:22
Python
Lisa, 2015-12-28 07:48:22

How to prevent window from moving in Python (Tkinter)?

I can't find anywhere how to do this. There is resizable to set a window to a certain place on the screen, but how to make it impossible to move from this place later?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DDDsa, 2015-12-28
@Matreni

overrideredirect(flag=None)
If the flag is non-zero, disables the window manager from redrawing the window. In other words, the window will have no title or border, and cannot be closed or moved by normal means.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question