FabGL
ESP32 Display Controller and Graphics Library

◆ showModalWindow()

int showModalWindow ( uiWindow window)

Makes a window visible and handles it has a modal window.

A modal window disables the main window but keeps it visible. Users must interact with the modal window before they can return to the parent window. A modal window exits from modal state using uiWindow.exitModal(). showModalWindow() is the combination of initModalWindow(), processModalWindowEvents() and endModalWindow() called in sequence.

Parameters
windowWindow to be made visible and modal
Returns
The same value specified calling uiWindow.exitModal()

Definition at line 811 of file fabui.cpp.