MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / SetSize

Method SetSize

gui/chrome_tabs.py:412–423  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

410 return self.tab_size
411
412 def SetSize(self, size):
413 width, height = size
414
415 width = max(width, self.min_width)
416 height = max(height, self.min_height)
417
418 cur_width, cur_height = self.tab_size
419 if (width == cur_width) and (height == cur_height):
420 return
421
422 self.tab_size = (width, height)
423 self.InitTab()
424
425 def SetSelected(self, sel=True):
426 self.selected = sel

Callers 15

UpdateWindowSizeMethod · 0.80
OnStateChangeMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
ShowActiveMethod · 0.80
OnSizeMethod · 0.80
AdjustTabsSizeMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
LoadMainFrameAttribsMethod · 0.80

Calls 1

InitTabMethod · 0.95

Tested by

no test coverage detected