Up

# NSTextInputContext class documentation

### Authors

Generated by root

# Software documentation for the NSTextInputContext class

## NSTextInputContext : NSObject

> Declared in:
>   AppKit/NSTextInputContext.h

Availability: MacOS-X 10.6.0
Description forthcoming.

Instance Variables
Method summary

- +currentInputContext
- +localizedNameForInputSource:
- -acceptsGlyphInfo
- -activate
- -allowedInputSourceLocales
- -client
- -deactivate
- -discardMarkedText
- -handleEvent:
- -initWithClient:
- -invalidateCharacterCoordinates
- -keyboardInputSources
- -selectedKeyboardInputSource
- -setAcceptsGlyphInfo:
- -setAllowedInputSourceLocales:

### currentInputContext

+ (NSTextInputContext*) currentInputContext;
Availability: MacOS-X 10.6.0
Description forthcoming.

### localizedNameForInputSource:

+ (NSString*) localizedNameForInputSource: (NSTextInputSourceIdentifier)inputSourceIdentifier;
Availability: MacOS-X 10.6.0
Description forthcoming.

### acceptsGlyphInfo

- (BOOL) acceptsGlyphInfo;
Availability: MacOS-X 10.6.0
Description forthcoming.

### activate

- (void) activate;
Availability: MacOS-X 10.6.0
Description forthcoming.

### allowedInputSourceLocales

- (NSArray*) allowedInputSourceLocales;
Availability: MacOS-X 10.6.0
Description forthcoming.

### client

- (id<NSTextInputClient>) client;
Availability: MacOS-X 10.6.0
Description forthcoming.

### deactivate

- (void) deactivate;
Availability: MacOS-X 10.6.0
Description forthcoming.

### discardMarkedText

- (void) discardMarkedText;
Availability: MacOS-X 10.6.0
Description forthcoming.

### handleEvent:

- (BOOL) handleEvent: (NSEvent*)event;
Availability: MacOS-X 10.6.0
Description forthcoming.

### initWithClient:

- (instancetype) initWithClient: (id<NSTextInputClient>)client;
Availability: MacOS-X 10.6.0
Description forthcoming.

### invalidateCharacterCoordinates

- (void) invalidateCharacterCoordinates;
Availability: MacOS-X 10.6.0
Description forthcoming.

### keyboardInputSources

- (NSArray*) keyboardInputSources;
Availability: MacOS-X 10.6.0
Description forthcoming.

### selectedKeyboardInputSource

- (NSTextInputSourceIdentifier) selectedKeyboardInputSource;
Availability: MacOS-X 10.6.0
Description forthcoming.

### setAcceptsGlyphInfo:

- (void) setAcceptsGlyphInfo: (BOOL)flag;
Availability: MacOS-X 10.6.0
Description forthcoming.

### setAllowedInputSourceLocales:

- (void) setAllowedInputSourceLocales: (NSArray*)locales;
Availability: MacOS-X 10.6.0
Description forthcoming.

## Instance Variables for NSTextInputContext Class

### _acceptsGlyphInfo

@protected BOOL _acceptsGlyphInfo;
Availability: MacOS-X 10.6.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _allowedInputSourceLocales

@protected NSArray* _allowedInputSourceLocales;
Availability: MacOS-X 10.6.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _client

@protected id _client;
Availability: MacOS-X 10.6.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _keyboardInputSources

@protected NSArray* _keyboardInputSources;
Availability: MacOS-X 10.6.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

### _selectedKeyboardInputSource

@protected NSTextInputSourceIdentifier _selectedKeyboardInputSource;
Availability: MacOS-X 10.6.0
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

Up