Tk Source Code

View Ticket
Login
Ticket UUID: 1281243
Title: panedwindow sash coord documentation bug
Type: Bug Version: obsolete: 8.5a3
Submitter: fvogel Created on: 2005-09-03 13:04:33
Subsystem: 21. [panedwindow] Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2014-02-19 21:42:14
Resolution: Wont Fix Closed By: sf-robot
    Closed on: 2006-06-10 02:20:15
Description:
Documentation for .panedwindow sash coord says:

Return the current x and y coordinate pair for the sash 
given by index. Index must be an integer between 0 and 
1 less than the number of panes in the panedwindow. 
The coordinates given are those of the top left corner of 
the region containing the sash.

1.
"between 0 and 1" is clearly wrong and should be 
suppressed.

2.
In what coordinate system are these x and y returned?


Francois
User Comments: sf-robot added on 2006-06-10 09:20:15:
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

jenglish added on 2005-09-26 00:39:30:
Logged In: YES 
user_id=68433

1:  It makes sense if you read it as "between 0 and (1 less
than the number of panes in the panedwindow)."  I don't see
any other way to parse that sentence.

2: In the window's coordinate system, per convention.