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
a9b45580
Kaydet (Commit)
a9b45580
authored
Eyl 29, 1998
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed old cruft, added raw about dialog
üst
7a13418e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
44 deletions
+13
-44
PyncheWidget.py
Tools/pynche/PyncheWidget.py
+13
-44
No files found.
Tools/pynche/PyncheWidget.py
Dosyayı görüntüle @
a9b45580
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
import
sys
import
sys
from
Tkinter
import
*
from
Tkinter
import
*
import
tkMessageBox
# Milliseconds between interrupt checks
# Milliseconds between interrupt checks
KEEPALIVE_TIMER
=
500
KEEPALIVE_TIMER
=
500
...
@@ -78,47 +79,15 @@ class PyncheWidget:
...
@@ -78,47 +79,15 @@ class PyncheWidget:
print
'Options...'
print
'Options...'
def
__popup_about
(
self
,
event
=
None
):
def
__popup_about
(
self
,
event
=
None
):
print
'About...'
tkMessageBox
.
showinfo
(
'About Pynche 1.0'
,
'''
\
## # create chip window
Pynche -- the PYthonically
## group = Pmw.Group(parent, tag_text='Current Color')
Natural Color and Hue Editor
## interior = group.interior()
## group.pack(side=LEFT, expand=YES, fill=BOTH)
Copyright (C) 1998
## self.__selected = ChipWidget(interior,
Barry A. Warsaw
## label_text='Selected')
All rights reserved
## self.__selected.grid()
## self.__nearest = ChipWidget(interior,
For information about Pynche
## label_text='Nearest')
contact: Barry A. Warsaw
## self.__nearest.grid(row=0, column=1)
email: bwarsaw@python.org'''
)
## # TBD: this is somewhat bogus, as the code should be in a derived
## # class of ChipWidget.
## self.__chip = self.__nearest.component('chip')
## self.__chip.bind('<ButtonPress-1>', self.__buttonpress)
## self.__chip.bind('<ButtonRelease-1>', self.__buttonrelease)
## # create the type-in window
## self.__typein = TypeinWidget(interior)
## self.__typein.grid(row=0, column=2)
## # Check keywords and initialize options
## self.initialiseoptions(PyncheWidget)
## self.__typein.configure(delegate=self)
## self.__reds.configure(delegate=self)
## self.__greens.configure(delegate=self)
## self.__blues.configure(delegate=self)
## def __popup_about(self, event=None):
## if not self.__about_dialog:
## Pmw.aboutversion('1.0')
## Pmw.aboutcopyright('Copyright (C) 1998 Barry A. Warsaw\n'
## 'All rights reserved')
## Pmw.aboutcontact('For information about Pynche contact:\n'
## 'Barry A. Warsaw\n'
## 'email: bwarsaw@python.org')
## self.__about_dialog = Pmw.AboutDialog(
## applicationname='Pynche -- the PYthonically Natural\n'
## 'Color and Hue Editor')
## self.__about_dialog.show()
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