Lines Matching refs:get

136         self.assertNotEqual(d.font_name.get(), 'Fake')
137 self.assertNotEqual(d.font_size.get(), '1')
138 self.assertFalse(d.font_bold.get())
149 font = d.fontlist.get('active')
157 down_font = fontlist.get('active')
159 self.assertIn(d.font_name.get(), down_font.lower())
167 up_font = fontlist.get('active')
169 self.assertIn(d.font_name.get(), up_font.lower())
189 font1 = fontlist.get(1)
190 select_font = fontlist.get('anchor')
192 self.assertIn(d.font_name.get(), font1.lower())
198 self.assertEqual(d.font_size.get(), '40')
205 self.assertTrue(d.font_bold.get())
207 self.assertFalse(d.font_bold.get())
306 self.assertTrue(d.theme_source.get())
308 eq(d.builtin_name.get(), 'IDLE Classic')
309 eq(d.custom_name.get(), '- no custom themes -')
319 eq(d.builtin_name.get(), 'IDLE Classic')
320 eq(d.custom_name.get(), 'test1')
329 self.assertFalse(d.theme_source.get())
330 eq(d.builtin_name.get(), 'IDLE Classic')
331 eq(d.custom_name.get(), 'test2')
391 # If no selections, doesn't get added.
416 eq(d.highlight_target.get(), 'c')
453 eq(d.highlight_target.get(), elem[tag])
532 eq(d.color.get(), '#ffffff')
537 eq(d.color.get(), '#ffffff')
550 eq(d.color.get(), '#ffffff')
554 eq(d.custom_name.get(), gntn.result)
555 eq(d.color.get(), '#de0000')
561 eq(d.color.get(), '#de0000')
624 eq(d.custom_name.get(), first_new)
625 self.assertFalse(d.theme_source.get()) # Use custom set.
752 eq(d.custom_name.get(), theme_name2)
765 eq(d.custom_name.get(), '- no custom themes -')
811 self.assertTrue(d.keyset_source.get())
813 eq(d.builtin_name.get(), 'IDLE Classic OSX')
814 eq(d.custom_name.get(), '- no custom keys -')
824 eq(d.builtin_name.get(), 'IDLE Classic OSX')
825 eq(d.custom_name.get(), 'test1')
835 self.assertFalse(d.keyset_source.get())
836 eq(d.builtin_name.get(), 'IDLE Modern Unix')
837 eq(d.custom_name.get(), 'test2')
901 # If no selections, doesn't get added.
972 eq(d.bindingslist.get('anchor'), 'copy - <Control-Shift-Key-C>')
974 eq(d.keybinding.get(), 'Key-a')
982 eq(d.bindingslist.get('anchor'), 'copy - <Control-Shift-Key-C>')
986 eq(d.custom_name.get(), gnkn.result)
987 eq(d.bindingslist.get('anchor'), 'copy - <Key-F11>')
988 eq(d.keybinding.get(), '<Key-F11>')
996 eq(d.bindingslist.get('anchor'), 'copy - <Key-p>')
997 eq(d.keybinding.get(), '<Key-p>')
1048 self.assertEqual(b.get('anchor'), 'find')
1067 eq(d.custom_name.get(), first_new)
1068 self.assertFalse(d.keyset_source.get()) # Use custom set.
1102 eq(b.get(0, 'end'), expected)
1103 eq(b.get('anchor'), '')
1110 eq(b.get(0, 'end'), expected)
1111 eq(b.get('anchor'), 'force-open-completions - <Control-Key-space>')
1118 eq(b.get(0, 'end'), expected)
1119 eq(b.get('anchor'), 'spam - <Shift-Key-a>')
1163 eq(d.custom_name.get(), keyset_name2)
1176 eq(d.custom_name.get(), '- no custom keys -')
1208 eq(d.startup_edit.get(), 0)
1209 eq(d.win_width.get(), '80')
1210 eq(d.win_height.get(), '40')
1235 self.assertEqual(d.indent_spaces.get(), '6')
1287 eq(d.autosave.get(), 0)
1340 eq(fr.helplist.get(0, 'end'), ('name',))
1363 self.assertEqual(helplist.get('anchor'), 'source')
1404 self.assertTrue(list(fr.helplist.get(0, 'end')) ==
1412 eq(fr.helplist.get(0, 'end'), ('name1', 'name2'))
1437 eq(fr.helplist.get(0, 'end'), ('name1',))
1443 eq(fr.helplist.get(0, 'end'), ('name2',))
1461 eq(fr.helplist.get(0, 'end'), ())
1562 self.assertEqual(iv.get(), 1)