CompositeVObject::SetAt
Section: ET++ method description (n)
Updated: automatically Thu Mar 21 20:11:40 1991
Index
Return to Main Contents
NAME
CompositeVObject::SetAt - instance method
TEMPLATE
oldItem = VObject *
SetAt(int index, VObject * newItem)
SPECIFIERS
public
DESCRIPTION
SetAt replaces the oldItem at index with the newItem, recalculates the layout of this and returns the oldItem. If the instvar list does not contain an item at index, then NULL is returned and the newItem is added at the end of the instvar list.
ARGUMENTS
- int index
-
the index of the item which is replaced by the newItem
- VObject * newItem
-
an item which replaces the one at index
RETURN ARGUMENT
- VObject * oldItem
-
the item which has been replaced with the newItem or NULL if there is no VObject at index in the instvar list
CATEGORIES
collection, client interface
FILES
- implementation:
-
VObject.C
KNOWN PROBLEMS
1. SetAt does not call GetMinSize before SetExtent. But this is necessary for layout recalculation.
2. It does not call SetModified.
Index
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FILES
-
- KNOWN PROBLEMS
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:29 GMT, March 30, 2022