MCPcopy
hub / github.com/corpnewt/gibMacOS / resize

Method resize

gibMacOS.py:106–111  ·  view source on GitHub ↗
(self, width=0, height=0)

Source from the content-addressed store, hash-verified

104 self.mac_prods = []
105
106 def resize(self, width=0, height=0):
107 if not self.interactive:
108 return
109 width = width if width > self.min_w else self.min_w
110 height = height if height > self.min_h else self.min_h
111 self.u.resize(width, height)
112
113 def save_settings(self):
114 # Ensure we're using the latest values

Callers 7

__init__Method · 0.95
set_prodsMethod · 0.95
download_prodMethod · 0.95
show_catalog_urlMethod · 0.95
pick_catalogMethod · 0.95
pick_macosMethod · 0.95
mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected