Home | History | Annotate | Download | only in idle_test

Lines Matching refs:dialog

39         self.dialog = sdb.SearchDialogBase(root=self.root, engine=self.engine)
42 self.dialog.close()
46 self.dialog.default_command = None
50 self.dialog.open('text')
51 self.assertEqual(self.dialog.top.state(), 'normal')
52 self.dialog.close()
53 self.assertEqual(self.dialog.top.state(), 'withdrawn')
55 self.dialog.open('text', searchphrase="hello")
56 self.assertEqual(self.dialog.ent.get(), 'hello')
57 self.dialog.close()
60 self.dialog.create_entries = Func()
61 self.dialog.create_option_buttons = Func()
62 self.dialog.create_other_buttons = Func()
63 self.dialog.create_command_buttons = Func()
65 self.dialog.default_command = None
66 self.dialog.create_widgets()
68 self.assertTrue(self.dialog.create_entries.called)
69 self.assertTrue(self.dialog.create_option_buttons.called)
70 self.assertTrue(self.dialog.create_other_buttons.called)
71 self.assertTrue(self.dialog.create_command_buttons.called)
75 self.dialog.row = 0
76 self.dialog.top = Toplevel(self.root)
77 entry, label = self.dialog.make_entry("Test:", 'hello')
86 equal(self.dialog.row, 1)
89 self.dialog.row = 0
91 self.dialog.create_entries()
92 self.assertIn(self.dialog.ent.get(), 'hello')
95 self.dialog.row = 0
96 self.dialog.top = Toplevel(self.root)
97 frame, label = self.dialog.make_frame()
101 frame, label = self.dialog.make_frame('testlabel')
106 self.dialog.top = Toplevel(self.root)
107 self.dialog.row = 0
116 self.dialog.create_option_buttons)
132 self.dialog.create_other_buttons)
147 self.dialog.top = Toplevel(self.root)
148 self.dialog.buttonframe = Frame(self.dialog.top)
149 btn = self.dialog.make_button('Test', self.dialog.close)
153 self.dialog.create_command_buttons()
156 for child in self.dialog.buttonframe.winfo_children():