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>