[ Previous | Next | Contents | Glossary | Home | Search ]
Motif and CDE 2.1 Style Guide Reference


Drag/Move (Action Choice)

Reference

Description

The drag/move action choices include the following:

Drag
An action choice that initiates drag and drop of the file or object being viewed or of specified elements within the window.

Drag (in the File menu)
Initiates a drag of the underlying object or file being viewed in this window.

Drag (in the Edit menu)
Initiates a drag of the selected elements.

Move
Has the following definitions:

  1. An action choice that allows the user to move a window

  2. An action choice that initiates drag and drop, allowing a user to move specified elements within the window

  3. An action choice used in the context of a specific transfer mechanism to indicate that the transfer should result in a move

  4. Move (in the window menu)
    Moves the window or icon with which the menu is associated.

    Move (in the File and Edit menus)
    Has the same effect as Drag (in the File and Edit menus).

    When to Use

    Required
    Include Move in the window menu. When used from a window, move the window, and when used from a window icon, move the icon.

    Recommended
    Include Drag in the File menu to support drag and drop of the file or object being viewed.

    Recommended
    Include Drag or Move in the Edit menu to allow use of drag and drop for selected elements without requiring use of the mouse buttons.

    Guidelines

    Required
    In the File and Edit menus, use Move if the selected elements can only be moved; use Drag if other operations are possible as well.

    Required
    When the user is moving a window, the only visible target should be the workspace. That is, a window can be dropped anywhere, but should always be treated as being dropped on the workplace, not on some other element.

    Required
    When the user initiates a drag-and-drop operation by selecting Drag or Move from a menu, and the pointer position after choosing the menu entry is outside the bounding box of the element or elements being moved, or pointer warping is not enabled, then do one of the following:

    1. Start the drag at the current pointer position and drag the elements there.

    2. Either wait until the user moves the pointer into the bounding box (within the window) of the elements being moved and start dragging them at that point, or wait until the user presses the directional keys to move the elements.

    3. Recommended
      When a drag and drop transfer is initiated by selecting Drag or Move from a menu and pointer warping is enabled, warp the pointer to an appropriate location according to the following:

      1. If the source indicator of the drag pointer consists of a graphic smaller or dissimilar to the elements being moved, warp the pointer to the center of the elements.

      2. If the drag pointer consists solely of an image or outline of the elements being moved or uses a state and/or operation indicator placed at an arbitrary position relative to them, warp the pointer to the center of the elements.

      3. If the drag pointer consists of a state and/or operation indicator placed at a corner or edge of an image or outline of the elements being moved, warp the pointer to that corner or edge of the elements.

      4. Essential Related Topics

        For more information, see the Drag-and-Drop Transfer, Edit (Menu), File Menu, and Pointer reference pages.

        Supplemental Related Topics

        For more information, see the Window Menu reference page.


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