|
|
|
SWC_unsetclears a context attribute SWC_unset is a library function which allows user to remove the context array's elements or the whole context and free memory if the element is ID. Input data are the context array's name and the optional parameter: list of element's names user would like to remove, if this parameter is omitted then the function removes the whole context. Since the context represents a tree structure the attempt to remove the node which has children causes removal of whole branch. If the function succeeds then all elements passed to functions are removed and memory is free otherwise an error is returned. package require SWC SWC_unset context attribute-name
Attributes Common to the Contexts of All Objects
Return ValueIf SWC_unset succeeds the value of the specified attribute or a list of the values of the specified attributes of the context get returned. If no such attribute is present in the context an error is raised. Side EffectsNone Examples
Gets the element; removes the elementType that causes removal of the whole branch and attempt to get elementName gives an error. See Also |
|
copyright Video-Collage Inc. |