![]() |
![]() |
![]() |
![]() |
Create a window region
PhRid_t PhWindowOpen(
unsigned fields,
const PhRegion_t *region,
const PhRect_t *rect,
const PhWindowInfo_t *win_info );
If you don't specify a field, PhWindowOpen() sets the corresponding member of the new region to its default value.
ph
This function creates a window region that will be managed by the Window Manager in the Photon event space. The Window Manager will provide a region to act as a frame in addition to the region created by the calling application.
![]() |
Don't use this function in an application that uses widgets. |
The region ID of the new window's interior (not the RID of the frame).
If an error occurred, this function returns:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PhWindowChange(), PhWindowClose(), PhRect_t, PhRegion_t, PhRegionChange(), PhRegionOpen() in the Photon Library Reference
See PhWm.h for a description of PhWindowInfo_t.
![]() |
![]() |
![]() |
![]() |