Tcl Checker Messages : Tk

 Top

Error Messages from Tk.pcx

Message ID Category Message String
coreTk::badAlpha Error invalid transparency level
The command expects a floating point number between 0.0 (transparent) and 1.0 (opaque)
coreTk::badBindSubst Error bind script contains unknown %%-placeholders
This error indicates that a placeholder character specified with the "bind" command is invalid. Refer to the ActiveTcl User Guide for "bind" command specifications.
coreTk::badColormap Error invalid colormap "%1$s": must be "new" or a window name
The command expects the string to specify a colormap to use. If the string is "new", a new colormap is created. Otherwise, the string should be a valid window path name.
coreTk::badEvent Error invalid event type or keysym
The command expects the string to specify an event type. If the string is not composed of a valid event and one or more related modifiers, an error is reported.
coreTk::badGeometry Error invalid geometry specifier
The command expects the string to specify a geometry value. The string must have one of the following forms:
  • W x H
  • ± X x ± Y
  • W x H ± X x ± Y

...where the width (W) and height (H) values are positive integers, and the X (X) and Y (Y) coordinates are positive or negative integers.

coreTk::badGridMaster Error cannot determine master window
The grid command flags an error if a valid window name was never specified in the command.
coreTk::badGridRel Error must specify window before shortcut
When using the relative placement shortcuts in the grid command (that is, "-", "x", or "^") an error is reported if the span column shortcut ("-") is used immediately after one of the other shortcuts.
coreTk::badPalette Error invalid palette spec
The command expects the string to be a valid palette specification. The palette string may be either a single decimal number, specifying the number of shades of gray to use, or three decimal numbers separated by slashes ("/"), specifying the number of shades of red, green and blue to use, respectively.
coreTk::badPriority Error invalid priority keyword or value
The command expects the string to specify a priority value. The string must contain one of the following values: "widgetDefault", "startupFile", "userDefault", "interactive", or an integer between 0 and 100.
coreTk::badScreen Error invalid screen value
The command expects the string to specify a screen value. The string must have the following form:
?name ?:display ?.screen ?

...where name is any string and display and screen are integers.

coreTk::badSticky Error invalid stickyness value: should be zero or more of nswe
The grid command expects the string to specify valid sticky coordinates. The string can contain any combination of the following characters: "n", "s", "e". or "w".
coreTk::badTab Error invalid tab list
The command expects a list of strings that define tab stops. If the Tcl interpreter cannot parse the list, an error is flagged. The tab list must consist of a list of screen distances giving the positions of the tab stops. Each position can optionally be followed in the next list element by one of the keywords "left", "right", "center", or "numeric", which specifies how to justify text relative to the tab stop.
coreTk::badTabJust Error invalid tab justification "%1$s": must be left right center or numeric
The command expects the justification string to be one of the following: "left", "right", "center", or "numeric".
coreTk::badVirtual Error virtual event is badly formed
The command expects the string to specify a virtual event. The string must have the following form:
<<word>>

...where word is any non-empty string.

coreTk::badVisual Error invalid visual
The command expects the string to specify a visual. The string can have the following form:
  • class depth
  • default
  • windowName
  • number
  • best ?depth ?

The class string must be one of "directcolor", "grayscale", "pseudocolor", "staticcolor", "staticgray", or "truecolor", or any unique abbreviation. The depth value must be a valid integer.

coreTk::badVisualDepth Error invalid visual depth
If the depth specified by a visual string is not a valid integer, then this error is flagged.
coreTk::noEvent Error no events specified in binding
The binding is empty, without events
coreTk::nonPortBitmap Non-Portable use of non-portable bitmap
coreTk::nonPortKeysym Non-Portable use of non-portable keysym
The command expects an event but could not find one while parsing the command line.
coreTk::noVirtual Error virtual event not allowed in definition of another virtual event
Virtual events are not allowed in event sequences. If a virtual event (any event that begins with "<<" and ends with ">>") is found, then this message is flagged.
coreTk::warnConsoleCmd Warning usage of internal console command, may change without notice
The "console" command is internal; its functionality may change between Tcl versions.
coreTk::warnTkCmd Warning usage of internal tk command, may change without notice
An internal command of Tk is used, this may break when Tk internals are changed.
coreTk::warnTtkPadding Warning The ttk::*button widgets do not officially support "-padding"
The option -padding is officially supported only by the ttk::frame and ttk::label widgets. All others may accept the option, but it is not guarantueed to work, and may be removed in the future.
coreTk::warnTtkStateOption Warning Usage of the "state" method is recommended over configuring the "-state" compatibility option
The option -state of ttk widgets exists for compatibility with core widgets and with preexisting code that expects to work with core widgets. The preferred way of changing state is with the [$w state ...] widget command.
 Top