Solaris Common Desktop Environment: Programmer's Guide

Drag-and-Drop Sources

To help you understand the behavior of drag-and-drop sources, Table 5-2 describes the key desktop components that can be a source of drags of text selections, files, and buffers.

Table 5-2 Desktop Components That Can Be Drag Sources

Drag Source 

Text Selections 

Files 

Buffers 

Text fields (Motif)* 

Selected text 

N/A 

N/A 

Text Editor: Main Window 

Selected Text 

N/A 

N/A 

Terminal: Main Window 

Selected Text 

N/A 

N/A 

File Manager: Folder Window 

N/A 

Files 

N/A 

File Manager: Trash Window 

N/A 

Files 

N/A 

Mail: Message List 

N/A 

N/A 

Message in mail-message format 

Mail: Attachment List 

N/A 

N/A 

Attachment in format of the attachment 

Calendar: Appointment Editor 

N/A 

N/A 

Appointment in appointment format 

*Any application that has Motif text field sources selected drags text.