Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 This page is new in 9.0.

## 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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page is new in the 9.0 release.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 This page is new in 9.0.