Lines Matching defs:text

41     char *text;			/* Text to display in button (malloc'ed)
43 int numChars; /* # of characters in text. */
50 * then text and textVar are ignored. */
52 * NULL. If non-NULL, bitmap, text, and
90 XFontStruct *fontPtr; /* Information about text font, or NULL. */
97 GC normalTextGC; /* GC for drawing text in normal mode. Also
100 GC activeTextGC; /* GC for drawing text in active mode (NULL
102 Pixmap gray; /* Pixmap for displaying disabled text if
106 * draw button text or icon. Otherwise
107 * text or icon is drawn with normalGC and
115 * for window, in characters for text and in
117 * size of the text string or bitmap is
122 int padX, padY; /* Extra space around text (pixels to leave
125 Tk_Anchor anchor; /* Where text/bitmap should be displayed
127 Tk_Justify justify; /* Justification to use for multi-line text. */
132 int textWidth; /* Width needed to display text as requested,
134 int textHeight; /* Height needed to display text as requested,
344 {TK_CONFIG_STRING, "-text", "text", "Text",
345 DEF_BUTTON_TEXT, Tk_Offset(Button, text), ALL_MASK},
537 butPtr->text = NULL;
847 * Configuration information, such as text string, colors, font,
1059 if (Tcl_SetVar(interp, butPtr->textVarName, butPtr->text,
1064 if (butPtr->text != NULL) {
1065 ckfree(butPtr->text);
1067 butPtr->text = (char *) ckalloc((unsigned) (strlen(value) + 1));
1068 strcpy(butPtr->text, value);
1146 * the text to make the button appear to
1195 * Display image or bitmap or text for button.
1285 butPtr->text, butPtr->numChars, x, y, butPtr->textWidth,
1292 * point x and y refer to the top-left corner of the text or image
1525 * After changes in a button's text or bitmap, this procedure
1570 butPtr->numChars = strlen(butPtr->text);
1571 TkComputeTextGeometry(butPtr->fontPtr, butPtr->text,
1752 * The text displayed in the button will change to match the
1777 Tcl_SetVar(interp, butPtr->textVarName, butPtr->text,
1790 if (butPtr->text != NULL) {
1791 ckfree(butPtr->text);
1793 butPtr->text = (char *) ckalloc((unsigned) (strlen(value) + 1));
1794 strcpy(butPtr->text, value);