Button to minimize Ignition client

I need to program a button to minimize the Ignition client when launched in Full Screen Mode.

Any help is appreciated.

Thanks.

1 Like

This was fun. Try this:

from java.awt import Frame

win = system.gui.getParentWindow(event)
print "got it"
parent = win
while parent is not None:
	win = parent
	parent = win.getParent()
	print ("got another" if parent is not None else "TOP")
win.setState(Frame.ICONIFIED)
2 Likes

Works great, thank you.