Tk Library Source Code

View Ticket
Login
Ticket UUID: 483838
Title: minor changes to several BWidget widgets
Type: Patch Version: None
Submitter: decosterjos Created on: 2001-11-20 16:24:21
Subsystem: bwidget Assigned To: hobbs
Priority: 6 Severity:
Status: Closed Last Modified: 2002-09-12 02:24:51
Resolution: Fixed Closed By: hobbs
    Closed on: 2002-09-11 19:24:51
Description:
I've attached the result of a 'cvs diff' between my
local BWidget
sources and the current CVS head (20-nov-2001). This
diff
contains the following changes:

1) tree.tcl

Added a 'recursive' argument to 'Tree::opentree' and 
'Tree::closetree'

2) dialog.tcl

Added '-transient' and '-place' flag

3) listbox.tcl

Added '-selectmode' flag and 2 possible select-modes:
single and 
multiple

4) widget.tcl

Select element 4 (was 3) from the config-options to get
value from 
optiondb

5) progressbar.tcl

Added new type 'nonincremental_infinite' and modified
movement of 
progressbar when in 'infinite' or
'nonincremental_infinite' mode. The
'nonincremental_infinite' can be used when a certain
process 
monitored by a ProgressBar returns a total count and
not an 
increment count.

6) panedw.tcl

Added '-weights' flag with possible value 'extra' or
'available'. 
Since BWidget-1.3.1, the meaning of the '-weight' flag
for the 
'PanedWindow::add' command was changed. This made it
difficult to 
create a layout where the panes occupy a certain amount
of the 
screen. When using the '-weights extra' flag when
creating a 
PanedWindow widget, the >=1.3.1 behavior is used: the
weights
for the different panes are only used for extra space.
When using 
the '-weights available' flag, the weights for the
different panes are 
used to set the size of each panes relative to the
total available 
space.

Impact of changes to existing code: 
 
None, behaviour is exactly the same when not specifying
one of the 
new flags or arguments (these have default values
corresponding to 
the old behavior), except for movement of ProgressBar
in 
one of the 'infinite' modes.
User Comments: hobbs added on 2002-09-12 02:24:51:
Logged In: YES 
user_id=72656

corrected listbox bindings in 1.4.2

decosterjos added on 2002-09-09 15:22:05:

File Added - 30708: listbox.patch

Logged In: YES 
user_id=370749

Hi,

When the new multiple select command was added to
listbox.tcl, it got mixed up with the _auto_scroll
procedure. I uploaded a patch to the latest CVS listbox.tcl
to separate _multiple_select and _auto_scroll

Kind regards,

Jos.

hobbs added on 2002-09-07 03:51:25:
Logged In: YES 
user_id=72656

Somehow the patching of the multiple select mode didn't 
work out correctly.  the 'x' and 'y' values are never set, but 
they are used.  See tcllib bug 594853.

hobbs added on 2001-12-29 09:07:06:
Logged In: YES 
user_id=72656

added to 1.4.0cvs.

decosterjos added on 2001-11-21 20:22:55:

File Added - 13628: BWman.tar.gz

decosterjos added on 2001-11-21 20:22:53:
Logged In: YES 
user_id=370749

Also updated the BWidget documentation for these changes.

decosterjos added on 2001-11-20 23:24:38:

File Added - 13583: bwdiffs

Attachments: