VirtualBox

Changeset 80893 in vbox for trunk


Ignore:
Timestamp:
Sep 18, 2019 3:27:14 PM (5 years ago)
Author:
vboxsync
Message:

doc/SDKRef: Use vbox = mgr.getVirtualBox() in Python examples.
The old vbox = mgr.vbox shortcut no longer works.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/SDKRef.xml

    r80892 r80893  
    15421542        <screen>from vboxapi import VirtualBoxManager
    15431543mgr = VirtualBoxManager(None, None)
    1544 vbox = mgr.vbox
     1544vbox = mgr.getVirtualBox()
    15451545name = "Linux"
    15461546mach = vbox.findMachine(name)
     
    15561556        <screen>from vboxapi import VirtualBoxManager
    15571557mgr = VirtualBoxManager(None, None)
    1558 vbox = mgr.vbox
     1558vbox = mgr.getVirtualBox()
    15591559
    15601560for m in mgr.getArray(vbox, 'machines'):
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette