05.08.2013 Views

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

[PDF] Parallels Python API Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Package prlsdkapi Class VmDisplayDev<br />

connect to vm(self )<br />

Connects to a virtual machine to begin a remote desktop access session. This<br />

is an asynchronous method.<br />

Return Value<br />

A Job object.<br />

disconnect from vm(self )<br />

Ends a remote desktop access session that was started with connect to vm.<br />

get screen buffer(self )<br />

Returns the contents of the screen buffer of the primary display. The screen<br />

data is always returned as 32-bit RGBA with the alpha channel containing the<br />

value of 0.<br />

Return Value<br />

A buffer object containing the screen data.<br />

send screen size event(self, width, height, depth)<br />

Send ”screen size change” event to the virtual machine.<br />

Parameters<br />

width: The new resolution width.<br />

height: The new resolution height.<br />

depth: The new resolution depth.<br />

57

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!