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
aad86923
Commit
aad86923
authored
Sep 07, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial revision
parent
a5773ddb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
140 additions
and
0 deletions
+140
-0
Lib/lib-tk/Tkconstants.py
Lib/lib-tk/Tkconstants.py
+70
-0
Lib/tkinter/Tkconstants.py
Lib/tkinter/Tkconstants.py
+70
-0
No files found.
Lib/lib-tk/Tkconstants.py
0 → 100644
View file @
aad86923
# Symbolic constants for Tk
# Booleans
NO
=
FALSE
=
OFF
=
0
YES
=
TRUE
=
ON
=
1
# -anchor
N
=
'n'
S
=
's'
W
=
'w'
E
=
'e'
NW
=
'nw'
SW
=
'sw'
NE
=
'ne'
SE
=
'se'
CENTER
=
'center'
# -fill
NONE
=
'none'
X
=
'x'
Y
=
'y'
BOTH
=
'both'
# -side
LEFT
=
'left'
TOP
=
'top'
RIGHT
=
'right'
BOTTOM
=
'bottom'
# -relief
RAISED
=
'raised'
SUNKEN
=
'sunken'
FLAT
=
'flat'
RIDGE
=
'ridge'
GROOVE
=
'groove'
# -orient
HORIZONTAL
=
'horizontal'
VERTICAL
=
'vertical'
# -tabs
NUMERIC
=
'numeric'
# -wrap
CHAR
=
'char'
WORD
=
'word'
# -align
BASELINE
=
'baseline'
# Special tags, marks and insert positions
SEL
=
'sel'
SEL_FIRST
=
'sel.first'
SEL_LAST
=
'sel.last'
END
=
'end'
INSERT
=
'insert'
CURRENT
=
'current'
ANCHOR
=
'anchor'
# Text widget and button states
NORMAL
=
'normal'
DISABLED
=
'disabled'
ACTIVE
=
'active'
# Menu item types
CASCADE
=
'cascade'
CHECKBUTTON
=
'checkbutton'
COMMAND
=
'command'
RADIOBUTTON
=
'radiobutton'
SEPARATOR
=
'separator'
Lib/tkinter/Tkconstants.py
0 → 100755
View file @
aad86923
# Symbolic constants for Tk
# Booleans
NO
=
FALSE
=
OFF
=
0
YES
=
TRUE
=
ON
=
1
# -anchor
N
=
'n'
S
=
's'
W
=
'w'
E
=
'e'
NW
=
'nw'
SW
=
'sw'
NE
=
'ne'
SE
=
'se'
CENTER
=
'center'
# -fill
NONE
=
'none'
X
=
'x'
Y
=
'y'
BOTH
=
'both'
# -side
LEFT
=
'left'
TOP
=
'top'
RIGHT
=
'right'
BOTTOM
=
'bottom'
# -relief
RAISED
=
'raised'
SUNKEN
=
'sunken'
FLAT
=
'flat'
RIDGE
=
'ridge'
GROOVE
=
'groove'
# -orient
HORIZONTAL
=
'horizontal'
VERTICAL
=
'vertical'
# -tabs
NUMERIC
=
'numeric'
# -wrap
CHAR
=
'char'
WORD
=
'word'
# -align
BASELINE
=
'baseline'
# Special tags, marks and insert positions
SEL
=
'sel'
SEL_FIRST
=
'sel.first'
SEL_LAST
=
'sel.last'
END
=
'end'
INSERT
=
'insert'
CURRENT
=
'current'
ANCHOR
=
'anchor'
# Text widget and button states
NORMAL
=
'normal'
DISABLED
=
'disabled'
ACTIVE
=
'active'
# Menu item types
CASCADE
=
'cascade'
CHECKBUTTON
=
'checkbutton'
COMMAND
=
'command'
RADIOBUTTON
=
'radiobutton'
SEPARATOR
=
'separator'
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