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

Method CopyRegion

gui/chrome_tabs.py:464–470  ·  view source on GitHub ↗
(self, region)

Source from the content-addressed store, hash-verified

462 self.tab_img = img
463
464 def CopyRegion(self, region):
465 rect = region.GetBox()
466
467 newRegion = wx.Region(rect.X, rect.Y, rect.Width, rect.Height)
468 newRegion.Intersect(region)
469
470 return newRegion
471
472 def InitTab(self):
473 self.tab_width, self.tab_height = self.tab_size

Callers 2

GetTabRegionMethod · 0.95
GetCloseButtonRegionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected