• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Forcing a text input method on a NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Forcing a text input method on a NSTextField
      • From: Dimitri Bouniol <email@hidden>
References: 
 >Forcing a text input method on a NSTextField (From: Dimitri Bouniol <email@hidden>)

  • Prev by Date: Re: Core Data with NSArrayController Confusion
  • Next by Date: Re: Core Data with NSArrayController Confusion
  • Previous by thread: Forcing a text input method on a NSTextField
  • Next by thread: Re: Forcing a text input method on a NSTextField
  • Index(es):
    • Date
    • Thread