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
ad1a3419
Kaydet (Commit)
ad1a3419
authored
Tem 21, 2015
tarafından
Ethan Furman
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Close issue6549: minor ttk.Style fixes
üst
95e09602
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
ttk.py
Lib/tkinter/ttk.py
+7
-3
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/tkinter/ttk.py
Dosyayı görüntüle @
ad1a3419
...
...
@@ -381,7 +381,9 @@ class Style(object):
a sequence identifying the value for that option."""
if
query_opt
is
not
None
:
kw
[
query_opt
]
=
None
return
_val_or_dict
(
self
.
tk
,
kw
,
self
.
_name
,
"configure"
,
style
)
result
=
_val_or_dict
(
self
.
tk
,
kw
,
self
.
_name
,
"configure"
,
style
)
if
result
or
query_opt
:
return
result
def
map
(
self
,
style
,
query_opt
=
None
,
**
kw
):
...
...
@@ -466,12 +468,14 @@ class Style(object):
def
element_names
(
self
):
"""Returns the list of elements defined in the current theme."""
return
self
.
tk
.
splitlist
(
self
.
tk
.
call
(
self
.
_name
,
"element"
,
"names"
))
return
tuple
(
n
.
lstrip
(
'-'
)
for
n
in
self
.
tk
.
splitlist
(
self
.
tk
.
call
(
self
.
_name
,
"element"
,
"names"
)))
def
element_options
(
self
,
elementname
):
"""Return the list of elementname's options."""
return
self
.
tk
.
splitlist
(
self
.
tk
.
call
(
self
.
_name
,
"element"
,
"options"
,
elementname
))
return
tuple
(
o
.
lstrip
(
'-'
)
for
o
in
self
.
tk
.
splitlist
(
self
.
tk
.
call
(
self
.
_name
,
"element"
,
"options"
,
elementname
)))
def
theme_create
(
self
,
themename
,
parent
=
None
,
settings
=
None
):
...
...
Misc/NEWS
Dosyayı görüntüle @
ad1a3419
...
...
@@ -61,6 +61,9 @@ Library
- Issue #15014: SMTP.auth() and SMTP.login() now support RFC 4954'
s
optional
initial
-
response
argument
to
the
SMTP
AUTH
command
.
-
Issue
#
6549
:
Remove
hyphen
from
ttk
.
Style
().
element
options
.
Only
return
result
from
ttk
.
Style
().
configure
if
a
result
was
generated
or
a
query
submitted
.
What
's New in Python 3.5.0 beta 3?
==================================
...
...
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