Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 514 Bytes

File metadata and controls

19 lines (14 loc) · 514 Bytes

OK Message Box

For an introduction the GUI system, see :ref:`gui_concepts`.

This example shows how to pop up a quick message box for the user to click 'Ok' on using the :class:`arcade.gui.OKMessagebox` class.

Screen shot OKMessageBox in action

.. literalinclude:: ../../arcade/examples/gui_ok_messagebox.py
    :caption: gui_ok_messagebox.py
    :linenos:
    :emphasize-lines: 37-47