Carbon


Determining TextEdit Attributes

Header: Gestalt.h

enum {
    gestaltTEAttr = 'teat',
    gestaltTEHasGetHiliteRgn = 0,
    gestaltTESupportsInlineInput = 1,
    gestaltTESupportsTextObjects = 2,
    gestaltTEHasWhiteBackground = 3
};

Constant descriptions

gestaltTEAttr

The Gestalt selector you pass to determine whichTextEdit attributes are present.

gestaltTEHasGetHiliteRgn

If true, TextEdit has TEGetHiliteRgn.

gestaltTESupportsInlineInput

If true, TextEdit does Inline Input.

gestaltTESupportsTextObjects

If true, TextEdit does Text Objects.

gestaltTEHasWhiteBackground

If true, TextEdit supports overriding the TERec's background to white.

Before calling any function dependent upon TextEdit, your application should pass the selector gestaltTEAttr to the Gestalt function to determine the TextEdit attributes that are present.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)