PhWindowClose()

Close a window

Synopsis:

int PhWindowClose( PhRid_t window_rid );

Arguments:

window_rid
The region ID of the window to close.

Library:

ph

Description:

This function closes a window with the given region ID, that was previously opened by a call to PhWindowOpen().


Note: Don't use this function in an application that uses widgets.

Returns:

A nonnegative value
Successful completion.
-1
An error occurred. Either a nonwindow RID was given, or the function can't communicate with Photon or the window manager.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhWindowOpen()