Start a VM in fullscreen mode through API

Discussion about using the VirtualBox API, Tutorials, Samples.

Start a VM in fullscreen mode through API

Postby SergeyA » 28. Jul 2013, 04:50

Is it possible to start a VM in fullscreen mode using the API? I am using the Python COM API.
SergeyA
 
Posts: 2
Joined: 28. Jul 2013, 04:48

Re: Start a VM in fullscreen mode through API

Postby noteirak » 29. Jul 2013, 13:22

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://kamax.io/hbox/
Manage your VirtualBox infrastructure the free way!
noteirak
Site Moderator
 
Posts: 5198
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7

Re: Start a VM in fullscreen mode through API

Postby SergeyA » 8. Aug 2013, 02:38

Thank you! I'm going to try sending the hostkey+f through win32com to the VirtualBox window.
SergeyA
 
Posts: 2
Joined: 28. Jul 2013, 04:48


Return to The VirtualBox API

Who is online

Users browsing this forum: No registered users and 1 guest