Start a VM in fullscreen mode through API

Discussion about using the VirtualBox API, Tutorials, Samples.
Post Reply
SergeyA
Posts: 2
Joined: 28. Jul 2013, 04:48

Start a VM in fullscreen mode through API

Post by SergeyA »

Is it possible to start a VM in fullscreen mode using the API? I am using the Python COM API.
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Start a VM in fullscreen mode through API

Post by noteirak »

AFAIK it is not possible. Fullscreen is the responsability of the frontend, which is using the API, but is not accessible from the API.
On the other hand, you can hint at screen resolution and configure the front-end to start in a specific mode, even tho I don't have the details at hands right now. I believe the option is given in the user manual.

For the resolution int, see IDisplay::setVideoModeHint()

Not dealing much with the GUI side of things, I could be wrong, in which case I'll let someone who knowns better correct me :)
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
SergeyA
Posts: 2
Joined: 28. Jul 2013, 04:48

Re: Start a VM in fullscreen mode through API

Post by SergeyA »

Thank you! I'm going to try sending the hostkey+f through win32com to the VirtualBox window.
Post Reply