gestalt

gestalt

(Macintosh only) Retrieves information about the operating environment.

Method of

Install object

Syntax

int gestalt ( String selector );

Parameters

The gestalt method takes the following parameters:

selector
The selector code for the information you want.

Returns

Returns the requested information. The format depends on the select code specified in the selector parameter.

Description

The gestalt method is a wrapper for the gestalt function of the Macintosh Toolbox. For information on that function, see Inside Macintosh: Operating System Utilities. This method returns null on Unix and Windows platforms.

Document Tags and Contributors

Last updated by: Sheppy,
Hide Sidebar