Page#

class Page[source]#

Represents an individual wizard page.

go_next#

Emitted when all is good and we can proceed.

go_back#

Emitted when the user wants to go back one step.

status_update#

Emitted with a message when the status bar should be updated.

status_clear#

Emitted when the status bar should be cleared.

on_enter()[source]#

Called by the parent widget when entering this page.

on_leave()[source]#

Called by the parent widget when leaving this page.

status(message: str)[source]#

Updates the status bar with the given message.

flush()[source]#

Displays status now even if application busy.

confirm_close()[source]#

Returns whether this page may be closed right now.

Reimplement this method in order to get user confirmation if, for example, background tasks are still running.