Home | History | Annotate | Download | only in test_ttk

Lines Matching refs:child3

606         child3 = ttk.Label(self.root)
617 self.paned.insert('end', child3)
619 (str(child2), str(child), str(child3)))
623 self.paned.insert('end', child3)
626 # moving child3 to child2 position should result in child2 ending up
627 # in previous child position and child ending up in previous child3
629 self.paned.insert(child2, child3)
631 (str(child3), str(child2), str(child)))
1021 child3 = ttk.Label(self.root)
1022 self.nb.insert(1, child3)
1023 self.assertEqual(self.nb.tabs(), (tabs[0], str(child3), tabs[1]))
1024 self.nb.forget(child3)
1026 self.nb.insert(self.child1, child3)
1027 self.assertEqual(self.nb.tabs(), (str(child3), ) + tabs)
1028 self.nb.forget(child3)
1029 self.assertRaises(tkinter.TclError, self.nb.insert, 2, child3)
1030 self.assertRaises(tkinter.TclError, self.nb.insert, -1, child3)
1202 # add item_id and child3 as children of child2
1204 child3 = self.tv.insert('', 'end')
1205 self.tv.set_children(child2, item_id, child3)
1206 self.assertEqual(self.tv.get_children(child2), (item_id, child3))
1208 # child3 has child2 as parent, thus trying to set child2 as a children
1209 # of child3 should result in an error
1211 self.tv.set_children, child3, child2)