Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptdndselect.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptdndselect.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptdndselect.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptdndselect.html on line 8

PtDndSelect()

Select drag-and-drop data

Synopsis:

int PtDndSelect( 
       PtWidget_t *widget, 
       PtDndFetch_t *data_array, 
       int unsigned array_size, 
       PhCursorDescription_t *accept_cursor, 
       PhCursorDescription_t *reject_cursor, 
       PtCallbackInfo_t *cbinfo );

Arguments:

widget
A pointer to the widget involved in the drag-and-drop event.
data_array
An array of data-selection criteria and optional processing functions. For more information, see PtDndFetch_t.
array_size
The number of items in data_array.
accept_cursor
The cursor that's displayed if some data from the drag-and-drop event is selected. If this argument is NULL, the default accept cursor is used.
reject_cursor
The cursor that's displayed if no data from the drag-and-drop event is selected. If this argument is NULL, the default reject cursor is used.
cbinfo
A pointer to the PtCallbackInfo_t structure (see the Photon Widget Reference) as received in a widget callback.

Library:

ph

Description:

This function selects the drag-and-drop data from the event found in the cbinfo that matches the selection criteria in data_array.

Returns:

The number of elements selected from the drag-and-drop event.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtCreateTransportCtrl(), PtDndFetch_t, PtInitDnd(), PtTransportType()

PtCallbackInfo_t in the Photon Widget Reference

Drag and Drop chapter of the Photon Programmer's Guide


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptdndselect.html on line 143

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptdndselect.html on line 143