Lines Matching refs:label
322 _Xconst char * label = tip->tip.label;
335 while ((nl = strchr(label, '\n')) != NULL) {
337 gc, tip->tip.left_margin, ksy, label,
338 (int)(nl - label));
340 label = nl + 1;
342 len = (int)strlen(label);
345 tip->tip.left_margin, ksy, label, len);
348 while ((nl = strchr(label, '\n')) != NULL) {
352 (_Xconst XChar2b*)label, (int)(nl - label) >> 1);
355 tip->tip.left_margin, y, label, (int)(nl - label));
358 label = nl + 1;
360 len = (int)strlen(label);
364 tip->tip.left_margin, y, (_Xconst XChar2b*)label, len >> 1);
367 tip->tip.left_margin, y, label, len);
408 _Xconst char *label = info->tip->tip.label;
415 if ((nl = strchr(label, '\n')) != NULL) {
418 int w = XmbTextEscapement(fset, label, (int)(nl - label));
424 label = nl + 1;
425 if (*label)
427 if ((nl = strchr(label, '\n')) == NULL)
428 nl = strchr(label, '\0');
432 width = XmbTextEscapement(fset, label, (int)strlen(label));
436 if ((nl = strchr(label, '\n')) != NULL) {
440 XTextWidth16(fs, (_Xconst XChar2b*)label, (int)(nl - label) >> 1) :
441 XTextWidth(fs, label, (int)(nl - label));
446 label = nl + 1;
447 if (*label)
449 if ((nl = strchr(label, '\n')) == NULL)
450 nl = strchr(label, '\0');
455 XTextWidth16(fs, (_Xconst XChar2b*)label, (int)(strlen(label) >> 1)) :
456 XTextWidth(fs, label, (int)strlen(label));
566 info->tip->tip.label = NULL;
570 XtSetArg(args[0], XtNtip, &info->tip->tip.label);
575 if (info->tip->tip.label) {