Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## shift-outline-item

Arguments: outline outline-item-or-value direction

Shifts an `outline-item` on an `outline` widget (specified by the outline argument) either vertically or horizontally relative to its neighboring items. Shifting vertically will change the position of the item among its sibling items, exchanging it with the item that's just above or below it. Shifting horizontally will change the indentation of the item (when possible), which puts the item under a different parent item.

outline-item-or-value may be either an `outline-item`, the value of an `outline-item`, or `nil`. When non-`nil`, the specified item is shifted. When `nil`, the currently selected item is shifted, and if multiple items are selected (see multiple-selections) then all of them will be shifted. Nothing is done when this argument is `nil` and there are no selected items, or when the operation cannot be done (such as when attempting to shift an item rightward when it is the first item under its parent item).

The direction argument may be one of the keywords `:down`, `:up`, `:right`, or `:left`.

See also outline-items-reordered, outline-item-added, and outline-item-removed.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version