Lines Matching refs:VW
35 class VW(tv.ViewWindow): # Used in ViewWindowTest.
41 # Call wrapper class VW with mock wait_window.
45 VW.transient.__init__()
46 VW.grab_set.__init__()
47 VW.wait_window.__init__()
50 view = VW(root, 'Title', 'test text')
51 self.assertTrue(VW.transient.called)
52 self.assertTrue(VW.grab_set.called)
53 self.assertTrue(VW.wait_window.called)
57 view = VW(root, 'Title', 'test text', modal=False)
58 self.assertFalse(VW.transient.called)
59 self.assertFalse(VW.grab_set.called)
60 self.assertFalse(VW.wait_window.called)
64 view = VW(root, 'Title', 'test text', modal=False)