mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Added version number in the About window
This commit is contained in:
parent
3a476e9b35
commit
ad3a67cc84
1 changed files with 6 additions and 4 deletions
|
@ -89,10 +89,12 @@ class PyncheWidget:
|
||||||
return self.__root
|
return self.__root
|
||||||
|
|
||||||
def __popup_about(self, event=None):
|
def __popup_about(self, event=None):
|
||||||
tkMessageBox.showinfo('About Pynche 1.0',
|
from pynche import __version__
|
||||||
|
tkMessageBox.showinfo('About Pynche ' + __version__,
|
||||||
'''\
|
'''\
|
||||||
Pynche -- the PYthonically
|
Pynche %s
|
||||||
Natural Color and Hue Editor
|
The PYthonically Natural
|
||||||
|
Color and Hue Editor
|
||||||
|
|
||||||
Copyright (C) 1998
|
Copyright (C) 1998
|
||||||
Barry A. Warsaw
|
Barry A. Warsaw
|
||||||
|
@ -100,7 +102,7 @@ All rights reserved
|
||||||
|
|
||||||
For information about Pynche
|
For information about Pynche
|
||||||
contact: Barry A. Warsaw
|
contact: Barry A. Warsaw
|
||||||
email: bwarsaw@python.org''')
|
email: bwarsaw@python.org''' % __version__)
|
||||||
|
|
||||||
def __popup_text(self, event=None):
|
def __popup_text(self, event=None):
|
||||||
if not self.__textwin:
|
if not self.__textwin:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue