Create a transport control structure for use with Drag and Drop
PtTransportCtrl_t *PtCreateTransportCtrl();
ph
This function creates and initializes a control structure for the request and inline transport mechanism used for Drag and Drop. A widget that wants to act as the source in a drag-and-drop operation typically calls PtCreateTransportCtrl() in its Pt_CB_ARM callback.
A pointer to the PtTransportCtrl_t structure, or NULL if it couldn't be created.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtDndFetch_t, PtDndSelect(), PtInitDnd(), PtReleaseTransportCtrl(), PtTransportCtrl_t, PtTransportType()
Drag and Drop chapter of the Photon Programmer's Guide