Lines Matching refs:TclError
3 from Tkinter import TclError
76 self.assertRaises(tkinter.TclError, self.widget.identify, None, 5)
77 self.assertRaises(tkinter.TclError, self.widget.identify, 5, None)
78 self.assertRaises(tkinter.TclError, self.widget.identify, 5, '')
105 self.assertRaises(tkinter.TclError, self.widget.instate,
107 self.assertRaises(tkinter.TclError, self.widget.instate,
264 self.assertRaises(tkinter.TclError, cbtn.tk.globalgetvar,
325 self.assertRaises(tkinter.TclError, self.entry.bbox, 'noindex')
326 self.assertRaises(tkinter.TclError, self.entry.bbox, None)
337 self.assertRaises(tkinter.TclError, self.entry.identify, None, 5)
338 self.assertRaises(tkinter.TclError, self.entry.identify, 5, None)
339 self.assertRaises(tkinter.TclError, self.entry.identify, 5, '')
367 self.assertRaises(tkinter.TclError, self.entry.validate)
526 self.assertRaises(tkinter.TclError, self.combo.current,
529 self.assertRaises(tkinter.TclError, self.combo.current, '')
567 self.assertRaises(tkinter.TclError, self.paned.add, child)
573 self.assertRaises(tkinter.TclError, self.paned.add, child)
580 self.assertRaises(tkinter.TclError, self.paned.add, good_child)
585 self.assertRaises(tkinter.TclError, self.paned.pane, 2)
588 self.assertRaises(tkinter.TclError, self.paned.pane, 0)
592 self.assertRaises(tkinter.TclError, self.paned.forget, None)
593 self.assertRaises(tkinter.TclError, self.paned.forget, 0)
597 self.assertRaises(tkinter.TclError, self.paned.forget, 0)
601 self.assertRaises(tkinter.TclError, self.paned.insert, None, 0)
602 self.assertRaises(tkinter.TclError, self.paned.insert, 0, None)
603 self.assertRaises(tkinter.TclError, self.paned.insert, 0, 0)
609 self.assertRaises(tkinter.TclError, self.paned.insert, 0, child)
636 self.assertRaises(tkinter.TclError, self.paned.pane, 0)
648 self.assertRaises(tkinter.TclError, self.paned.pane, 0,
653 self.assertRaises(tkinter.TclError, self.paned.sashpos, None)
654 self.assertRaises(tkinter.TclError, self.paned.sashpos, '')
655 self.assertRaises(tkinter.TclError, self.paned.sashpos, 0)
659 self.assertRaises(tkinter.TclError, self.paned.sashpos, 0)
662 self.assertRaises(tkinter.TclError, self.paned.sashpos, 1)
815 self.assertRaises(tkinter.TclError, self.scale.get, '', 0)
816 self.assertRaises(tkinter.TclError, self.scale.get, 0, '')
852 self.assertRaises(tkinter.TclError, self.scale.set, None)
923 self.assertRaises(tkinter.TclError, self.nb.tab, self.child1)
944 except tkinter.TclError:
952 self.assertRaises(tkinter.TclError, self.nb.hide, -1)
953 TclError, self.nb.hide, 'hi')
954 self.assertRaises(tkinter.TclError, self.nb.hide, None)
955 self.assertRaises(tkinter.TclError, self.nb.add, None)
956 self.assertRaises(tkinter.TclError, self.nb.add, ttk.Label(self.root),
981 self.assertRaises(tkinter.TclError, self.nb.forget, -1)
982 self.assertRaises(tkinter.TclError, self.nb.forget, 'hi')
983 self.assertRaises(tkinter.TclError, self.nb.forget, None)
997 self.assertRaises(tkinter.TclError, self.nb.index, -1)
998 self.assertRaises(tkinter.TclError, self.nb.index, None)
1018 self.assertRaises(tkinter.TclError, self.nb.insert, 2, tabs[0])
1019 self.assertRaises(tkinter.TclError, self.nb.insert, -1, tabs[0])
1030 self.assertRaises(tkinter.TclError, self.nb.insert, 2, child3)
1031 self.assertRaises(tkinter.TclError, self.nb.insert, -1, child3)
1034 self.assertRaises(tkinter.TclError, self.nb.insert, 'end', None)
1035 self.assertRaises(tkinter.TclError, self.nb.insert, None, 0)
1036 self.assertRaises(tkinter.TclError, self.nb.insert, None, None)
1060 self.assertRaises(tkinter.TclError, self.nb.tab, -1)
1061 self.assertRaises(tkinter.TclError, self.nb.tab, 'notab')
1062 self.assertRaises(tkinter.TclError, self.nb.tab, None)
1210 self.assertRaises(tkinter.TclError,
1236 self.assertRaises(tkinter.TclError, self.tv.column, '#0', id='X')
1238 self.assertRaises(tkinter.TclError, self.tv.column, 'invalid')
1244 self.assertRaises(tkinter.TclError, self.tv.column, '#0',
1249 self.assertRaises(tkinter.TclError, self.tv.delete, '#0')
1260 self.assertRaises(tkinter.TclError,
1299 self.assertRaises(tkinter.TclError,
1301 self.assertRaises(tkinter.TclError,
1303 self.assertRaises(tkinter.TclError,
1305 self.assertRaises(tkinter.TclError,
1322 self.assertRaises(tkinter.TclError, self.tv.exists, None)
1337 self.assertRaises(tkinter.TclError, self.tv.focus, 'hi')
1350 self.assertRaises(tkinter.TclError, self.tv.heading, '#0',
1353 self.assertRaises(tkinter.TclError, self.tv.heading, '#0',
1392 self.assertRaises(tkinter.TclError, self.tv.index, 'what')
1418 self.assertRaises(tkinter.TclError, self.tv.index, c2)
1423 self.assertRaises(tkinter.TclError, self.tv.insert, 'none', 'end')
1426 self.assertRaises(tkinter.TclError, self.tv.insert, '', 'end',
1428 self.assertRaises(tkinter.TclError, self.tv.insert, '', 'end',
1434 self.assertRaises(tkinter.TclError, self.tv.insert, '', 'middle')
1439 self.assertRaises(tkinter.TclError, self.tv.insert, '', 'end',
1441 self.assertRaises(tkinter.TclError, self.tv.insert, '', 'end',
1491 self.assertRaises(tkinter.TclError, self.tv.selection_set, 'none')
1492 self.assertRaises(tkinter.TclError, self.tv.selection_add, 'none')
1493 self.assertRaises(tkinter.TclError, self.tv.selection_remove, 'none')
1494 self.assertRaises(tkinter.TclError, self.tv.selection_toggle, 'none')
1569 self.assertRaises(tkinter.TclError, self.tv.set, item, 'A')
1570 self.assertRaises(tkinter.TclError, self.tv.set, item, 'A', 'b')
1573 self.assertRaises(tkinter.TclError, self.tv.set, 'notme')
1613 self.assertRaises(tkinter.TclError, self.tv.tag_configure,
1626 self.assertRaises(TclError, self.tv.tag_has, 'tag1', 'non-existing')