DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2599 Version: 1.3-feature > Getting the input method in some mode where it doesn't pop up > extra windows and fancy stuff like that and only calls insertText > and friends directly. Mac OS won't popup any extra window unless its user activates a fancy input method. Thus, if your application makes sense only for "alphabetic" keyboard uses, you can call interpretKeyEvents that will call setMarkedText that will put the dead key in Fl::e_text. A tentative way to explore: - define an NSText subclass with custom setMarkedText, and program in this setMarkedText whatever is needed when a deadkey is pressed - associate widgets that have the SIMPLE_KEYBOARD feature ON with this subclass by changing this message function (id)windowWillReturnFieldEditor:(NSWindow *)sender toObject:(id)client that gets called at every keystroke, dead or alive. Once this is done, NSText *edit = [[theEvent window] fieldEditor:YES forObject:nil]; in handleKeyDown will return the custom NSText subclass for SIMPLE_KEYBOARD widgets, and the custom setMarkedText will be called for deadkeys. Link: http://www.fltk.org/str.php?L2599 Version: 1.3-feature _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
