ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • [Tkinter] geometry 함수
    Python/Tkinter 2023. 2. 15. 22:37
    반응형
    def wm_geometry(self, newGeometry=None):
            """Set geometry to NEWGEOMETRY of the form =widthxheight+x+y. Return
            current value if None is given."""
            return self.tk.call('wm', 'geometry', self._w, newGeometry)
        geometry = wm_geometry

     

    geometry('widthxheight+x+y')

     

    또는

     

    geometry('widthxheight')

     

    형태로 사용한다. 

    728x90

    댓글

Designed by Tistory.