The Photon API defines various data types and structures:
- If you're using the Photon Application Builder (PhAB), the
appropriate header files are automatically included in your
application.
- If you're not using PhAB, include <Pt.h>.
This chapter describes the data structures listed below:
- PtBalloonCallback_t
- Balloon callback structure
- PtCallback_t
- Regular callback structure
- PtCallbackInfo_t
- Specific callback information
- PtHotkeyCallback_t
- Hotkey handler structure
- PtRawCallback_t
- Event handler structure
The following datatypes are described in the Photon
Library Reference:
- ApInfo_t
- PhAB information structure
- PgColor_t
- Composite color value
- PgColorHSV_t
- Hue-Saturation-Value color value
- PhArea_t
- Position and dimensions of a rectangular area
- PhClipboardHdr
- Clipboard header structure
- PhDim_t
- Dimensions of an area
- PhEvent_t
- An event
- PhEventRegion_t
- Emitter and collector of an event
- PhImage_t
- Data and characteristics of an image
- PhPoint_t
- Coordinates of a single point
- PhRect_t
- Coordinates of a rectangle
- PhRegion_t
- A region
- PhRegionDataHdr_t
- Data that's attached to a region
- PhTile_t
- A list of rectangles
- PhWindowEvent_t
- A window action
- PtArg_t
- Argument structure used for getting and setting widget resources
- PtDndFetch_t
- Structure that defines data types a widget accepts from a drag-and-drop event
- PtFDProc_t
- Type for defining a file-descriptor function
- PtInputCallbackProc_t
- Type for defining a input callback function
- PtSignalProc_t
- Type for defining a signal-handling function
- PtWorkProc_t
- Type for defining a work procedure function