Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtCreateTransportCtrl()
Create a transport control structure for use with Drag and Drop
Synopsis:
PtTransportCtrl_t *PtCreateTransportCtrl();
Library:
ph
Description:
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.
Returns:
A pointer to the PtTransportCtrl_t structure, or NULL if it couldn't be created.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtDndFetch_t, PtDndSelect(), PtInitDnd(), PtReleaseTransportCtrl(), PtTransportCtrl_t, PtTransportType()
Drag and Drop chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

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