psychopy.iohub.util.MessageDialog

class psychopy.iohub.util.MessageDialog(msg, title=None, showButtons=4, dialogType=2048, allowCancel=True, display_index=0)

Bases: psychopy.iohub.util.dialogs.ioHubDialog

__init__(msg, title=None, showButtons=4, dialogType=2048, allowCancel=True, display_index=0)

Methods

Destroy()
__init__(msg[, title, showButtons, ...])
set_frame_display() Centers a wx window on the given Display index.
show()

Attributes

CANCEL_BUTTON int(x[, base]) -> integer
CANCEL_RESULT int(x[, base]) -> integer
ERROR_DIALOG int(x[, base]) -> integer
IMPORTANT_DIALOG int(x[, base]) -> integer
INFORMATION_DIALOG int(x[, base]) -> integer
NO_BUTTON int(x[, base]) -> integer
NO_RESULT int(x[, base]) -> integer
OK_BUTTON int(x[, base]) -> integer
OK_RESULT int(x[, base]) -> integer
QUESTION_DIALOG int(x[, base]) -> integer
WARNING_DIALOG int(x[, base]) -> integer
YES_BUTTON int(x[, base]) -> integer
YES_NO_BUTTONS int(x[, base]) -> integer
YES_RESULT int(x[, base]) -> integer
wxapp
set_frame_display()

Centers a wx window on the given Display index.