VirtualBox

Changeset 2540 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
May 8, 2007 4:06:27 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
20981
Message:

Main & All Frontends: Improved console window activation helper APIs (still no success on X11, works well on Win32, the old method of activation is disabled).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r2519 r2540  
    25852585        <method name="showConsoleWindow">
    25862586            <desc>
    2587                 Returns @c true if the VM console process can activate the
    2588                 console window and bring it to foreground on the desktop of
    2589                 the host PC.
     2587                Activates the console window and brings it to foreground on
     2588                the desktop of the host PC. Many modern window managers on
     2589                many platforms implement some sort of focus stealing
     2590                prevention logic, so that it may be impossible to activate
     2591                a window without the help of the currently active
     2592                application. In this case, this method will return a non-zero
     2593                identifier that represents the top-level window of the VM
     2594                console process. The caller, if it represents a currently
     2595                active process, is responsible to use this identifier (in a
     2596                platform-dependent manner) to perform actual window
     2597                activation.
    25902598                <note>
    25912599                    This method will fail if a session for this machine is not
     
    25932601                </note>
    25942602            </desc>
     2603            <param name="winId" type="unsigned long long" dir="return">
     2604                <desc>
     2605                  Platform-dependent identifier of the top-level VM console
     2606                  window, or zero if this method has performed all actions
     2607                  necessary to implement the <i>show window</i> semantics for
     2608                  the given platform and/or VirtualBox front-end.
     2609                </desc>
     2610            </param>
    25952611        </method>
    25962612
     
    28192835                method should return a failure.
    28202836
     2837                Note that many modern window managers on many platforms
     2838                implement some sort of focus stealing prevention logic, so
     2839                that it may be impossible to activate a window without the
     2840                help of the currently active application (which is supposedly
     2841                an initiator of this notification). In this case, this method
     2842                must return a non-zero identifier that represents the
     2843                top-level window of the VM console process. The caller, if it
     2844                represents a currently active process, is responsible to use
     2845                this identifier (in a platform-dependent manner) to perform
     2846                actual window activation.
     2847
     2848                This method must set @a winId to zero if it has performed all
     2849                actions necessary to complete the request and the console
     2850                window is now active and in foreground, to indicate that no
     2851                further action is required on the caller's side.
     2852
    28212853                <note>
    28222854                    This notification is not designed to be implemented by
     
    28282860                </note>
    28292861            </desc>
     2862            <param name="winId" type="unsigned long long" dir="return">
     2863                <desc>
     2864                    Platform-dependent identifier of the top-level VM console
     2865                    window, or zero if this method has performed all actions
     2866                    necessary to implement the <i>show window</i> semantics for
     2867                    the given platform and/or this VirtualBox front-end.
     2868                </desc>
     2869            </param>
    28302870        </method>
    28312871
     
    74157455            <param name="check" type="boolean" dir="in"/>
    74167456            <param name="canShow" type="boolean" dir="out"/>
     7457            <param name="winId" type="unsigned long long" dir="out"/>
    74177458        </method>
    74187459
Note: See TracChangeset for help on using the changeset viewer.

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