📄 changelog
字号:
2003-12-18 Bob Techentin <techentin@sourceforge.net>
**** BWIDGET 1.7.0 TAGGED ****
* README.txt: Changed revision to 1.7.0. Note that
1.7.0 does not include 2003-11-26 mod to notebook.tcl.
2003-11-26 Jeff Hobbs <jeffh@ActiveState.com>
* notebook.tcl (NoteBook::bindtabs): correct tab name returned. (groth)
2003-11-17 Jeff Hobbs <jeffh@ActiveState.com>
* entry.tcl (Entry::create): add missing line continuation.
[Patch #843932] (oehlmann)
2003-11-10 Damon Courtney <damon@unreality.com>
* entry.tcl: Use a button widget for -disabled options if
we're using 8.3 [Bug 839469]
2003-11-05 Damon Courtney <damon@unreality.com>
* combobox.tcl: Fixed dropdown listbox selection for
standard Tk listbox [Bug 831496].
2003-11-05 Jeff Hobbs <jeffh@ActiveState.com>
* scrollview.tcl (ScrollView::_set_view): correct :canvas to
renamed :cmd.
2003-10-30 Jeff Hobbs <jeffh@ActiveState.com>
* scrollw.tcl (ScrolledWindow::setwidget): check that the old
widget associated still exists before unconfiguring it. [Bug #833034]
2003-10-27 Damon Courtney <damon@unreality.com>
* combobox.tcl, listbox.tcl: Fixed keyboard navigation in the
combobox drop down [Bug 831496].
* listbox.tcl: Added curselection subcommand to mimic Tk listbox
behavior.
Added keyboard navigation to the listbox.
* widget.tcl: Added Widget::exists command to return whether a
widget is a BWidget (based on whether it exists in the _class array).
Widget::destroy now properly unsets the widget's variable in
the _class array.
2003-10-27 Joe English <jenglish@users.sourceforge.net>
* DragSite.html, DropSite.html: Fix markup errors [Bug #740484]
2003-10-20 Damon Courtney <damon@unreality.com>
* arrow.tcl, bitmap.tcl, button.tcl, buttonbox.tcl, color.tcl,
* combobox.tcl, dialog.tcl, dragsite.tcl, dropsite.tcl, entry.tcl
* font.tcl, label.tcl, labelentry.tcl, labelframe.tcl, listbox.tcl
* mainframe.tcl, messagedlg.tcl, notebook.tcl, pagesmgr.tcl
* panedw.tcl, passwddlg.tcl, progressbar.tcl, progressdlg.tcl
* scrollframe.tcl, scrollview.tcl, scrollw.tcl, separator.tcl
* spinbox.tcl, titleframe.tcl, tree.tcl, utils.tcl, widget.tcl
* xpm2image.tcl: Revamp again to let core Widget commands handle
most of the esoteric work of creating and destroying widgets
properly in the BWidget environment.
The command Widget::define defines a class, its filename and a
list of classes which it uses. This command handles creating
the command to create new widgets, creates a ::use command for
the class and calls the ::use command for each class included.
The command Widget::create does the renaming of the widget to
$path:cmd and creates the proc to redirect the widget commands.
Widget::destroy now does the rename $path "" that almost all
widgets do.
* button.tcl: Added a -state option to configure the state of the
entire box at once.
Added new insert and delete subcommands.
Added an after cancel to stop button repeat upon release.
[Bug 697022]
* combobox.tcl: Added -bwlistbox, -listboxwidth and -hottrack options.
-images option already existed, but now it actually does something.
Added getlistbox, get, icursor, post and unpost subcommands.
* dynhelp.tcl: Added add subcommand to replace the (now) deprecated
register command. The new command adds for a lot more flexibility
in applying dynamic help.
Help popup now comes up -topmost 1 on Windows if available.
* entry.tcl: Added -disabledbackground option so that the BWidget
entry more closely resembles the standard Tk entry.
[Bug 638236].
* init.tcl: Moved Widget::traverseTo into widget.tcl.
* label.tcl: Renamed BWLabel class to just Label.
* listbox.tcl: Added a default -dropcmd so that if -dragenabled
and -dropenabled are true, drag-and-drop within the same widget
is possible without any other options.
Added -autofocus option to specify that clicking within the listbox
should draw the focus in order to handle mouse wheel events.
Added -selectfill option for drawing a full selection rectangle
around selected items instead of just around the item.
Added getcanvas subcommand. [Bug 436762].
bindImage and bindText now map %W to $path in order to get an
accurate path in events. This can probably be fixed better
when we have more control over event parameters. [Bug 607745]
Added mouse wheel bindings by default.
Added <<ListboxSelect>> event when selection changes.
* mainframe.tcl: Fixed bug for adding CTRL-F items to a mainframe
[Bug 784269]
* messagedlg.tcl: Added -buttonwidth option.
* notebook.tcl: Added dynamic help to tabs.
Added -tabpady option to specify the padding between the text and
the tab.
Notebooks now handle multi-line text properly. [Bug 565284]
* scrollview.tcl: Rewritten to use a variable per path instead of
a big array.
* tree.tcl: Added -anchor option to nodes to specify the anchor for
an image or window when displayed.
Added -crossopenimage, -crosscloseimage, -crossopenbitmap and
-crossclosebitmap options to change the open / close cross.
Added mouse wheel bindings by default.
Added toggle subcommand to toggle a single tree node.
Added <<TreeSelect>> event when selection changes.
The characters "& | ^ !" are all converted to | silently in
node names. This is to avoid errors because these characters
are special to the canvas widget. [Bug 746960]
bindImage and bindText now map %W to $path in order to get an
accurate path in events. This can probably be fixed better
when we have more control over event parameters. [Bug 607745]
* utils.tcl: Added BWidget::wrongNumArgsString command to return
a standard wrong # args error string.
Added BWidget::classes command that returns a list of all classes
required by a given class.
Added BWidget::inuse command to determine if a given class is inuse.
Added BWidget::library command to return a body of code that can
be saved into a project or other code based on the given classes.
When called with a list of classes, all the classes and code
necessary to use those classes is returned in a large string which
can then be written out to a file.
Added BWidget::write command to write to a given file the current
set of classes that are in use.
Added BWidget::bindMouseWheel command to setup default mouse
bindings on a given widget.
* widget.tcl: Added a new option type 'Padding' which will accept
the standard padding arguments in Tcl 8.4+.
Added Widget::define command to define a new BWidget class.
Added Widget::create command to create a BWidget properly.
Widget::destroy now attempts to delete a widget command created
through Widget::create.
Added Widget::options command to return the current options of
a given widget in a style that can be used to serialize a widget.
Added Widget::getOption command to get options based on children
having the same option.
* wizard.tcl: Added new Wizard widget.
2003-10-17 Jeff Hobbs <jeffh@ActiveState.com>
* arrow.tcl, bitmap.tcl, button.tcl, buttonbox.tcl, color.tcl,
* combobox.tcl, dialog.tcl, dragsite.tcl, dropsite.tcl, entry.tcl
* font.tcl, label.tcl, labelentry.tcl, labelframe.tcl, listbox.tcl
* mainframe.tcl, messagedlg.tcl, notebook.tcl, pagesmgr.tcl
* panedw.tcl, passwddlg.tcl, progressbar.tcl, progressdlg.tcl
* scrollframe.tcl, scrollview.tcl, scrollw.tcl, separator.tcl
* spinbox.tcl, titleframe.tcl, tree.tcl, utils.tcl, widget.tcl
* xpm2image.tcl: major revamp to reduce incorrect use of eval and
other list-safetiness evils. Also change !strcomp to streq.
2003-08-06 Jeff Hobbs <jeffh@ActiveState.com>
* listbox.tcl: Correct Listbox selection drawing [Bug #781652]
2003-07-17 Joe English <jenglish@users.sourceforge.net>
* init.tcl, combobox.tcl: Fix for [Bug 720032] "BWidget
breaks Tk entry behaviour". Highlight the entry
in a <<TraverseIn>> binding, instead of doing so
on every <FocusIn> event. Change the global <Tab>
and <Shift-Tab> bindings to generate <<TraverseIn>>
and <<TraverseOut>> events.
2003-07-17 Jeff Hobbs <jeffh@ActiveState.com>
* notebook.tcl: Use list with eval for safety.
Use lsearch -exact instead of default -glob in all uses.
* listbox.tcl (_multiple_select): correct shift-selection when
selectmode is multiple. [Bug 653266]
Use lsearch -exact instead of default -glob in all uses.
Use list with eval for safety.
* BWman/ScrolledWindow.html: clarify management of embedded widget.
2003-06-23 Damon Courtney <damon@unreality.com>
* combobox.tcl: Added a little better handling of keys in the
auto-complete.
2003-06-06 Damon Courtney <damon@unreality.com>
* combobox.tcl: Added a rudimentary auto-complete function
with option (-autocomplete) that is turned off by default.
Over time, I'm sure this function can be improved, but I
think it works pretty well for now.
* BWman/ComboBox.tcl: Added documentation for -autocomplete.
2003-06-05 Damon Courtney <damon@unreality.com>
* listbox.tcl: Liberal use of list where appropriate to make
the code safe for space-containing node names.
2003-05-23 Bob Techentin <techentin@sourceforge.net>
**** BWIDGET 1.6.0 TAGGED ****
* README.txt:
2003-05-18 Jeff Hobbs <jeffh@ActiveState.com>
* progressbar.tcl: correctly handle progressbar being quickly
created and deleted by deleting afters and checking var existence.
2003-05-18 Joe English <jenglish@users.sourceforge.net>
* widget.tcl (Widget::focusOK): Don't assume that '-editable'
option is always 1 or 0 for all widgets. [Bug 710658]
2003-05-14 Jeff Hobbs <jeffh@ActiveState.com>
* demo/tree.tcl: make the tree scrollview make sense in demo.
[Bug 684462]
* notebook.tcl: ensure that bd is min 1 at all times. [Bug 688227]
Correct use of eval with list.
* tree.tcl: correct node lsearch'ing to use -exact to allow for []
containing nodes [Bug 628041] (decoster)
2003-05-07 Jeff Hobbs <jeffh@ActiveState.com>
* dynhelp.tcl (DynamicHelp::_motion_balloon): correctly listify
after delayed _show_help callback.
2003-05-06 Jeff Hobbs <jeffh@ActiveState.com>
* scrollw.tcl (ScrolledWindow::setwidget): remove any existing
widget before setting the next.
2003-05-01 Jeff Hobbs <jeffh@ActiveState.com>
* tree.tcl (Tree::configure, Tree::_draw_node): add a full-width
box underneath the text and image/window that will react to the
node binding if -selectfill is true. It is an empty box that is
overly wide, but it could be improved to resize on Configure to
just the window width and replace the sel box.
2003-04-23 Jeff Hobbs <jeffh@ActiveState.com>
* tree.tcl: liberal use of list where appropriate to make the code
safe for space-containing node names.
Make use of string equal instead of !string compare.
(Tree::_redraw_selection): correct -selectfill to include the
image, in any, in the bbox calculation since it may be larger.
2003-04-15 Damon Courtney <damon@unreality.com>
* listbox.tcl
* tree.tcl: Added a #auto substitution for inserting new items
into a tree or listbox.
* BWman/ListBox.html
* BWman/Tree.html: Added documentation for #auto substitution.
2003-04-14 Jeff Hobbs <jeffh@ActiveState.com>
* utils.tcl (BWidget::focus): add optional refocus arg
* combobox.tcl: make droplist use solid 1-pixel relief more in
accordance with Windows style. Set topmost attribute on droplist.
Add bindings that unmap the droplist if we lose focus to another
application (where [focus] == ""), without refocusing to the entry.
2003-04-11 Jeff Hobbs <jeffh@ActiveState.com>
* combobox.tcl (ComboBox::_expand): add tab expansion behavior
when -expand tab is specified
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -