void AddChild( Node* _object, const char* _name, Node* _child ) { mxASSERT(_object->tag.type == TypeTag_Object); mxASSERT(_child->name == nil); PrependChild( _object, _child ); _child->name = _name; }
void Box::PackStart(Widget *child) { PrependChild(child, 0, 0); ResizeRequest(); }
void AddChild( Node* _list, Node* _child ) { mxASSERT(_list->tag.type == TypeTag_List); mxASSERT(_child->name == nil); PrependChild( _list, _child ); }