Next / Previous / Contents / Shipman's homepage

5.2. Manifest constants

fontselect.py
# - - - - -   M a n i f e s t   c o n s t a n t s

5.2.1. LISTBOX_HEIGHT

Default height of the listbox in lines.

fontselect.py
LISTBOX_HEIGHT = "15"

5.2.2. LISTBOX_WIDTH

Default width of the listbox in characters.

fontselect.py
LISTBOX_WIDTH = "30"

5.2.3. SAMPLE_TEXT

This is the example text displayed so the user can detect cases where similar characters can't be told apart.

fontselect.py
SAMPLE_TEXT = "0O 1lI| ABC abc"

5.2.4. DEFAULT_SIZE

Initial font size in points.

fontselect.py
DEFAULT_SIZE = "14"

5.2.5. DEFAULT_FAMILY

Initial font family name.

fontselect.py
DEFAULT_FAMILY = "helvetica"