(self)
| 732 | self.checkEnumParam(widget, 'state', 'disabled', 'normal') |
| 733 | |
| 734 | def test_configure_tabs(self): |
| 735 | widget = self.create() |
| 736 | self.checkParam(widget, 'tabs', (10.2, 20.7, '1i', '2i')) |
| 737 | self.checkParam(widget, 'tabs', '10.2 20.7 1i 2i', |
| 738 | expected=(10.2, 20.7, '1i', '2i') |
| 739 | if get_tk_patchlevel(self.root) >= (8, 6, 14) |
| 740 | else ('10.2', '20.7', '1i', '2i')) |
| 741 | self.checkParam(widget, 'tabs', '2c left 4c 6c center', |
| 742 | expected=('2c', 'left', '4c', '6c', 'center')) |
| 743 | self.checkInvalidParam(widget, 'tabs', 'spam', |
| 744 | errmsg=EXPECTED_SCREEN_DISTANCE_ERRMSG.format('spam')) |
| 745 | |
| 746 | def test_configure_tabstyle(self): |
| 747 | widget = self.create() |
nothing calls this directly
no test coverage detected