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
f3ebf90d
Kaydet (Commit)
f3ebf90d
authored
Nis 27, 1999
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add a module global variable ADDTOVIEW to conform to dynamic viewer
lookup protocol.
üst
2095b2fe
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
DetailsViewer.py
Tools/pynche/DetailsViewer.py
+2
-0
ListViewer.py
Tools/pynche/ListViewer.py
+3
-1
TextViewer.py
Tools/pynche/TextViewer.py
+2
-0
No files found.
Tools/pynche/DetailsViewer.py
Dosyayı görüntüle @
f3ebf90d
...
@@ -59,6 +59,8 @@ WRAP = 'Wrap Around'
...
@@ -59,6 +59,8 @@ WRAP = 'Wrap Around'
RATIO
=
'Preserve Distance'
RATIO
=
'Preserve Distance'
GRAV
=
'Squash'
GRAV
=
'Squash'
ADDTOVIEW
=
'Details Window...'
class
DetailsViewer
:
class
DetailsViewer
:
def
__init__
(
self
,
switchboard
,
master
=
None
):
def
__init__
(
self
,
switchboard
,
master
=
None
):
...
...
Tools/pynche/ListViewer.py
Dosyayı görüntüle @
f3ebf90d
...
@@ -18,6 +18,8 @@ given name, without selecting the color.
...
@@ -18,6 +18,8 @@ given name, without selecting the color.
from
Tkinter
import
*
from
Tkinter
import
*
import
ColorDB
import
ColorDB
ADDTOVIEW
=
'Color
%
List Window...'
class
ListViewer
:
class
ListViewer
:
def
__init__
(
self
,
switchboard
,
master
=
None
):
def
__init__
(
self
,
switchboard
,
master
=
None
):
self
.
__sb
=
switchboard
self
.
__sb
=
switchboard
...
@@ -169,6 +171,6 @@ class ListViewer:
...
@@ -169,6 +171,6 @@ class ListViewer:
def
save_options
(
self
,
optiondb
):
def
save_options
(
self
,
optiondb
):
optiondb
[
'UPONCLICK'
]
=
self
.
__uoc
.
get
()
optiondb
[
'UPONCLICK'
]
=
self
.
__uoc
.
get
()
def
flush
(
self
):
def
colordb_changed
(
self
,
colordb
):
self
.
__canvas
.
delete
(
'all'
)
self
.
__canvas
.
delete
(
'all'
)
self
.
__populate
()
self
.
__populate
()
Tools/pynche/TextViewer.py
Dosyayı görüntüle @
f3ebf90d
...
@@ -18,6 +18,8 @@ in the text window (which only has a background).
...
@@ -18,6 +18,8 @@ in the text window (which only has a background).
from
Tkinter
import
*
from
Tkinter
import
*
import
ColorDB
import
ColorDB
ADDTOVIEW
=
'Text Window...'
class
TextViewer
:
class
TextViewer
:
def
__init__
(
self
,
switchboard
,
master
=
None
):
def
__init__
(
self
,
switchboard
,
master
=
None
):
self
.
__sb
=
switchboard
self
.
__sb
=
switchboard
...
...
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