setPresentMode

Changes how frames are presented into a claimed window.

Throws

if the mode is not supported for this window.