Home | History | Annotate | Download | only in test_ttk

Lines Matching refs:child3

370         child3 = ttk.Label()
381 self.paned.insert('end', child3)
383 (str(child2), str(child), str(child3)))
387 self.paned.insert('end', child3)
390 # moving child3 to child2 position should result in child2 ending up
391 # in previous child position and child ending up in previous child3
393 self.paned.insert(child2, child3)
395 (str(child3), str(child2), str(child)))
660 child3 = ttk.Label()
661 self.nb.insert(1, child3)
662 self.assertEqual(self.nb.tabs(), (tabs[0], str(child3), tabs[1]))
663 self.nb.forget(child3)
665 self.nb.insert(self.child1, child3)
666 self.assertEqual(self.nb.tabs(), (str(child3), ) + tabs)
667 self.nb.forget(child3)
668 self.assertRaises(Tkinter.TclError, self.nb.insert, 2, child3)
669 self.assertRaises(Tkinter.TclError, self.nb.insert, -1, child3)
797 # add item_id and child3 as children of child2
799 child3 = self.tv.insert('', 'end')
800 self.tv.set_children(child2, item_id, child3)
801 self.assertEqual(self.tv.get_children(child2), (item_id, child3))
803 # child3 has child2 as parent, thus trying to set child2 as a children
804 # of child3 should result in an error
806 self.tv.set_children, child3, child2)