PhabChildren

Gamma/Photon: Using Gamma™ with the Photon microGUIŽ, Version 4.0
Prev |  | Next

# `PhabChildren`

`PhabChildren` -- a wrapper for the `cdr` function.

## Syntax

    PhabChildren (widget_hierarchy)

## Arguments

`widget_hierarchy`

  The name of an instantiated widget hierarchy, as returned from a call to `.PhabInstantiate`, which is a method of the class created by `PhabAttachWidgets`.

## Returns

The children of a widget heirarchy, as a list of lists.

## Description

This is a convenience function that provides a more meaningful name for the `cdr` function, when used in the context of a widget hierarchy. Since Gamma handles widget hierarchies as lists, the cdr of the list is a list that contains all of the children of the root widget. The children are actually each a single element of a list, so the return value becomes a list of lists, with each sub-list holding one child.

## See Also

`PhabRoot`

Prev | Home | Next
`PhabAttachWidgets` | Up | `PhabCreateWidgets`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.