Lines Matching defs:ic
234 XIC ic = NULL;
251 ic = (XIC) (*im->methods->create_ic) (im, args);
253 if (ic) {
254 ic->core.next = im->core.ic_chain;
255 im->core.ic_chain = ic;
257 return ic;
264 XDestroyIC(XIC ic)
266 XIM im = ic->core.im;
269 (*ic->methods->destroy) (ic);
272 if (*prev == ic) {
273 *prev = ic->core.next;
278 Xfree (ic);
282 XGetICValues(XIC ic, ...)
289 if (!ic->core.im)
295 va_start(var, ic);
302 va_start(var, ic);
306 ret = (*ic->methods->get_values) (ic, args);
312 XSetICValues(XIC ic, ...)
319 if (!ic->core.im)
325 va_start(var, ic);
332 va_start(var, ic);
336 ret = (*ic->methods->set_values) (ic, args);
342 * Require the input manager to focus the focus window attached to the ic
346 XSetICFocus(XIC ic)
348 if (ic && ic->core.im)
349 (*ic->methods->set_focus) (ic);
353 * Require the input manager to unfocus the focus window attached to the ic
357 XUnsetICFocus(XIC ic)
359 if (ic->core.im)
360 (*ic->methods->unset_focus) (ic);
367 XIMOfIC(XIC ic)
369 return ic->core.im;
373 XmbResetIC(XIC ic)
375 if (ic->core.im)
376 return (*ic->methods->mb_reset)(ic);
381 XwcResetIC(XIC ic)
383 if (ic->core.im)
384 return (*ic->methods->wc_reset)(ic);
389 Xutf8ResetIC(XIC ic)
391 if (ic->core.im) {
392 if (ic->methods->utf8_reset)
393 return (*ic->methods->utf8_reset)(ic);
394 else if (ic->methods->mb_reset)
395 return (*ic->methods->mb_reset)(ic);
401 XmbLookupString(XIC ic, XKeyEvent *ev, char *buffer, int nbytes,
404 if (ic->core.im)
405 return (*ic->methods->mb_lookup_string) (ic, ev, buffer, nbytes,
411 XwcLookupString(XIC ic, XKeyEvent *ev, wchar_t *buffer, int nchars,
414 if (ic->core.im)
415 return (*ic->methods->wc_lookup_string) (ic, ev, buffer, nchars,
421 Xutf8LookupString(XIC ic, XKeyEvent *ev, char *buffer, int nbytes,
424 if (ic->core.im) {
425 if (ic->methods->utf8_lookup_string)
426 return (*ic->methods->utf8_lookup_string) (ic, ev, buffer, nbytes,
428 else if (ic->methods->mb_lookup_string)
429 return (*ic->methods->mb_lookup_string) (ic, ev, buffer, nbytes,