![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Transport-control structure used in a drag-and-drop operation
typedef struct ptdatatransctrl PtTransportCtrl_t;
struct ptdatatransctrl {
PtTransportHdr_t hdr;
PhTransportCtrl_t *ctrl;
PtWidget_t *widget;
PtRequestables_t *requestables;
PtRequestedLink_t *requested;
PhTransportLink_t *response;
PhTransportLink_t *last_response;
PtConnector_t *connector;
PtConnectionServer_t *connection;
int (*complete)(
PtTransportCtrl_t *tctrl,
short unsigned event_subtype );
void *data;
};
The PtTransportCtrl_t structure is used with the Photon transport mechanism in a drag-and-drop operation. Your application can pack multiple pieces of data into a single control structure and transport them simultaneously. Data can be packed inline or can be requestable.
The PtTransportCtrl_t structure includes:
Photon
PhTransportCtrl_t, PhTransportLink_t, PtAddResponseType(), PtCreateTransportCtrl(), PtInitDnd(), PtReleaseTransportCtrl(), PtTransportType()
Drag and Drop chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |