PtGetAbsPosition

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

# `PtGetAbsPosition`

`PtGetAbsPosition` -- gives the absolute position of a widget.

## Syntax

    PtGetAbsPosition (widget)

## Arguments

`widget`

  Any widget.

## Returns

The value argument, or nil.

## Description

This function returns the absolute position of the `widget`. The returned position is an instance of the PhPoint class.

## Example

        Gamma> PtInit(nil);
        t
        Gamma> win = new(PtWindow);
        window definition
        Gamma> PtRealizeWidget(win);
        t
        Gamma> PtGetAbsPosition(win);
        {PhPoint (x . 32) (y . 58)}

## See Also

In Photon documentation: PtGetAbsPosition.

Prev | Home | Next
`PtForwardWindowEvent` | Up | `PtGetParent`

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