yasuki_gui.ui.prompt_box.PromptBox#

class PromptBox(master)[source]#

The prompt panel between the two seats: what is being asked, and a button for each offered choice. The host (presenter) builds the status text and the buttons; this widget only renders them.

Methods

PromptBox.__init__(master)

Construct a frame widget with the parent MASTER.

PromptBox.invoke_primary()

Invoke the primary action — the first button — when enabled; the spacebar shortcut.

PromptBox.show(status, buttons)

Render status and a button per spec.