PhabRoot

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

# `PhabRoot`

`PhabRoot` -- a wrapper for the `car` function.

## Syntax

    PhabRoot (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 root widget of the widget heirarchy.

## Description

This is a convenience function that provides a more meaningful name for the `car` function, when used in the context of a widget hierarchy. Since Gamma handles widget hierarchies as lists, the car of the list is always the root widget.

## See Also

`PhabChildren`

Prev | Home | Next
`PhabReadWidgets` | Up | Graphics Functions

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