is_visible()

Checks whether the main window of the PlanetCNC application is currently visible.

Syntax

planetcnc.is_visible()

Parameters

Parameter Type Description
None

Return Value

Examples

#! /usr/bin/env python 
 
import planetcnc
 
if planetcnc.is_visible():
    print("The main window is visible.")
else:
    print("The main window is not visible.")

See also

is_visible
show
hide
set_progress
set_status