#44 minor changes to several BWidget widgets

closed-fixed
bwidget (50)
6
2002-09-11
2001-11-20
No

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.

Discussion

  • Decoster Jos

    Decoster Jos - 2001-11-20

    'cvs diff' of bwidget with cvs head of 20-nov-2001

     
  • Decoster Jos

    Decoster Jos - 2001-11-21
     
  • Decoster Jos

    Decoster Jos - 2001-11-21

    Logged In: YES
    user_id=370749

    Also updated the BWidget documentation for these changes.

     
  • Andreas Kupries

    Andreas Kupries - 2001-12-11
    • assigned_to: nobody --> hobbs
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2001-12-29
    • status: open --> closed-fixed
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2001-12-29

    Logged In: YES
    user_id=72656

    added to 1.4.0cvs.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-09-06

    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.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-09-06
    • priority: 5 --> 6
    • status: closed-fixed --> open-fixed
     
  • Decoster Jos

    Decoster Jos - 2002-09-09

    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.

     
  • Decoster Jos

    Decoster Jos - 2002-09-09

    Patch to separate _auto_scroll and _multiple_select again (see also bug 594853)

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-09-11

    Logged In: YES
    user_id=72656

    corrected listbox bindings in 1.4.2

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-09-11
    • status: open-fixed --> closed-fixed