PtResourceName

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

# `PtResourceName`

`PtResourceName` -- finds a resource name from a resource number.

## Syntax

    PtResourceName (widget|class, resource_number)

## Arguments

`widget`|`class`

  The name of a widget or class.

`resource_number`

  The resource number of the widget or class whose name you want to find.

## Returns

The name of the resource.

## Example

        Gamma> PtInit(nil);
        t
        Gamma> require_lisp("PhabTemplate");
        "//4/usr/cogent/lib/PhabTemplate.lsp"
        Gamma> PtResourceName(PtPane, 2006);
        top_border_color
        Gamma> PtResourceName(PtButton, 3011);
        text_string
        Gamma> PtResourceName(PtWindow, 1008);
        resize_flags
        Gamma>

Prev | Home | Next
`PtRemoveCallback` | Up | `PtSetParentWidget`

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