Skip to content Skip to sidebar Skip to footer

Tkinter Window Get X, Y, Geometry/coordinates Without Top Of Window

I am using tk in python (3), though I'd assume that this applies to any language. I am looking to get the current x, y coordinates of a tk window outside of the title bar: import t

Solution 1:

In Tkinter, most configuration functions when used without new value arguments returns the current value(s). Thus root.geometry() (plus a few string parsing) can serve your goal.


Post a Comment for "Tkinter Window Get X, Y, Geometry/coordinates Without Top Of Window"