Name

geometry

Synopsis

                        T.geometry([geometry_string])

T .geometry( ), without arguments, returns a string encoding T’s size and position: width x height + x_offset + y_offset, with width, height, x_offset, and y_offset being the decimal forms of the corresponding numbers of pixels. T .geometry( S ), with one argument S (a string of the same form), sets T’s size and position according to S.

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.