Lines Matching refs:parent

109 	XtOffsetOf(TreeConstraintsRec, tree.parent), XtRImmediate, NULL },
227 static void insert_node (parent, node)
228 Widget parent, node;
234 nc->tree.parent = parent;
236 if (parent == NULL) return;
242 pc = TREE_CONSTRAINT(parent);
261 static void delete_node (parent, node)
262 Widget parent, node;
268 * Make sure the parent exists.
270 if (!parent) return;
272 pc = TREE_CONSTRAINT(parent);
275 * Find the sub_node on its parent's list.
390 TreeWidget tw = (TreeWidget) new->core.parent;
408 if (tc->tree.parent)
409 insert_node (tc->tree.parent, new);
471 TreeWidget tw = (TreeWidget) new->core.parent;
474 * If the parent field has changed, remove the widget
478 if (curc->tree.parent != newc->tree.parent){
479 if (curc->tree.parent)
480 delete_node (curc->tree.parent, new);
481 if (newc->tree.parent)
482 insert_node(newc->tree.parent, new);
503 * Remove the widget from its parent's sub-nodes list and
504 * make all this widget's sub-nodes sub-nodes of the parent.
514 delete_node (tc->tree.parent, (Widget) w);
516 insert_node (tc->tree.parent, tc->tree.children[i]);
518 layout_tree ((TreeWidget) (w->core.parent), FALSE);
528 TreeWidget tw = (TreeWidget) w->core.parent;
696 * between) and then wrapped with their parent. Parents are centered about *
697 * their children (or vice versa if the parent is larger than the children). *
759 * Now fit parent onto side (or top) of bounding box and correct for
891 * now layout parent between first and last children
972 * parent is centered between the first and last children.