mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-30981: IDLE: Augment one configdialog font page test (#2810)
Remove broken test of bold_toggle and test it along with its command, set_samples. This has been incorporated into 3.6 backport PR-2796.
This commit is contained in:
parent
ff92ff5366
commit
616ecf18f3
2 changed files with 32 additions and 14 deletions
|
@ -153,6 +153,14 @@ class ConfigDialog(Toplevel):
|
|||
def create_page_font_tab(self):
|
||||
"""Return frame of widgets for Font/Tabs tab.
|
||||
|
||||
Enable users to provisionally change font face, size, or
|
||||
boldness and to see the consequence of proposed choices. Each
|
||||
action set 3 options in changes structuree and changes the
|
||||
corresponding aspect of the font sample on this page and
|
||||
highlight sample on highlight page.
|
||||
|
||||
Enable users to change spaces entered for indent tabs.
|
||||
|
||||
Tk Variables:
|
||||
font_name: Font face.
|
||||
font_size: Font size.
|
||||
|
@ -161,7 +169,7 @@ class ConfigDialog(Toplevel):
|
|||
space_num: Indentation width.
|
||||
|
||||
Data Attribute:
|
||||
edit_font: Font widget with default font name, size, and weight.
|
||||
edit_font: Font with default font name, size, and weight.
|
||||
|
||||
Methods:
|
||||
load_font_cfg: Set vars and fontlist.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue