MCPcopy Index your code
hub / github.com/PySimpleGUI/PySimpleGUI / set_min_size

Method set_min_size

PySimpleGUI/PySimpleGUI.py:11915–11925  ·  view source on GitHub ↗

Changes the minimum size of the window. Note Window must be read or finalized first. :param size: (width, height) tuple (int, int) of the desired window size in pixels :type size: (int, int)

(self, size)

Source from the content-addressed store, hash-verified

11913 pass
11914
11915 def set_min_size(self, size):
11916 """
11917 Changes the minimum size of the window. Note Window must be read or finalized first.
11918
11919 :param size: (width, height) tuple (int, int) of the desired window size in pixels
11920 :type size: (int, int)
11921 """
11922 if not self._is_window_created('tried Window.set_min_size'):
11923 return
11924 self.TKroot.minsize(size[0], size[1])
11925 self.TKroot.update_idletasks()
11926
11927 def set_resizable(self, x_axis_enable, y_axis_enable):
11928 """

Callers 7

make_windowFunction · 0.95
make_windowFunction · 0.95
mainFunction · 0.95
make_windowFunction · 0.95
make_windowFunction · 0.95

Calls 1

_is_window_createdMethod · 0.95

Tested by

no test coverage detected