On Mon, 27 Jan 2003, Angus Leeming wrote: > As I read XCreateIC, most of the attributes can be added/removed > after xic is created. Does that not mean that you can create a > 'pre-edit area' on the fly. Ie, when the user types 'Shift space' in > a dialog, you'll have code in input.c that says: "Hello! he wants a > pre-edit area" and you'll modify the attributes of the input context > to reflect this --- for this particular input widget. Ditto, when in > pre-edit mode and the input.c code receives a "Space' keypress, > you'll know to turn off this stuff. > > Any help?
Could you give me an example code ? I hope I'm not asking too much. Regards, cghan