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
28c7bcf3
Kaydet (Commit)
28c7bcf3
authored
Ara 28, 2007
tarafından
Kurt B. Kaiser
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Configure Dialog: improved layout for keybinding. Patch 1457 Tal Einat.
üst
a6e515b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
20 deletions
+24
-20
NEWS.txt
Lib/idlelib/NEWS.txt
+2
-0
configDialog.py
Lib/idlelib/configDialog.py
+22
-20
No files found.
Lib/idlelib/NEWS.txt
Dosyayı görüntüle @
28c7bcf3
...
...
@@ -3,6 +3,8 @@ What's New in IDLE 2.6a1?
*Release date: XX-XXX-200X*
- Configure Dialog: improved layout for keybinding. Patch 1457 Tal Einat.
- tabpage.py updated: tabbedPages.py now supports multiple dynamic rows
of tabs. Patch 1612746 Tal Einat.
...
...
Lib/idlelib/configDialog.py
Dosyayı görüntüle @
28c7bcf3
...
...
@@ -90,7 +90,7 @@ class ConfigDialog(Toplevel):
self
.
buttonApply
.
pack
(
side
=
LEFT
,
padx
=
5
)
self
.
buttonCancel
.
pack
(
side
=
LEFT
,
padx
=
5
)
frameActionButtons
.
pack
(
side
=
BOTTOM
)
Frame
(
self
,
border
=
0
)
.
pack
(
side
=
BOTTOM
,
pady
=
2
)
Frame
(
self
,
height
=
2
,
borderwidth
=
0
)
.
pack
(
side
=
BOTTOM
)
self
.
tabPages
.
pack
(
side
=
TOP
,
expand
=
TRUE
,
fill
=
BOTH
)
def
CreatePageFontTab
(
self
):
...
...
@@ -274,26 +274,26 @@ class ConfigDialog(Toplevel):
self
.
listBindings
.
config
(
xscrollcommand
=
scrollTargetX
.
set
)
self
.
buttonNewKeys
=
Button
(
frameCustom
,
text
=
'Get New Keys for Selection'
,
command
=
self
.
GetNewKeys
,
state
=
DISABLED
)
buttonSaveCustomKeys
=
Button
(
frameCustom
,
text
=
'Save as New Custom Key Set'
,
command
=
self
.
SaveAsNewKeySet
)
#frameKeySets
labelTypeTitle
=
Label
(
frameKeySets
,
text
=
'Select : '
)
self
.
radioKeysBuiltin
=
Radiobutton
(
frameKeySets
,
variable
=
self
.
keysAreBuiltin
,
value
=
1
,
command
=
self
.
SetKeysType
,
text
=
'a Built-in Key Set'
)
self
.
radioKeysCustom
=
Radiobutton
(
frameKeySets
,
variable
=
self
.
keysAreBuiltin
,
value
=
0
,
command
=
self
.
SetKeysType
,
text
=
'a Custom Key Set'
)
self
.
optMenuKeysBuiltin
=
DynOptionMenu
(
frameKeySets
,
frames
=
[
Frame
(
frameKeySets
,
padx
=
2
,
pady
=
2
,
borderwidth
=
0
)
for
i
in
range
(
2
)]
self
.
radioKeysBuiltin
=
Radiobutton
(
frames
[
0
],
variable
=
self
.
keysAreBuiltin
,
value
=
1
,
command
=
self
.
SetKeysType
,
text
=
'Use a Built-in Key Set'
)
self
.
radioKeysCustom
=
Radiobutton
(
frames
[
0
],
variable
=
self
.
keysAreBuiltin
,
value
=
0
,
command
=
self
.
SetKeysType
,
text
=
'Use a Custom Key Set'
)
self
.
optMenuKeysBuiltin
=
DynOptionMenu
(
frames
[
0
],
self
.
builtinKeys
,
None
,
command
=
None
)
self
.
optMenuKeysCustom
=
DynOptionMenu
(
frame
KeySets
,
self
.
optMenuKeysCustom
=
DynOptionMenu
(
frame
s
[
0
]
,
self
.
customKeys
,
None
,
command
=
None
)
self
.
buttonDeleteCustomKeys
=
Button
(
frame
KeySets
,
text
=
'Delete Custom Key Set'
,
self
.
buttonDeleteCustomKeys
=
Button
(
frame
s
[
1
]
,
text
=
'Delete Custom Key Set'
,
command
=
self
.
DeleteCustomKeys
)
buttonSaveCustomKeys
=
Button
(
frames
[
1
],
text
=
'Save as New Custom Key Set'
,
command
=
self
.
SaveAsNewKeySet
)
##widget packing
#body
frameCustom
.
pack
(
side
=
LEFT
,
padx
=
5
,
pady
=
5
,
expand
=
TRUE
,
fill
=
BOTH
)
frameKeySets
.
pack
(
side
=
LEFT
,
padx
=
5
,
pady
=
5
,
fill
=
Y
)
frameCustom
.
pack
(
side
=
BOTTOM
,
padx
=
5
,
pady
=
5
,
expand
=
TRUE
,
fill
=
BOTH
)
frameKeySets
.
pack
(
side
=
BOTTOM
,
padx
=
5
,
pady
=
5
,
fill
=
BOTH
)
#frameCustom
buttonSaveCustomKeys
.
pack
(
side
=
BOTTOM
,
fill
=
X
,
padx
=
5
,
pady
=
5
)
self
.
buttonNewKeys
.
pack
(
side
=
BOTTOM
,
fill
=
X
,
padx
=
5
,
pady
=
5
)
frameTarget
.
pack
(
side
=
LEFT
,
padx
=
5
,
pady
=
5
,
expand
=
TRUE
,
fill
=
BOTH
)
#frame target
...
...
@@ -304,12 +304,14 @@ class ConfigDialog(Toplevel):
scrollTargetY
.
grid
(
row
=
1
,
column
=
1
,
sticky
=
NS
)
scrollTargetX
.
grid
(
row
=
2
,
column
=
0
,
sticky
=
EW
)
#frameKeySets
labelTypeTitle
.
pack
(
side
=
TOP
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
self
.
radioKeysBuiltin
.
pack
(
side
=
TOP
,
anchor
=
W
,
padx
=
5
)
self
.
radioKeysCustom
.
pack
(
side
=
TOP
,
anchor
=
W
,
padx
=
5
,
pady
=
2
)
self
.
optMenuKeysBuiltin
.
pack
(
side
=
TOP
,
fill
=
X
,
padx
=
5
,
pady
=
5
)
self
.
optMenuKeysCustom
.
pack
(
side
=
TOP
,
fill
=
X
,
anchor
=
W
,
padx
=
5
,
pady
=
5
)
self
.
buttonDeleteCustomKeys
.
pack
(
side
=
TOP
,
fill
=
X
,
padx
=
5
,
pady
=
5
)
self
.
radioKeysBuiltin
.
grid
(
row
=
0
,
column
=
0
,
sticky
=
W
+
NS
)
self
.
radioKeysCustom
.
grid
(
row
=
1
,
column
=
0
,
sticky
=
W
+
NS
)
self
.
optMenuKeysBuiltin
.
grid
(
row
=
0
,
column
=
1
,
sticky
=
NSEW
)
self
.
optMenuKeysCustom
.
grid
(
row
=
1
,
column
=
1
,
sticky
=
NSEW
)
self
.
buttonDeleteCustomKeys
.
pack
(
side
=
LEFT
,
fill
=
X
,
expand
=
True
,
padx
=
2
)
buttonSaveCustomKeys
.
pack
(
side
=
LEFT
,
fill
=
X
,
expand
=
True
,
padx
=
2
)
frames
[
0
]
.
pack
(
side
=
TOP
,
fill
=
BOTH
,
expand
=
True
)
frames
[
1
]
.
pack
(
side
=
TOP
,
fill
=
X
,
expand
=
True
,
pady
=
2
)
return
frame
def
CreatePageGeneral
(
self
):
...
...
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