Skip to content

enterbox_EN

windows99-hue edited this page Jul 14, 2026 · 2 revisions

enterbox — Text Input Box

image
cmd = dokibox.enterbox("Please enter your name")
print(cmd)  # the user's input string
Parameter Type Default Description
msg str "" Prompt text
default str "" Auto-filled content
tooltip str None Tooltip text shown on hover; disabled when None or empty
pinned bool True Keep window on top
font_family str None Font name (default: "Microsoft YaHei"); pass None to use default
font_size int None Font size in points (default: 20); pass None to use default
max_length int None Maximum input character length

Clone this wiki locally