frame-iconize

long ( frame-iconize long frame-id optional long minimize)

Minimize the frame if the second argument is 1 or absent, restore the frame otherwise.