Lines Matching defs:stack
1303 * Description: Pushes a value onto the pane stack.
1314 PaneStack * stack = (PaneStack *) XtMalloc(sizeof(PaneStack));
1316 stack->next = pw->paned.stack;
1317 stack->pane = pane;
1318 stack->start_size = pane->size;
1320 pw->paned.stack = stack;
1324 * Description: Gets the top value from the pane stack.
1340 if (pw->paned.stack == NULL) {
1345 *pane = pw->paned.stack->pane;
1346 *start_size = pw->paned.stack->start_size;
1352 * Description: Pops the top item off the pane stack.
1354 * Returns: TRUE if this is not the last element on the stack.
1361 PaneStack * stack = pw->paned.stack;
1363 if (stack == NULL) return(FALSE);
1365 pw->paned.stack = stack->next;
1366 XtFree((char *)stack);
1368 if (pw->paned.stack == NULL) return(FALSE);
1373 * Description: removes all entries from the pane stack.
1529 pw->paned.stack = NULL;