PtWindowConsoleSwitch()

Switch to the console a given window's displayed on

Synopsis:

int PtWindowConsoleSwitch( PhRid_t rid );

Library:

ph

Description:

This function causes PWM to switch the current display to the console where the window specified by rid is located. The rid is the region of a task window, and may be obtained with PtWidgetRid().

Returns:

0
Success
-1
An error occurred. Check the value of errno for more information.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtConsoleSwitch(), PtWidgetRid()

Window Management chapter of the Photon Programmer's Guide