Lines Matching refs:im

263 	if ((ve->im.xim == NULL) ||
317 if (ve->im.xim)
318 XCloseIM(ve->im.xim);
328 if (ve->im.area_height < height || height == 0) {
330 (ve->parent->core.height + height - ve->im.area_height));
331 ve->im.area_height = height;
334 return(ve->im.area_height);
360 if (!ve->im.xim) return;
365 if (!XFindContext(XDisplayOfIM(ve->im.xim), (Window)ve->im.xim, errContext,
369 XDeleteContext(XDisplayOfIM(ve->im.xim), (Window)ve->im.xim, errContext);
370 ve->im.xim = NULL;
394 if (ve->im.im_list) {
395 XtFree((char *)ve->im.im_list[0]);
396 XtFree((char *)ve->im.im_list);
404 if (ve->im.resources) XtFree((char *)ve->im.resources);
449 if (ve->im.open_im == False) return;
450 ve->im.xim = NULL;
452 if ((int)ve->im.im_list_num <= 0) {
453 if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
456 for (i = 0; i < (int)ve->im.im_list_num; i++) {
457 strcpy(modifiers, "@im=");
458 strcat(modifiers, ve->im.im_list[i]);
489 ve->im.xim = xim;
519 st_area.y = vw->core.height - ve->im.area_height;
538 pe_area.y = vw->core.height - ve->im.area_height;
662 if (ve->im.xim == NULL) return(FALSE);
755 if (((ve->im.xim == NULL) || (p = GetIcTableShared(w, ve)) == NULL) ||
865 p->xic = XCreateIC(ve->im.xim, ic_a[0], ic_a[1], ic_a[2], ic_a[3],
903 if ((ve->im.xim == NULL) || ((p = GetIcTableShared(w, ve)) == NULL) ||
1048 if ((ve->im.xim == NULL) || ((p = GetIcTableShared(w, ve)) == NULL) ||
1070 if ((ve->im.xim == NULL) || ((p = GetIcTableShared(w, ve)) == NULL) ||
1105 for (xrmres = (XrmResourceList)ve->im.resources, i = 0;
1106 i < (int)ve->im.num_resources; i++, xrmres++) {
1155 if ((ve->im.xim == NULL) || ((p = GetIcTableShared(w, ve)) == NULL) ||
1185 if (XtIsRealized((Widget)vw) && ve->im.xim) {
1211 if (ve->im.xim && XtIsRealized((Widget)vw) && p->xic) {
1234 if (ve->im.xim == NULL)
1243 if (ve->im.xim == NULL) return;
1272 ve->im.xim = NULL;
1285 if (ve->im.xim == NULL) return;
1308 ve->im.open_im = True;
1309 if (ve->im.xim == NULL) {
1312 if (ve->im.xim == NULL) return;
1395 ve->im.xim = NULL;
1396 ve->im.area_height = 0;
1397 ve->im.resources = (XrmResourceList)XtMalloc(sizeof(resources));
1398 if (ve->im.resources == NULL) return(FALSE);
1399 memcpy((char *)ve->im.resources, (char *)resources, sizeof(resources));
1400 ve->im.num_resources = XtNumber(resources);
1401 CompileResourceList( (XtResourceList) ve->im.resources,
1402 ve->im.num_resources );
1407 ve->im.im_list = ParseIMNameList(ve->im.input_method, &i);
1408 ve->im.im_list_num = i;
1409 ve->ic.ic_list = ParseIMNameList(ve->im.preedit_type, &i);
1430 XtFree( (char*) ve->im.resources );
1438 !XFindContext (XDisplayOfIM( ve->im.xim ), (Window) ve->im.xim,
1461 if ( ( ve = GetExtPart( (VendorShellWidget) w ) ) && ve->im.xim ) {
1480 return( w->core.height - ve->im.area_height );
1707 ve->im.xim && (p = GetIcTableShared(inwidg, ve)) && p->xic) {
1732 return(ve->im.area_height);