On Sun, 2 Feb 2003, Angus Leeming wrote: > > Oh, I see. > > You can't. > > But you shouldn't be either. I thought that you were going to create the IC in > forms.c and then MODIFY it in input.c when the user pressed 'Shift Space'. > > That way, your precomposition area will: > 1. move along the input widget as you insert more and more chars. > 2. if you have two input widgets in one dialog, then the user will be able to > do his precomposition in which ever widget he is currently inserting text. > > Isn't this what you really want to do? >
O.K. This means another business for me, now. > > > > Yes, with that modification I can input Korean characters on the > > XWorkArea. > > Excellent! > But inputting CJK-characters on xfom-box is still not possible. > > Presumably, therefore, you should turn off the precomposition stuff in input.c > with something like: > if (sp->CJK_composition_on && keysym) > Turn_off_composition_Insert_composed_char_and >Increment_position_by_one(); > (Sorry, I forgot what names I gave this variable/function before ;-) > > The fact that you use the space-bar to finish composition is irrelevant to the > widget because ity doesn't see XK_space. Instead, it sees the keysym of your > composed char. I see. > Do you need to send it to me just yet or does the above advice enable you to > progress a little further? > Yup, let me try a little bit of "turn_on_local_input" thing in input.c . cghan