Tk Library Source Code

View Ticket
Login
Ticket UUID: 442474
Title: BWidget: minor changes to PanedWindow
Type: Patch Version: None
Submitter: bach Created on: 2001-07-18 16:35:27
Subsystem: None Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2001-09-06 07:23:27
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2001-09-06 00:23:27
Description:
I've attached a small patch (diff -c format) for the
BWidget paned.tcl file.

Motivation:
--------
1) The paned windows are divided by sashes. At the
moment, the shape of the sash handler is defined by the
OS the application is running: button for UNIX, line
for Windows. It would be nice to be able to define it
by hand (many users prefer the complete line as sash
handler, buttons are easily overseen and very ...
fumbly).

2) The actual minimum setable values for the sash
widths consume too much screen estate.

Remeddy:
-------
1) introduce a new optional argument (say: -activator)
width the values 'button' and 'line'. If set, use this
as sash handler; if not set, use the old OS dependent
mechanism.
2) allow lower values for optional argument -width

Impact of changes to existing code:
-------------------------
None, behaviour is exactly the same, except lower
values for -width argument don't throw an error.
User Comments: andreas_kupries added on 2001-09-06 07:23:27:
Logged In: YES 
user_id=75003

Patch committed to head.

bach added on 2001-07-18 23:35:28:

File Added - 8570: paned-diff.txt

Attachments: