Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
390eadd6
Kaydet (Commit)
390eadd6
authored
Agu 30, 2017
tarafından
Terry Jan Reedy
Kaydeden (comit)
GitHub
Agu 30, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-31051: Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections. (#3239)
üst
bd73e72b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
38 deletions
+46
-38
configdialog.py
Lib/idlelib/configdialog.py
+45
-38
2017-08-30-00-06-58.bpo-31051.50Jp_Q.rst
...NEWS.d/next/IDLE/2017-08-30-00-06-58.bpo-31051.50Jp_Q.rst
+1
-0
No files found.
Lib/idlelib/configdialog.py
Dosyayı görüntüle @
390eadd6
...
@@ -1739,20 +1739,22 @@ class GenPage(Frame):
...
@@ -1739,20 +1739,22 @@ class GenPage(Frame):
rewrite changes['main']['HelpFiles'].
rewrite changes['main']['HelpFiles'].
Widgets for GenPage(Frame): (*) widgets bound to self
Widgets for GenPage(Frame): (*) widgets bound to self
frame_run: LabelFrame
frame_window: LabelFrame
startup_title: Label
frame_run: Frame
(*)startup_editor_on: Radiobutton - startup_edit
startup_title: Label
(*)startup_shell_on: Radiobutton - startup_edit
(*)startup_editor_on: Radiobutton - startup_edit
frame_save: LabelFrame
(*)startup_shell_on: Radiobutton - startup_edit
run_save_title: Label
frame_win_size: Frame
(*)save_ask_on: Radiobutton - autosave
win_size_title: Label
(*)save_auto_on: Radiobutton - autosave
win_width_title: Label
frame_win_size: LabelFrame
(*)win_width_int: Entry - win_width
win_size_title: Label
win_height_title: Label
win_width_title: Label
(*)win_height_int: Entry - win_height
(*)win_width_int: Entry - win_width
frame_editor: LabelFrame
win_height_title: Label
frame_save: Frame
(*)win_height_int: Entry - win_height
run_save_title: Label
(*)save_ask_on: Radiobutton - autosave
(*)save_auto_on: Radiobutton - autosave
frame_help: LabelFrame
frame_help: LabelFrame
frame_helplist: Frame
frame_helplist: Frame
frame_helplist_buttons: Frame
frame_helplist_buttons: Frame
...
@@ -1771,16 +1773,15 @@ class GenPage(Frame):
...
@@ -1771,16 +1773,15 @@ class GenPage(Frame):
self
.
win_height
=
tracers
.
add
(
self
.
win_height
=
tracers
.
add
(
StringVar
(
self
),
(
'main'
,
'EditorWindow'
,
'height'
))
StringVar
(
self
),
(
'main'
,
'EditorWindow'
,
'height'
))
# Create widgets:
# Section frames.
# Section frames.
frame_run
=
LabelFrame
(
self
,
borderwidth
=
2
,
relief
=
GROOVE
,
frame_window
=
LabelFrame
(
self
,
borderwidth
=
2
,
relief
=
GROOVE
,
text
=
' Startup Preferences '
)
text
=
' Window Preferences'
)
frame_save
=
LabelFrame
(
self
,
borderwidth
=
2
,
relief
=
GROOVE
,
frame_editor
=
LabelFrame
(
self
,
borderwidth
=
2
,
relief
=
GROOVE
,
text
=
' autosave Preferences '
)
text
=
' Editor Preferences'
)
frame_win_size
=
Frame
(
self
,
borderwidth
=
2
,
relief
=
GROOVE
)
frame_help
=
LabelFrame
(
self
,
borderwidth
=
2
,
relief
=
GROOVE
,
frame_help
=
LabelFrame
(
self
,
borderwidth
=
2
,
relief
=
GROOVE
,
text
=
' Additional Help Sources '
)
text
=
' Additional Help Sources '
)
# frame_run.
# Frame_window.
frame_run
=
Frame
(
frame_window
,
borderwidth
=
0
)
startup_title
=
Label
(
frame_run
,
text
=
'At Startup'
)
startup_title
=
Label
(
frame_run
,
text
=
'At Startup'
)
self
.
startup_editor_on
=
Radiobutton
(
self
.
startup_editor_on
=
Radiobutton
(
frame_run
,
variable
=
self
.
startup_edit
,
value
=
1
,
frame_run
,
variable
=
self
.
startup_edit
,
value
=
1
,
...
@@ -1788,15 +1789,8 @@ class GenPage(Frame):
...
@@ -1788,15 +1789,8 @@ class GenPage(Frame):
self
.
startup_shell_on
=
Radiobutton
(
self
.
startup_shell_on
=
Radiobutton
(
frame_run
,
variable
=
self
.
startup_edit
,
value
=
0
,
frame_run
,
variable
=
self
.
startup_edit
,
value
=
0
,
text
=
'Open Shell Window'
)
text
=
'Open Shell Window'
)
# frame_save.
run_save_title
=
Label
(
frame_save
,
text
=
'At Start of Run (F5) '
)
frame_win_size
=
Frame
(
frame_window
,
borderwidth
=
0
,)
self
.
save_ask_on
=
Radiobutton
(
frame_save
,
variable
=
self
.
autosave
,
value
=
0
,
text
=
"Prompt to Save"
)
self
.
save_auto_on
=
Radiobutton
(
frame_save
,
variable
=
self
.
autosave
,
value
=
1
,
text
=
'No Prompt'
)
# frame_win_size.
win_size_title
=
Label
(
win_size_title
=
Label
(
frame_win_size
,
text
=
'Initial Window Size (in characters)'
)
frame_win_size
,
text
=
'Initial Window Size (in characters)'
)
win_width_title
=
Label
(
frame_win_size
,
text
=
'Width'
)
win_width_title
=
Label
(
frame_win_size
,
text
=
'Width'
)
...
@@ -1805,6 +1799,17 @@ class GenPage(Frame):
...
@@ -1805,6 +1799,17 @@ class GenPage(Frame):
win_height_title
=
Label
(
frame_win_size
,
text
=
'Height'
)
win_height_title
=
Label
(
frame_win_size
,
text
=
'Height'
)
self
.
win_height_int
=
Entry
(
self
.
win_height_int
=
Entry
(
frame_win_size
,
textvariable
=
self
.
win_height
,
width
=
3
)
frame_win_size
,
textvariable
=
self
.
win_height
,
width
=
3
)
# Frame_editor.
frame_save
=
Frame
(
frame_editor
,
borderwidth
=
0
)
run_save_title
=
Label
(
frame_save
,
text
=
'At Start of Run (F5) '
)
self
.
save_ask_on
=
Radiobutton
(
frame_save
,
variable
=
self
.
autosave
,
value
=
0
,
text
=
"Prompt to Save"
)
self
.
save_auto_on
=
Radiobutton
(
frame_save
,
variable
=
self
.
autosave
,
value
=
1
,
text
=
'No Prompt'
)
# frame_help.
# frame_help.
frame_helplist
=
Frame
(
frame_help
)
frame_helplist
=
Frame
(
frame_help
)
frame_helplist_buttons
=
Frame
(
frame_helplist
)
frame_helplist_buttons
=
Frame
(
frame_helplist
)
...
@@ -1826,25 +1831,27 @@ class GenPage(Frame):
...
@@ -1826,25 +1831,27 @@ class GenPage(Frame):
width
=
8
,
command
=
self
.
helplist_item_remove
)
width
=
8
,
command
=
self
.
helplist_item_remove
)
# Pack widgets:
# Pack widgets:
# body.
# Body.
frame_run
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
5
,
fill
=
X
)
frame_window
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
5
,
expand
=
TRUE
,
fill
=
BOTH
)
frame_save
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
5
,
fill
=
X
)
frame_editor
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
5
,
expand
=
TRUE
,
fill
=
BOTH
)
frame_win_size
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
5
,
fill
=
X
)
frame_help
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
5
,
expand
=
TRUE
,
fill
=
BOTH
)
frame_help
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
5
,
expand
=
TRUE
,
fill
=
BOTH
)
# frame_run.
# frame_run.
frame_run
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
0
,
fill
=
X
)
startup_title
.
pack
(
side
=
LEFT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
startup_title
.
pack
(
side
=
LEFT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
self
.
startup_shell_on
.
pack
(
side
=
RIGHT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
self
.
startup_shell_on
.
pack
(
side
=
RIGHT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
self
.
startup_editor_on
.
pack
(
side
=
RIGHT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
self
.
startup_editor_on
.
pack
(
side
=
RIGHT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
# frame_save.
run_save_title
.
pack
(
side
=
LEFT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
self
.
save_auto_on
.
pack
(
side
=
RIGHT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
self
.
save_ask_on
.
pack
(
side
=
RIGHT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
# frame_win_size.
# frame_win_size.
frame_win_size
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
0
,
fill
=
X
)
win_size_title
.
pack
(
side
=
LEFT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
win_size_title
.
pack
(
side
=
LEFT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
self
.
win_height_int
.
pack
(
side
=
RIGHT
,
anchor
=
E
,
padx
=
10
,
pady
=
5
)
self
.
win_height_int
.
pack
(
side
=
RIGHT
,
anchor
=
E
,
padx
=
10
,
pady
=
5
)
win_height_title
.
pack
(
side
=
RIGHT
,
anchor
=
E
,
pady
=
5
)
win_height_title
.
pack
(
side
=
RIGHT
,
anchor
=
E
,
pady
=
5
)
self
.
win_width_int
.
pack
(
side
=
RIGHT
,
anchor
=
E
,
padx
=
10
,
pady
=
5
)
self
.
win_width_int
.
pack
(
side
=
RIGHT
,
anchor
=
E
,
padx
=
10
,
pady
=
5
)
win_width_title
.
pack
(
side
=
RIGHT
,
anchor
=
E
,
pady
=
5
)
win_width_title
.
pack
(
side
=
RIGHT
,
anchor
=
E
,
pady
=
5
)
# frame_save.
frame_save
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
0
,
fill
=
X
)
run_save_title
.
pack
(
side
=
LEFT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
self
.
save_auto_on
.
pack
(
side
=
RIGHT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
self
.
save_ask_on
.
pack
(
side
=
RIGHT
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
# frame_help.
# frame_help.
frame_helplist_buttons
.
pack
(
side
=
RIGHT
,
padx
=
5
,
pady
=
5
,
fill
=
Y
)
frame_helplist_buttons
.
pack
(
side
=
RIGHT
,
padx
=
5
,
pady
=
5
,
fill
=
Y
)
frame_helplist
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
5
,
expand
=
TRUE
,
fill
=
BOTH
)
frame_helplist
.
pack
(
side
=
TOP
,
padx
=
5
,
pady
=
5
,
expand
=
TRUE
,
fill
=
BOTH
)
...
...
Misc/NEWS.d/next/IDLE/2017-08-30-00-06-58.bpo-31051.50Jp_Q.rst
0 → 100644
Dosyayı görüntüle @
390eadd6
Rearrange IDLE condigdialog GenPage into Window, Editor, and Help sections.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment