Overview
| Artifact ID: | 36c00076ae92528d667b27d91e02e95a89134908 |
|---|---|
| Ticket: | 490407ffffffffffffffffffffffffffffffffff
error when naming a script "button" |
| User & Date: | smithc on 2001-12-07 21:13:57 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Save the following line in a file named "button": pack [button .b -text FOO] Then invoke wish, passing to it this file: wish8.4 button Move the cursor into the wish toplevel, and the following error message is given: Error: unknown option "-state". This was originally written against the [incr Tcl] project, ticket #227899 (you can look at https://sourceforge.net/tracker/index.php?func=detail&aid=227899&group_id=13244&atid=383687 for more information), but I've determined that this is not an itcl bug. I've done a bit of investigation but can't find the source of the problem other than the obvious, that the following binding from button.tcl is being tied to "." in addition to the button: bind Button <Enter> { tk::ButtonEnter %W } Note that the same behavior occurs if the script is named "checkbutton" or "radiobutton". -chad - foundin changed to: "obsolete: 8.4a3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "smithc"
- subsystem changed to: "None"
- title changed to: "error when naming a script "button""
- type changed to: "Bug"