Controls the visibility of the main window of the PlanetCNC application.
This function allows the Python script to explicitly set the main window as visible or hidden.
When called without any arguments, it defaults to showing the window.
planetcnc.show() planetcnc.show(visible)
#! /usr/bin/env python import planetcnc import time # Explicitly hide the main window. planetcnc.show(False) time.sleep(1) # Explicitly show the main window. planetcnc.show(True) time.sleep(1) # Simply call hide() without arguments to hide the window. planetcnc.hide() time.sleep(1) # Or simply call show() without arguments to show the window. planetcnc.show()