Close a window
int PhWindowClose( PhRid_t window_rid );
- window_rid
 
- The region ID of the window to close.
 
ph
This function closes a window with the given region ID, that was
previously opened by a call to
PhWindowOpen().
  | 
Don't use this function in an application that uses widgets. | 
- 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.
 
Photon
| Safety: |  | 
| Interrupt handler | 
    No | 
| Signal handler | 
    No | 
| Thread | 
    No | 
PhWindowOpen()