def SetTopmost(self, isTopmost: bool = True, waitTime: float = OPERATION_WAIT_TIME) -> bool:
if self.IsTopLevel():<EOL><INDENT>ret = SetWindowTopmost(self.NativeWindowHandle, isTopmost)<EOL>time.sleep(waitTime)<EOL>return ret<EOL><DEDENT>return False<EOL>
Set top level window topmost.
isTopmost: bool.
waitTime: float.