Tk Library Source Code

View Ticket
Login
Ticket UUID: 1507713
Title: Documentation error: -opencmd option for Tree widget
Type: Bug Version: None
Submitter: arjenmarkus Created on: 2006-06-17 11:13:54
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-08-22 03:56:35
Resolution: Accepted Closed By: dev_null42a
    Closed on: 2006-08-21 20:56:35
Description:
According to the documentation of the -opencmd option
for he Tree widget the path to the tree widget and the
node that was opened are both appended to the command.

However, in the "current" implementation (1.7 as
delivered with ActiveTcl 8.4.12) only the node is appended.

It is probably best to adapt the documentation, not the
code:
- The value for -opencmd is a "command prefix" 
- The node that was opened is appended
- To get the tree widget use something like:
 
  -opencmd "mycmd .tree"
User Comments: dev_null42a added on 2006-08-22 03:56:35:
Logged In: YES 
user_id=1381097

Documentation has been fixed in revision 1.8.