Carbon


TXNUpdate

Header: MacTextEditor.h Carbon status: Supported

Redraws everything in a frame in response to an update event.

void TXNUpdate (
    TXNObject iTXNObject
);
Parameter descriptions
iTXNObject

A variable of type TXNObject. Pass the text object that identifies the document to be updated.

DISCUSSION

This function calls the Window Manager BeginUpdate and EndUpdate functions for the window that was passed to the TXNNewObject function. So you shouldn’t use it for windows that contain something else besides the text object. If the window contains something else, you should use the TXNDraw function instead of the TXNUpdate function. Before you call TXNUpdate, you should make sure that the window belongs to your application. You do not need to check if it is the front window.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)