Re: Forcing a text input method on a NSTextField
Re: Forcing a text input method on a NSTextField
- Subject: Re: Forcing a text input method on a NSTextField
- From: Aki Inoue <email@hidden>
- Date: Tue, 8 Apr 2008 12:20:23 -0700
Right now, there is no way to specify Japanese "Hiragana" just using
Cocoa API.
Starting from Leopard, you can use -[NSTextFieldCell
setAllowedInputSourceLocales:] with an array containing @"ja" (the
Japanese locale) to narrow it to Japanese input modes.
Or, also from Leopard, you can use TextInputSource API in Carbon
framework to fine control the input source.
Aki
On 2008/04/08, at 11:59, Dimitri Bouniol wrote:
I would like to force a text input method, such as the Japanese
hiragana input, onto a NSTextField programatically. How would I go
about doing this?
--
定魅刀利
Dimitri Bouniol
email@hidden
http://web.mac.com/dimitri008/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden