awsc.termui.dialog.DialogField

class awsc.termui.dialog.DialogField

Base class for input fields on a dialog.

Attributes:
highlightablebool

Whether the field can be selected. Unhighlightable fields are useful for labels.

centeredbool

Whether to forcibly center the field within the dialog.

Methods

input(inkey)

Input handler method for the field.

paint(x0, x1, y[, selected])

Paint callback for the field.

__init__()

Methods

__init__()

input(inkey)

Input handler method for the field.

paint(x0, x1, y[, selected])

Paint callback for the field.

Attributes

value

Read-only property for retrieving a generalized value of the field.