DtGetFileNames(3Dt) DtGetFileNames(3Dt)
NAME
DtGetFileNames - get list of filenames
SYNOPSIS
#include <Dt/Desktop.h>
DtDnDInfoPtr DtGetFileNames(
Widget w,
Atom selection,
Time timestamp,
Boolean send_done,
void (*proc)(Widget, XtPointer, XtPointer),
XtPointer client_data
);
DESCRIPTION
The DtGetFileNames function requests the list of filenames
from the sender of the trigger message, upon receiving a drag
and drop trigger message.
The DtDnDInfo structure, and the associated pointer to the
structure, DtDnDInfoPtr, includes the following members:
char **files; /* list of file names */
DtAttrs attrs; /* reserved for future use */
Boolean error; /* error */
int nitems; /* number of filenames received */
Time timestamp; /* timestamp of trigger message */
By default, the files list in the DtDnDInfo structure is freed
upon returning from the proc callback. If the application
wants to keep the list of files and free it later, the
application should set files to NULL before returning from the
callback.
Copyright 1994 Novell, Inc. Page 1