(self, size)
| 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 |
no test coverage detected