Lines Matching refs:value

34 			    Tk_Uid value, int valueIsUid, char *widgRec));
57 * A standard Tcl return value. In case of an error,
85 Tk_Uid value; /* Value of option from database. */
136 Tcl_AppendResult(interp, "value for \"", *argv,
169 value = NULL;
171 value = Tk_GetOption(tkwin, specPtr->dbName, specPtr->dbClass);
173 if (value != NULL) {
174 if (DoConfig(interp, tkwin, specPtr, value, 1, widgRec) !=
185 value = specPtr->defValue;
186 if ((value != NULL) && !(specPtr->specFlags
188 if (DoConfig(interp, tkwin, specPtr, value, 1, widgRec) !=
194 "default value for",
217 * The return value is a pointer to the matching entry, or NULL
313 * A standard Tcl return value.
316 * WidgRec is modified as indicated by specPtr and value.
317 * The old value is recycled, if that is appropriate for
318 * the value type.
324 DoConfig(interp, tkwin, specPtr, value, valueIsUid, widgRec)
329 char *value; /* Value to use to fill in widgRec. */
330 int valueIsUid; /* Non-zero means value is a Tk_Uid;
341 if ((*value == 0) && (specPtr->specFlags & TK_CONFIG_NULL_OK)) {
349 if (Tcl_GetBoolean(interp, value, (int *) ptr) != TCL_OK) {
354 if (Tcl_GetInt(interp, value, (int *) ptr) != TCL_OK) {
359 if (Tcl_GetDouble(interp, value, (double *) ptr) != TCL_OK) {
369 new = (char *) ckalloc((unsigned) (strlen(value) + 1));
370 strcpy(new, value);
383 uid = valueIsUid ? (Tk_Uid) value : Tk_GetUid(value);
393 uid = valueIsUid ? (Tk_Uid) value : Tk_GetUid(value);
412 uid = valueIsUid ? (Tk_Uid) value : Tk_GetUid(value);
431 uid = valueIsUid ? (Tk_Uid) value : Tk_GetUid(value);
450 uid = valueIsUid ? (Tk_Uid) value : Tk_GetUid(value);
464 uid = valueIsUid ? (Tk_Uid) value : Tk_GetUid(value);
476 uid = valueIsUid ? (Tk_Uid) value : Tk_GetUid(value);
493 uid = valueIsUid ? (Tk_Uid) value : Tk_GetUid(value);
499 uid = valueIsUid ? (Tk_Uid) value : Tk_GetUid(value);
505 uid = valueIsUid ? (Tk_Uid) value : Tk_GetUid(value);
511 uid = valueIsUid ? (Tk_Uid) value : Tk_GetUid(value);
517 if (Tk_GetPixels(interp, tkwin, value, (int *) ptr)
523 if (Tk_GetScreenMM(interp, tkwin, value, (double *) ptr)
534 tkwin2 = Tk_NameToWindow(interp, value, tkwin);
545 value, widgRec, specPtr->offset) != TCL_OK) {
578 * class, default value, and current value (empty string
729 * This procedure formats the current value of a configuration
733 * The return value is the formatted value of the option given
734 * by specPtr and widgRec. If the value is static, so that it
879 * This procedure returns the current value of a configuration
883 * The return value is a standard Tcl completion code (TCL_OK or
884 * TCL_ERROR). Interp->result will be set to hold either the value
902 * option whose value is to be returned. */