• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/tcl-105/tk84/tk/generic/

Lines Matching +defs:new +defs:state

121     {TK_CONFIG_CUSTOM, "-state", (char *) NULL, (char *) NULL,
122 (char *) NULL, Tk_Offset(Tk_Item, state), TK_CONFIG_NULL_OK,
214 * This procedure is invoked to create a new text item
224 * A new text item is created.
232 Tk_Canvas canvas; /* Canvas to hold new item. */
233 Tk_Item *itemPtr; /* Record to hold new item; header has been
408 Tk_State state;
421 state = itemPtr->state;
430 if(state == TK_STATE_NULL) {
431 state = ((TkCanvas *)canvas)->canvas_state;
443 } else if (state==TK_STATE_DISABLED) {
623 Tk_State state = textPtr->header.state;
625 if(state == TK_STATE_NULL) {
626 state = ((TkCanvas *)canvas)->canvas_state;
634 if (state == TK_STATE_HIDDEN || textPtr->color == NULL) {
736 Tk_State state = itemPtr->state;
741 if(state == TK_STATE_NULL) {
742 state = ((TkCanvas *)canvas)->canvas_state;
749 } else if (state==TK_STATE_DISABLED) {
924 char *new, *text;
943 new = (char *) ckalloc((unsigned) textPtr->numBytes + byteCount + 1);
944 memcpy(new, text, (size_t) byteIndex);
945 strcpy(new + byteIndex, string);
946 strcpy(new + byteIndex + byteCount, text + byteIndex);
949 textPtr->text = new;
1007 char *new, *text;
1026 new = (char *) ckalloc((unsigned) (textPtr->numBytes + 1 - byteCount));
1027 memcpy(new, text, (size_t) byteIndex);
1028 strcpy(new + byteIndex, text + byteIndex + byteCount);
1031 textPtr->text = new;
1102 Tk_State state = itemPtr->state;
1105 if (state == TK_STATE_NULL) {
1106 state = ((TkCanvas *)canvas)->canvas_state;
1113 if ((state == TK_STATE_HIDDEN) || (textPtr->color == NULL) ||
1150 Tk_State state = itemPtr->state;
1152 if (state == TK_STATE_NULL) {
1153 state = ((TkCanvas *)canvas)->canvas_state;
1465 Tk_State state = itemPtr->state;
1467 if(state == TK_STATE_NULL) {
1468 state = ((TkCanvas *)canvas)->canvas_state;
1472 if (state == TK_STATE_HIDDEN || textPtr->color == NULL ||
1482 } else if (state==TK_STATE_DISABLED) {