PtDisjoint
![]() |
![]() |
![]() |
![]() |
PtDisjoint
Superclass for disjoint widgets
Class hierarchy:
PtWidget → PtBasic → PtContainer → PtDisjoint
Immediate subclasses:
For more information, see the diagram of the widget hierarchy.
PhAB icon:
None — not normally instantiated.
Public header:
<photon/PtDisjoint.h>
Description:
PtDisjoint is the superclass for the widget classes that are disjoint (i.e. are instantiated without a parent).
New resources:
| Resource | C type | Pt type | Default |
|---|---|---|---|
| Pt_ARG_SYSINFO | PhSysInfo_t * | Struct | See below. |
| Pt_CB_SYSINFO | PtCallback_t * | Link | NULL |
Pt_ARG_SYSINFO (read only)
| C type | Pt type | Default |
|---|---|---|
| PhSysInfo_t * | Struct | See below. |
If you get the value of this resource, you get a pointer to a PhSysInfo_t structure (see the Photon Library Reference) that indicates the conditions above this widget.
Pt_CB_SYSINFO
| C type | Pt type | Default |
|---|---|---|
| PtCallback_t * | Link | NULL |
A list of PtCallback_t structures that define the callbacks invoked when the widget receives a Ph_EV_INFO event.
Each callback is passed a PtCallbackInfo_t structure that contains at least the following members:
- reason
- Pt_CB_SYSINFO
- reason_subtype
- One of:
- Ph_FEP — the information is from a
“front-end input processor.”
You can get the data with this code:
PhFEPInfo_t *fep_info = PhGetData( event ); - Ph_INVALIDATE_SYSINFO — the rendering environment has changed. No data is included in the event; if you need it, call PhQuerySystemInfo() or PtQuerySystemInfo(), both of which are described in the Photon Library Reference.
- Ph_FEP — the information is from a
“front-end input processor.”
You can get the data with this code:
- event
- A pointer to a PhEvent_t structure that describes the event that caused the callback to be invoked.
- cbdata
- NULL.
These callbacks should return Pt_CONTINUE.
Inherited resources:
If the widget modifies an inherited resource, the “Default override” column indicates the new value. This modification affects any subclasses of the widget.
![]() |
![]() |
![]() |
![]() |

![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Index]](keyword_index.gif)
![[Next]](next.gif)
