Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
61decfb5
Commit
61decfb5
authored
Apr 27, 1999
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a module global variable ADDTOVIEW to conform to dynamic viewer
lookup protocol.
parent
747c74df
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
Tools/pynche/DetailsViewer.py
Tools/pynche/DetailsViewer.py
+2
-0
Tools/pynche/ListViewer.py
Tools/pynche/ListViewer.py
+3
-1
Tools/pynche/TextViewer.py
Tools/pynche/TextViewer.py
+2
-0
No files found.
Tools/pynche/DetailsViewer.py
View file @
61decfb5
...
@@ -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
View file @
61decfb5
...
@@ -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
View file @
61decfb5
...
@@ -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