• Home
  • Raw
  • Download

Lines Matching +full:apply +full:- +full:label

19 from tkinter.ttk import (Frame, LabelFrame, Button, Checkbutton, Entry, Label,
53 parent - parent of this dialog
54 title - string which is the title of this popup dialog
55 _htest - bool, change box location when running htest
56 _utest - bool, don't wait_window when running unittest
86 # self.bind('<Alt-a>', self.Apply) #apply changes, save
139 apply
147 (no assignment): Button (apply)
163 ('Apply', self.apply),
175 """Apply config changes, then dismiss dialog."""
176 self.apply()
179 def apply(self): member in ConfigDialog
180 """Apply config changes and leave dialog open."""
219 # config must be done - remove the previous keybindings.
225 """Apply configuration changes to current windows.
256 # # Define tab-specific behavior.
324 font_name_title: Label
325 (*)fontlist: ListBox - font_name
328 font_size_title: Label
329 (*)sizelist: DynOptionMenu - font_size
330 (*)bold_toggle: Checkbutton - font_bold
332 (*)font_sample: Label
346 font_name_title = Label(
350 self.fontlist.bind('<ButtonRelease-1>', self.on_fontlist_select)
351 self.fontlist.bind('<KeyRelease-Up>', self.on_fontlist_select)
352 self.fontlist.bind('<KeyRelease-Down>', self.on_fontlist_select)
356 font_size_title = Label(frame_font_param, text='Size :')
397 # Set sorted no-duplicate editor font selection list and font_name.
429 changes.add_option('main', 'EditorWindow', 'font-size', value)
431 changes.add_option('main', 'EditorWindow', 'font-bold', value)
473 complete listings called themes. Built-in themes in
474 idlelib/config-highlight.def are fixed as far as the dialog is
476 theme, stored in .idlerc/config-highlight.cfg.
539 builtin_name: Menu variable for built-in theme.
543 theme_source: Selector for built-in or custom theme.
571 (*)targetlist: DynOptionMenu - highlight_target
573 (*)fg_on: Radiobutton - fg_bg_toggle
574 (*)bg_on: Radiobutton - fg_bg_toggle
577 theme_type_title: Label
578 (*)builtin_theme_on: Radiobutton - theme_source
579 (*)custom_theme_on: Radiobutton - theme_source
580 (*)builtinlist: DynOptionMenu - builtin_name
581 (*)customlist: DynOptionMenu - custom_name
583 (*)theme_message: Label
629 text.bind('<Double-Button-1>', lambda e: 'break')
630 text.bind('<B1-Motion>', lambda e: 'break')
661 self.theme_elements[element][0], '<ButtonPress-1>', tem)
684 theme_type_title = Label(frame_theme, text='Select : ')
687 command=self.set_theme_type, text='a Built-in Theme')
698 self.theme_message = Label(frame_theme, borderwidth=2)
756 self.custom_name.set('- no custom themes -')
797 changed_items and apply the theme to the sample.
800 if value != '- no custom themes -':
807 Update the default toggle value and apply the newly
879 if self.theme_source.get(): # Current theme is a built-in.
899 theme_element = sample_element + '-' + plane
947 # Apply any of the old theme's unsaved changes to the new theme.
1016 """Apply the theme colors to each element tag in the sample text.
1048 if element + '-foreground' in theme_dict:
1049 colors['foreground'] = theme_dict[element + '-foreground']
1050 if element + '-background' in theme_dict:
1051 colors['background'] = theme_dict[element + '-background']
1058 theme_name - string, the name of the new theme
1059 theme - dictionary containing the new theme
1105 self.customlist.SetMenu(item_list, '- no custom themes -')
1133 keysets. Built-in keysets in idlelib/config-keys.def are fixed
1135 base for a new custom keyset, stored in .idlerc/config-keys.cfg.
1191 (*)builtin_keyset_on: Radiobutton - var keyset_source
1192 (*)custom_keyset_on: Radiobutton - var keyset_source
1193 (*)builtinlist: DynOptionMenu - var builtin_name,
1195 (*)customlist: DynOptionMenu - var custom_name,
1197 (*)keys_message: Label
1199 (*)button_delete_custom_keys: Button - delete_custom_keys
1200 (*)button_save_custom_keys: Button - save_as_new_key_set
1203 target_title: Label
1206 (*)bindingslist: ListBox - on_bindingslist_select
1207 (*)button_new_keys: Button - get_new_keys & ..._name
1227 target_title = Label(frame_target, text='Action - Key(s)')
1232 self.bindingslist.bind('<ButtonRelease-1>',
1246 command=self.set_keys_type, text='Use a Built-in Key Set')
1260 self.keys_message = Label(frames[0], borderwidth=2)
1303 self.custom_name.set('- no custom keys -')
1341 if value != '- no custom keys -':
1403 if self.keyset_source.get(): # Current key set is a built-in.
1414 self.bindingslist.insert(list_index, bind_name+' - '+new_keys)
1453 event_name = event[2:-2] # Trim off the angle brackets.
1485 bind_name = bind_name[2:-2] # Trim off the angle brackets.
1490 self.bindingslist.insert(END, bind_name+' - '+key)
1504 keyset_name - string, the name of the new key set
1505 keyset - dictionary containing the new keybindings
1536 self.customlist.SetMenu(item_list, '- no custom keys -')
1561 digits_or_empty_re = re.compile(r'[0-9]*')
1580 startup_title: Label
1584 win_size_title: Label
1585 win_width_title: Label
1587 win_height_title: Label
1590 indent_title: Label
1594 auto_wait_title: Label
1597 paren_style_title: Label
1600 paren_time_title: Label
1604 format_width_title: Label
1609 IntVar(self), ('main', 'General', 'editor-on-startup'))
1615 StringVar(self), ('main', 'Indent', 'num-spaces'))
1617 BooleanVar(self), ('main', 'EditorWindow', 'cursor-blink'))
1623 StringVar(self), ('extensions', 'ParenMatch', 'flash-delay'))
1627 StringVar(self), ('extensions', 'FormatParagraph', 'max-width'))
1634 startup_title = Label(frame_run, text='At Startup')
1643 win_size_title = Label(
1645 win_width_title = Label(frame_win_size, text='Width')
1650 win_height_title = Label(frame_win_size, text='Height')
1657 indent_title = Label(frame_cursor,
1668 cursor_blink_title = Label(frame_cursor, text='Cursor Blink')
1673 auto_wait_title = Label(frame_autocomplete,
1680 paren_style_title = Label(frame_paren1, text='Paren Match Style')
1685 paren_time_title = Label(
1694 format_width_title = Label(frame_format,
1740 'main', 'General', 'editor-on-startup', type='bool'))
1746 'main', 'Indent', 'num-spaces', type='int'))
1748 'main', 'EditorWindow', 'cursor-blink', type='bool'))
1754 'extensions', 'ParenMatch', 'flash-delay', type='int'))
1758 'extensions', 'FormatParagraph', 'max-width', type='int'))
1771 digits_or_empty_re = re.compile(r'[0-9]*')
1789 auto_squeeze_min_lines_title: Label
1790 (*)auto_squeeze_min_lines_int: Entry -
1794 run_save_title: Label
1795 (*)save_ask_on: Radiobutton - autosave
1796 (*)save_auto_on: Radiobutton - autosave
1798 format_width_title: Label
1799 (*)format_width_int: Entry - format_width
1801 line_numbers_default_title: Label
1802 (*)line_numbers_default_bool: Checkbutton - line_numbers_default
1804 context_title: Label
1805 (*)context_int: Entry - context_lines
1809 StringVar(self), ('main', 'PyShell', 'auto-squeeze-min-lines'))
1815 ('main', 'EditorWindow', 'line-numbers-default'))
1826 auto_squeeze_min_lines_title = Label(frame_auto_squeeze_min_lines,
1827 text='Auto-Squeeze Min. Lines:')
1835 run_save_title = Label(frame_save, text='At Start of Run (F5) ')
1845 line_numbers_default_title = Label(
1853 context_title = Label(frame_context, text='Max Context Lines :')
1861 Label(self).pack() # Spacer -- better solution?
1884 'main', 'PyShell', 'auto-squeeze-min-lines', type='int'))
1889 'main', 'EditorWindow', 'line-numbers-default', type='bool'))
1963 Label(self).grid(row=1, column=0) # Spacer. Replace with config?
1970 # Former built-in extensions are already filtered out.
2034 # Create a row with a label and entry/checkbutton.
2035 label = Label(entry_area, text=opt['name'])
2036 label.grid(row=row, column=0, sticky=NW)
2048 # Limit size to fit non-expanding space with larger font.
2124 self.helplist.bind('<ButtonRelease-1>', self.help_source_selected)
2193 self.set_add_delete_state() # Selected will be un-selected
2212 ';'.join(self.user_helplist[num-1][:2]))
2250 or a tuple with IdleConf config-type, section, and
2287 When you click either the Apply or Ok buttons, settings in this
2290 these changes apply to all versions of IDLE installed on this
2330 FormatParagraph: Max-width is max chars in lines after re-formatting.
2334 'opener' - opener '({[' corresponding to closer; 'parens' - both chars;
2335 'expression' (default) - also everything in between. Flash-delay is how
2341 Shell Preferences: Auto-Squeeze Min. Lines is the minimum number of lines
2348 will be active on. For this extension, z-text is the text that will be