is_ui_ready()

Checks whether the user interface is ready for interaction.

Specifically, it verifies that the UI is not busy (for example, displaying a modal dialog) and is fully prepared to accept user input.

Syntax

planetcnc.is_ui_ready()

Parameters

Parameter Type Description
None

Return Value

Examples

#! /usr/bin/env python 
 
import planetcnc
 
if planetcnc.is_ui_ready():
    print("UI is ready for interaction.")
else:
    print("UI is busy or not ready.")

See also

is_license_valid
is_ui_ready
is_program_loaded
is_controller_connected
is_controller_ready
is_controller_running