[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Guide



Appendix B. Data Transfer in the Motif Toolkit

This appendix summarizes the data transfer support in the Motif toolkit.

Table 17. Data Transfer Mechanisms in the Standard Widget Set

Widget Primary Secondary Clipboard Drag and Drop
=



XmCascadeButton Yes (Source only) No No Yes (Drag only)
XmCascadeButtonGadget Yes (Source only) No No Yes (Drag only)
XmDrawnButton Yes (Source only) No No Yes (Drag only)
XmContainer Yes No Yes Yes
XmLabel No No No Yes (Drag only)
XmLabelGadget No No No Yes (Drag only)
XmList Yes (Source only) No Yes (source only) Yes (Drag only)
XmPushButton Yes (Source only) No No Yes (Drag only)
XmPushButtonGadget Yes (Source only) No No Yes (Drag only)
XmScale No No No Yes (Drag only)
XmText Yes Yes Yes Yes
XmTextField Yes Yes Yes Yes
XmToggleButton Yes (Source only) No No Yes (Drag only)
XmToggleButtonGadget Yes (Source only) No No Yes (Drag only)

The following widgets provide an XmNconvertCallback resource. Therefore, your application can supply an XmNconvertCallback procedure on any of the following widgets:

  1. XmPrimitive and all its subclasses

  2. XmContainer

  3. XmDrawingArea

  4. XmScale

    The following widgets provide an XmNdestinationCallback resource. Therefore, your application can supply an XmNdestinationCallback procedure on any of the following widgets:

    1. XmContainer

    2. XmDrawingArea

    3. XmList

    4. XmText

    5. XmTextField

    6. [ Previous | Next | Contents | Glossary | Home | Search ]