Checks whether the main window of the PlanetCNC application is currently visible.
planetcnc.is_visible()
#! /usr/bin/env python import planetcnc if planetcnc.is_visible(): print("The main window is visible.") else: print("The main window is not visible.")