Requires PythonExtra runtime to execute.
CInput is a standalone UI library for PythonExtra that adds touchscreen keyboard input, themed dialogs, and list pickers to ClassPad II applications. Build interactive apps with minimal boilerplate.
import cinput
# Text input
name = cinput.input("Enter your name:", type="text", theme="dark")
# List picker
choice = cinput.pick(["Option A", "Option B", "Option C"], "Select one")
# Multi-select
items = cinput.pick(["Item 1", "Item 2", "Item 3"], "Pick many", multi=True)
Consult the reference for full API details: input(), pick(), Keyboard, get_theme(), and theme customization.
CInput powers UI components in apps like CED (ClassPad Editor), CPaint, and CPTime. Copy cinput.py to your calculator root directory to enable imports in your own scripts.
A practical foundation for touch-enabled Python apps on calculator hardware.