Lines Matching refs:childP

743     Widget *childP;  in ChoosePaneToResize()  local
755 childP = NthPane(pw, _index); in ChoosePaneToResize()
757 register Pane pane = PaneInfo(*childP); in ChoosePaneToResize()
762 ((paneindex != PaneIndex(*childP)) || (dir == AnyPane)) ) in ChoosePaneToResize()
775 --childP; in ChoosePaneToResize()
777 ++childP; in ChoosePaneToResize()
781 ++childP; in ChoosePaneToResize()
783 --childP; in ChoosePaneToResize()
792 curIndex = childP - NthPane(pw, 0); in ChoosePaneToResize()
796 childP = NthPane(pw, _index); in ChoosePaneToResize()
952 Widget *childP; in GetPrefSizes() local
968 for ( childP = XmPaned_managed_children(pw); in GetPrefSizes()
969 childP < (XmPaned_managed_children(pw) in GetPrefSizes()
971 childP++) { in GetPrefSizes()
972 register Pane pane = PaneInfo(*childP); in GetPrefSizes()
975 sizeused += (int) pane->size + 2 * (*childP)->core.border_width; in GetPrefSizes()
977 if (!IsLastPane(pw, childP)) { in GetPrefSizes()
978 if (HasSash(*childP)) in GetPrefSizes()
999 Widget *childP; in GetPrefSizes() local
1003 for ( childP = XmPaned_managed_children(pw) ; in GetPrefSizes()
1004 childP < XmPaned_managed_children(pw) + XmPaned_num_panes(pw); in GetPrefSizes()
1005 childP++ ) { in GetPrefSizes()
1006 Pane pane = PaneInfo(*childP); in GetPrefSizes()
1008 if (XtIsManaged(*childP) && (pane->wp_off_size > sizeused)) in GetPrefSizes()
1035 register Widget *childP; in RefigureLocations() local
1100 for ( childP = XmPaned_managed_children(pw) ; in RefigureLocations()
1101 childP < XmPaned_managed_children(pw) + XmPaned_num_panes(pw); in RefigureLocations()
1102 childP++ ) { in RefigureLocations()
1104 loc += PaneInfo(*childP)->size + 2 * (*childP)->core.border_width; in RefigureLocations()
1105 PaneInfo(*childP)->delta = pw->core.width - loc; in RefigureLocations()
1107 PaneInfo(*childP)->delta = loc; in RefigureLocations()
1108 loc += PaneInfo(*childP)->size + 2 * (*childP)->core.border_width; in RefigureLocations()
1111 if (HasSash(*childP)) in RefigureLocations()
1133 register Widget *childP; in CommitNewLocations() local
1150 for ( childP = XmPaned_managed_children(pw) ; in CommitNewLocations()
1151 childP < XmPaned_managed_children(pw) + XmPaned_num_panes(pw); in CommitNewLocations()
1152 childP++ ) { in CommitNewLocations()
1153 register Pane pane = PaneInfo(*childP); in CommitNewLocations()
1158 if (HasSash(*childP)) in CommitNewLocations()
1164 if (*childP == no_resize_child) { in CommitNewLocations()
1165 (*childP)->core.x = offset; in CommitNewLocations()
1166 (*childP)->core.y = pane->delta; in CommitNewLocations()
1167 (*childP)->core.width = (pw->core.width - in CommitNewLocations()
1169 (*childP)->core.border_width)); in CommitNewLocations()
1170 (*childP)->core.height = pane->size; in CommitNewLocations()
1173 _XmConfigureWidget(*childP, (Position) offset, pane->delta, in CommitNewLocations()
1175 2*(offset + (*childP)->core.border_width), in CommitNewLocations()
1177 (Dimension) (*childP)->core.border_width); in CommitNewLocations()
1193 changes.y = ((*childP)->core.y + (*childP)->core.height + in CommitNewLocations()
1194 2 * (*childP)->core.border_width + in CommitNewLocations()
1203 sep.y = ((*childP)->core.y + (*childP)->core.height - in CommitNewLocations()
1206 2 * (*childP)->core.border_width); in CommitNewLocations()
1210 if (*childP == no_resize_child) { in CommitNewLocations()
1211 (*childP)->core.x = pane->delta; in CommitNewLocations()
1212 (*childP)->core.y = offset; in CommitNewLocations()
1213 (*childP)->core.width = pane->size; in CommitNewLocations()
1214 (*childP)->core.height = (pw->core.height - in CommitNewLocations()
1216 (*childP)->core.border_width)); in CommitNewLocations()
1219 _XmConfigureWidget(*childP, pane->delta, (Position) offset, in CommitNewLocations()
1222 2*(offset + (*childP)->core.border_width), in CommitNewLocations()
1223 (Dimension) (*childP)->core.border_width); in CommitNewLocations()
1228 changes.x = ((*childP)->core.x - in CommitNewLocations()
1232 changes.x = ((*childP)->core.x + (*childP)->core.width + in CommitNewLocations()
1233 2 * (*childP)->core.border_width + in CommitNewLocations()
1251 sep.x = ((*childP)->core.x - in CommitNewLocations()
1255 sep.x = ((*childP)->core.x + (*childP)->core.width - in CommitNewLocations()
1258 2 * (*childP)->core.border_width); in CommitNewLocations()
1352 Widget *childP; in _DrawTrackLines() local
1367 for ( childP = XmPaned_managed_children(pw) ; in _DrawTrackLines()
1368 childP < XmPaned_managed_children(pw) + XmPaned_num_panes(pw); in _DrawTrackLines()
1369 childP++ ) { in _DrawTrackLines()
1370 pane = PaneInfo(*childP); in _DrawTrackLines()
1377 (XmPaned_managed_children(pw) != childP)) || in _DrawTrackLines()
1379 !(IsLastPane(pw, childP)))) && in _DrawTrackLines()
1390 if (HasSash(*(childP - 1))) in _DrawTrackLines()
1463 Widget *childP; in StartSashAdjustment() local
1467 for ( childP = XmPaned_managed_children(pw) ; in StartSashAdjustment()
1468 childP < XmPaned_managed_children(pw) + XmPaned_num_panes(pw); in StartSashAdjustment()
1469 childP++ ) { in StartSashAdjustment()
1470 PaneInfo(*childP)->olddelta = NO_DELTA; in StartSashAdjustment()
1563 Widget *childP; in ProcessKeyEvent() local
1571 childP = XmPaned_managed_children(pw) + PaneIndex(sash); in ProcessKeyEvent()
1573 for ( childP = XmPaned_managed_children(pw) ; in ProcessKeyEvent()
1574 childP < XmPaned_managed_children(pw) + XmPaned_num_panes(pw); in ProcessKeyEvent()
1575 childP++ ) { in ProcessKeyEvent()
1576 PaneInfo(*childP)->olddelta = NO_DELTA; in ProcessKeyEvent()
1742 Widget *childP; in ManageAndUnmanageSashs() local
1752 ForAllChildren(pw, childP) { in ManageAndUnmanageSashs()
1753 if (!IsPane(*childP)) in ManageAndUnmanageSashs()
1756 if (HasSash(*childP)) { in ManageAndUnmanageSashs()
1758 if (XtIsManaged(*childP)) in ManageAndUnmanageSashs()
1759 *managedP++ = PaneInfo(*childP)->sash; in ManageAndUnmanageSashs()
1761 *unmanagedP++ = PaneInfo(*childP)->sash; in ManageAndUnmanageSashs()
1766 if (HasSep(*childP)) { in ManageAndUnmanageSashs()
1767 if (XtIsManaged(*childP)) in ManageAndUnmanageSashs()
1768 *managedS++ = PaneInfo(*childP)->separator; in ManageAndUnmanageSashs()
1770 *unmanagedS++ = PaneInfo(*childP)->separator; in ManageAndUnmanageSashs()
1925 Widget * childP; in SetChildrenPrefSizes() local
1929 for ( childP = XmPaned_managed_children(pw) ; in SetChildrenPrefSizes()
1930 childP < XmPaned_managed_children(pw) + XmPaned_num_panes(pw); in SetChildrenPrefSizes()
1931 childP++ ) { in SetChildrenPrefSizes()
1932 Pane pane = PaneInfo(*childP); in SetChildrenPrefSizes()
1945 (void) XtQueryGeometry(*childP, NULL, &reply); in SetChildrenPrefSizes()
1963 (void) XtQueryGeometry(*childP, &request, &reply); in SetChildrenPrefSizes()
1973 (void) XtQueryGeometry(*childP, NULL, &reply); in SetChildrenPrefSizes()
2317 Widget * childP; in Realize() local
2339 for ( childP = XmPaned_managed_children(pw) ; in Realize()
2340 childP < XmPaned_managed_children(pw) + XmPaned_num_panes(pw); in Realize()
2341 childP++ ) { in Realize()
2342 XtRealizeWidget( *childP ); in Realize()
2343 if (HasSash (*childP)) { in Realize()
2344 XtRealizeWidget( PaneInfo(*childP)->sash ); in Realize()
2346 if (HasSep(*childP)) { in Realize()
2347 XtRealizeWidget( PaneInfo(*childP)->separator ); in Realize()
2648 register Widget *childP; in SetValues() local
2687 for ( childP = XmPaned_managed_children(set_pw) ; in SetValues()
2688 childP < XmPaned_managed_children(set_pw) in SetValues()
2690 childP++ ) { in SetValues()
2691 CreateSeparator(*childP); in SetValues()
2692 sep_children[num_separators] = PaneInfo(*childP)->separator; in SetValues()
2701 for ( childP = XmPaned_managed_children(set_pw) ; in SetValues()
2702 childP < XmPaned_managed_children(set_pw) in SetValues()
2704 childP++ ) { in SetValues()
2705 Pane pane = PaneInfo(*childP); in SetValues()
2726 ForAllChildren(set_pw, childP) { in SetValues()
2727 Pane pane = PaneInfo(*childP); in SetValues()
2769 for ( childP = XmPaned_managed_children(set_pw) ; in SetValues()
2770 childP < XmPaned_managed_children(set_pw) in SetValues()
2772 childP++ ) in SetValues()
2773 if (HasSash(*childP)) in SetValues()
2774 XtSetValues(PaneInfo(*childP)->sash, sargs, num_sargs); in SetValues()