Skip to content

Commit bd3afcb

Browse files
committed
remove unused constant definitions
1 parent b8ac210 commit bd3afcb

3 files changed

Lines changed: 9 additions & 12 deletions

File tree

easygui/fillable_box.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
import tkinter as tk
2+
13
from easygui import msgbox
24
from easygui.global_state import GLOBAL_WINDOW_POSITION, PROPORTIONAL_FONT_FAMILY, PROPORTIONAL_FONT_SIZE, \
3-
TEXT_ENTRY_FONT_SIZE, STANDARD_SELECTION_EVENTS
5+
TEXT_ENTRY_FONT_SIZE
46
from easygui.utilities import load_tk_image, bindArrows, MouseClickHandler
5-
import tkinter as tk
67

78

89
def integerbox(msg=None, title=" ", default=None, lowerbound=0, upperbound=99, image=None, root=None):

easygui/global_state.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
GLOBAL_WINDOW_POSITION = "+300+200"
22
PROPORTIONAL_FONT_FAMILY = ("MS", "Sans", "Serif")
3-
MONOSPACE_FONT_FAMILY = "Courier"
3+
44
PROPORTIONAL_FONT_SIZE = 10
5-
MONOSPACE_FONT_SIZE = 9
65
TEXT_ENTRY_FONT_SIZE = 12 # a little larger makes it easier to see
7-
STANDARD_SELECTION_EVENTS = ["Return", "Button-1", "space"]
6+
87
PROP_FONT_LINE_LENGTH = 62
98
FIXW_FONT_LINE_LENGTH = 80
10-
num_lines_displayed = 50
9+
1110
DEFAULT_PADDING = 2
1211
REGULAR_FONT_WIDTH = 13
1312
FIXED_FONT_WIDTH = 7
1413
boxRoot = None
15-
window_position = "+300+200"
16-
STANDARD_SELECTION_EVENTS_MOUSE = ["Enter", "Leave", "ButtonRelease-1"]
17-
prop_font_line_length = 62
18-
fixw_font_line_length = 80
19-
default_hpad_in_chars = 2
14+

easygui/multi_fillable_box.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import tkinter as tk
2+
23
from easygui.global_state import GLOBAL_WINDOW_POSITION, PROPORTIONAL_FONT_FAMILY, PROPORTIONAL_FONT_SIZE, \
3-
TEXT_ENTRY_FONT_SIZE, STANDARD_SELECTION_EVENTS
4+
TEXT_ENTRY_FONT_SIZE
45
from easygui.utilities import MouseClickHandler
56

67

0 commit comments

Comments
 (0)