• 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
Handling international text without text views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Handling international text without text views


  • Subject: Handling international text without text views
  • From: Wade Williams <email@hidden>
  • Date: Sat, 22 Aug 2009 14:57:39 -0500

I've got an OpenGL application that implements its own widgets for text entry and display. The application is a Cocoa application. When in windowed mode, it uses a subclass of NSView for its GL context. In full-screen mode, it captures the display with CGL.

I need to support international input, but it doesn't need to be inline. Using the bottom-line input bar is fine.

When the application was Carbon, as I recall, I would setup a new TSM document, and that would automatically give me the bottom-line text input bar and I would process the input with my Carbon event handlers. I've been doing some searching on how to accomplish the same thing on Cocoa (enable the bottom-line text entry window and getting events containing the Unicode text), but haven't been able to find anything yet. It appears I might have to do something with NSInputManager, but I haven't really seen how I can accomplish what I want.

I realize it's a complex subject, but can someone give me a couple- sentence summary on the direction I need to take?

Thanks,

Wade
_______________________________________________

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: Handling international text without text views
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: NSTextField too slow to update
  • Next by Date: NSTableView and OutineView resizing bugs
  • Previous by thread: Re: NSTextField too slow to update
  • Next by thread: Re: Handling international text without text views
  • Index(es):
    • Date
    • Thread