(self)
| 613 | return ttk.PanedWindow(self.root, **kwargs) |
| 614 | |
| 615 | def test_configure_orient(self): |
| 616 | widget = self.create() |
| 617 | self.assertEqual(str(widget['orient']), 'vertical') |
| 618 | errmsg='attempt to change read-only option' |
| 619 | if get_tk_patchlevel(self.root) < (8, 6, 0, 'beta', 3): |
| 620 | errmsg='Attempt to change read-only option' |
| 621 | self.checkInvalidParam(widget, 'orient', 'horizontal', |
| 622 | errmsg=errmsg) |
| 623 | widget2 = self.create(orient='horizontal') |
| 624 | self.assertEqual(str(widget2['orient']), 'horizontal') |
| 625 | |
| 626 | def test_add(self): |
| 627 | # attempt to add a child that is not a direct child of the paned window |
nothing calls this directly
no test coverage detected