Arguments: outline new-item parent-value &key no-redisplay position no-error-p
Adds the outline-item new-item to
outline as a subitem of the item whose value is
parent-value, at position
among its siblings. new-item must be an instance
of the outline-item
class.
outline must be an instance
of the outline
class.
The value of
position should be a non-negative integer,
:end
or nil
. 0 means above
all siblings. :end
means below all
siblings. nil
means position according to the
on-sort-predicate
(if on-sort-predicate is nil
or the function
true (which always returns true) new-item is
positioned at the top among its siblings.)
If no-redisplay is true, the outline will not be redisplayed by this function to reflect the change. You may wish to delay redisplay when there is more than one modification until all modifications are made.
If no-error-p is true, no error will be signaled
if the requested action cannot be performed for any reason. Instead,
nothing will be done. (Specifying this argument true does not protect
against malformed calls to this function, such as specifying a value
for new-item which is not an instance of outline-item
.)
Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.
The documentation is described in introduction.htm and the index is in index.htm.
Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.
Created 2000.10.5.