12003-12-18 Bob Techentin <techentin@sourceforge.net> 2 3 **** BWIDGET 1.7.0 TAGGED **** 4 5 * README.txt: Changed revision to 1.7.0. Note that 6 1.7.0 does not include 2003-11-26 mod to notebook.tcl. 7 82003-11-26 Jeff Hobbs <jeffh@ActiveState.com> 9 10 * notebook.tcl (NoteBook::bindtabs): correct tab name returned. (groth) 11 122003-11-17 Jeff Hobbs <jeffh@ActiveState.com> 13 14 * entry.tcl (Entry::create): add missing line continuation. 15 [Patch #843932] (oehlmann) 16 172003-11-10 Damon Courtney <damon@unreality.com> 18 19 * entry.tcl: Use a button widget for -disabled options if 20 we're using 8.3 [Bug 839469] 21 222003-11-05 Damon Courtney <damon@unreality.com> 23 24 * combobox.tcl: Fixed dropdown listbox selection for 25 standard Tk listbox [Bug 831496]. 26 272003-11-05 Jeff Hobbs <jeffh@ActiveState.com> 28 29 * scrollview.tcl (ScrollView::_set_view): correct :canvas to 30 renamed :cmd. 31 322003-10-30 Jeff Hobbs <jeffh@ActiveState.com> 33 34 * scrollw.tcl (ScrolledWindow::setwidget): check that the old 35 widget associated still exists before unconfiguring it. [Bug #833034] 36 372003-10-27 Damon Courtney <damon@unreality.com> 38 39 * combobox.tcl, listbox.tcl: Fixed keyboard navigation in the 40 combobox drop down [Bug 831496]. 41 42 * listbox.tcl: Added curselection subcommand to mimic Tk listbox 43 behavior. 44 45 Added keyboard navigation to the listbox. 46 47 * widget.tcl: Added Widget::exists command to return whether a 48 widget is a BWidget (based on whether it exists in the _class array). 49 50 Widget::destroy now properly unsets the widget's variable in 51 the _class array. 52 532003-10-27 Joe English <jenglish@users.sourceforge.net> 54 * DragSite.html, DropSite.html: Fix markup errors [Bug #740484] 55 562003-10-20 Damon Courtney <damon@unreality.com> 57 * arrow.tcl, bitmap.tcl, button.tcl, buttonbox.tcl, color.tcl, 58 * combobox.tcl, dialog.tcl, dragsite.tcl, dropsite.tcl, entry.tcl 59 * font.tcl, label.tcl, labelentry.tcl, labelframe.tcl, listbox.tcl 60 * mainframe.tcl, messagedlg.tcl, notebook.tcl, pagesmgr.tcl 61 * panedw.tcl, passwddlg.tcl, progressbar.tcl, progressdlg.tcl 62 * scrollframe.tcl, scrollview.tcl, scrollw.tcl, separator.tcl 63 * spinbox.tcl, titleframe.tcl, tree.tcl, utils.tcl, widget.tcl 64 * xpm2image.tcl: Revamp again to let core Widget commands handle 65 most of the esoteric work of creating and destroying widgets 66 properly in the BWidget environment. 67 68 The command Widget::define defines a class, its filename and a 69 list of classes which it uses. This command handles creating 70 the command to create new widgets, creates a ::use command for 71 the class and calls the ::use command for each class included. 72 73 The command Widget::create does the renaming of the widget to 74 $path:cmd and creates the proc to redirect the widget commands. 75 76 Widget::destroy now does the rename $path "" that almost all 77 widgets do. 78 79 * button.tcl: Added a -state option to configure the state of the 80 entire box at once. 81 82 Added new insert and delete subcommands. 83 84 Added an after cancel to stop button repeat upon release. 85 [Bug 697022] 86 87 * combobox.tcl: Added -bwlistbox, -listboxwidth and -hottrack options. 88 -images option already existed, but now it actually does something. 89 90 Added getlistbox, get, icursor, post and unpost subcommands. 91 92 * dynhelp.tcl: Added add subcommand to replace the (now) deprecated 93 register command. The new command adds for a lot more flexibility 94 in applying dynamic help. 95 96 Help popup now comes up -topmost 1 on Windows if available. 97 98 * entry.tcl: Added -disabledbackground option so that the BWidget 99 entry more closely resembles the standard Tk entry. 100 [Bug 638236]. 101 102 * init.tcl: Moved Widget::traverseTo into widget.tcl. 103 104 * label.tcl: Renamed BWLabel class to just Label. 105 106 * listbox.tcl: Added a default -dropcmd so that if -dragenabled 107 and -dropenabled are true, drag-and-drop within the same widget 108 is possible without any other options. 109 110 Added -autofocus option to specify that clicking within the listbox 111 should draw the focus in order to handle mouse wheel events. 112 113 Added -selectfill option for drawing a full selection rectangle 114 around selected items instead of just around the item. 115 116 Added getcanvas subcommand. [Bug 436762]. 117 118 bindImage and bindText now map %W to $path in order to get an 119 accurate path in events. This can probably be fixed better 120 when we have more control over event parameters. [Bug 607745] 121 122 Added mouse wheel bindings by default. 123 124 Added <<ListboxSelect>> event when selection changes. 125 126 * mainframe.tcl: Fixed bug for adding CTRL-F items to a mainframe 127 [Bug 784269] 128 129 * messagedlg.tcl: Added -buttonwidth option. 130 131 * notebook.tcl: Added dynamic help to tabs. 132 133 Added -tabpady option to specify the padding between the text and 134 the tab. 135 136 Notebooks now handle multi-line text properly. [Bug 565284] 137 138 * scrollview.tcl: Rewritten to use a variable per path instead of 139 a big array. 140 141 * tree.tcl: Added -anchor option to nodes to specify the anchor for 142 an image or window when displayed. 143 144 Added -crossopenimage, -crosscloseimage, -crossopenbitmap and 145 -crossclosebitmap options to change the open / close cross. 146 147 Added mouse wheel bindings by default. 148 149 Added toggle subcommand to toggle a single tree node. 150 151 Added <<TreeSelect>> event when selection changes. 152 153 The characters "& | ^ !" are all converted to | silently in 154 node names. This is to avoid errors because these characters 155 are special to the canvas widget. [Bug 746960] 156 157 bindImage and bindText now map %W to $path in order to get an 158 accurate path in events. This can probably be fixed better 159 when we have more control over event parameters. [Bug 607745] 160 161 * utils.tcl: Added BWidget::wrongNumArgsString command to return 162 a standard wrong # args error string. 163 164 Added BWidget::classes command that returns a list of all classes 165 required by a given class. 166 167 Added BWidget::inuse command to determine if a given class is inuse. 168 169 Added BWidget::library command to return a body of code that can 170 be saved into a project or other code based on the given classes. 171 When called with a list of classes, all the classes and code 172 necessary to use those classes is returned in a large string which 173 can then be written out to a file. 174 175 Added BWidget::write command to write to a given file the current 176 set of classes that are in use. 177 178 Added BWidget::bindMouseWheel command to setup default mouse 179 bindings on a given widget. 180 181 * widget.tcl: Added a new option type 'Padding' which will accept 182 the standard padding arguments in Tcl 8.4+. 183 184 Added Widget::define command to define a new BWidget class. 185 186 Added Widget::create command to create a BWidget properly. 187 188 Widget::destroy now attempts to delete a widget command created 189 through Widget::create. 190 191 Added Widget::options command to return the current options of 192 a given widget in a style that can be used to serialize a widget. 193 194 Added Widget::getOption command to get options based on children 195 having the same option. 196 197 * wizard.tcl: Added new Wizard widget. 198 199 2002003-10-17 Jeff Hobbs <jeffh@ActiveState.com> 201 202 * arrow.tcl, bitmap.tcl, button.tcl, buttonbox.tcl, color.tcl, 203 * combobox.tcl, dialog.tcl, dragsite.tcl, dropsite.tcl, entry.tcl 204 * font.tcl, label.tcl, labelentry.tcl, labelframe.tcl, listbox.tcl 205 * mainframe.tcl, messagedlg.tcl, notebook.tcl, pagesmgr.tcl 206 * panedw.tcl, passwddlg.tcl, progressbar.tcl, progressdlg.tcl 207 * scrollframe.tcl, scrollview.tcl, scrollw.tcl, separator.tcl 208 * spinbox.tcl, titleframe.tcl, tree.tcl, utils.tcl, widget.tcl 209 * xpm2image.tcl: major revamp to reduce incorrect use of eval and 210 other list-safetiness evils. Also change !strcomp to streq. 211 2122003-08-06 Jeff Hobbs <jeffh@ActiveState.com> 213 214 * listbox.tcl: Correct Listbox selection drawing [Bug #781652] 215 2162003-07-17 Joe English <jenglish@users.sourceforge.net> 217 * init.tcl, combobox.tcl: Fix for [Bug 720032] "BWidget 218 breaks Tk entry behaviour". Highlight the entry 219 in a <<TraverseIn>> binding, instead of doing so 220 on every <FocusIn> event. Change the global <Tab> 221 and <Shift-Tab> bindings to generate <<TraverseIn>> 222 and <<TraverseOut>> events. 223 2242003-07-17 Jeff Hobbs <jeffh@ActiveState.com> 225 226 * notebook.tcl: Use list with eval for safety. 227 Use lsearch -exact instead of default -glob in all uses. 228 229 * listbox.tcl (_multiple_select): correct shift-selection when 230 selectmode is multiple. [Bug 653266] 231 Use lsearch -exact instead of default -glob in all uses. 232 Use list with eval for safety. 233 234 * BWman/ScrolledWindow.html: clarify management of embedded widget. 235 2362003-06-23 Damon Courtney <damon@unreality.com> 237 * combobox.tcl: Added a little better handling of keys in the 238 auto-complete. 239 2402003-06-06 Damon Courtney <damon@unreality.com> 241 * combobox.tcl: Added a rudimentary auto-complete function 242 with option (-autocomplete) that is turned off by default. 243 Over time, I'm sure this function can be improved, but I 244 think it works pretty well for now. 245 246 * BWman/ComboBox.tcl: Added documentation for -autocomplete. 247 2482003-06-05 Damon Courtney <damon@unreality.com> 249 * listbox.tcl: Liberal use of list where appropriate to make 250 the code safe for space-containing node names. 251 2522003-05-23 Bob Techentin <techentin@sourceforge.net> 253 254 **** BWIDGET 1.6.0 TAGGED **** 255 256 * README.txt: 257 2582003-05-18 Jeff Hobbs <jeffh@ActiveState.com> 259 260 * progressbar.tcl: correctly handle progressbar being quickly 261 created and deleted by deleting afters and checking var existence. 262 2632003-05-18 Joe English <jenglish@users.sourceforge.net> 264 265 * widget.tcl (Widget::focusOK): Don't assume that '-editable' 266 option is always 1 or 0 for all widgets. [Bug 710658] 267 2682003-05-14 Jeff Hobbs <jeffh@ActiveState.com> 269 270 * demo/tree.tcl: make the tree scrollview make sense in demo. 271 [Bug 684462] 272 273 * notebook.tcl: ensure that bd is min 1 at all times. [Bug 688227] 274 Correct use of eval with list. 275 276 * tree.tcl: correct node lsearch'ing to use -exact to allow for [] 277 containing nodes [Bug 628041] (decoster) 278 2792003-05-07 Jeff Hobbs <jeffh@ActiveState.com> 280 281 * dynhelp.tcl (DynamicHelp::_motion_balloon): correctly listify 282 after delayed _show_help callback. 283 2842003-05-06 Jeff Hobbs <jeffh@ActiveState.com> 285 286 * scrollw.tcl (ScrolledWindow::setwidget): remove any existing 287 widget before setting the next. 288 2892003-05-01 Jeff Hobbs <jeffh@ActiveState.com> 290 291 * tree.tcl (Tree::configure, Tree::_draw_node): add a full-width 292 box underneath the text and image/window that will react to the 293 node binding if -selectfill is true. It is an empty box that is 294 overly wide, but it could be improved to resize on Configure to 295 just the window width and replace the sel box. 296 2972003-04-23 Jeff Hobbs <jeffh@ActiveState.com> 298 299 * tree.tcl: liberal use of list where appropriate to make the code 300 safe for space-containing node names. 301 Make use of string equal instead of !string compare. 302 (Tree::_redraw_selection): correct -selectfill to include the 303 image, in any, in the bbox calculation since it may be larger. 304 3052003-04-15 Damon Courtney <damon@unreality.com> 306 307 * listbox.tcl 308 * tree.tcl: Added a #auto substitution for inserting new items 309 into a tree or listbox. 310 311 * BWman/ListBox.html 312 * BWman/Tree.html: Added documentation for #auto substitution. 313 3142003-04-14 Jeff Hobbs <jeffh@ActiveState.com> 315 316 * utils.tcl (BWidget::focus): add optional refocus arg 317 * combobox.tcl: make droplist use solid 1-pixel relief more in 318 accordance with Windows style. Set topmost attribute on droplist. 319 Add bindings that unmap the droplist if we lose focus to another 320 application (where [focus] == ""), without refocusing to the entry. 321 3222003-04-11 Jeff Hobbs <jeffh@ActiveState.com> 323 324 * combobox.tcl (ComboBox::_expand): add tab expansion behavior 325 when -expand tab is specified 326 (ComboBox::_focus_in): autohighlight full contents only when no 327 existing selection exists. [Bug #720024] 328 329 * BWman/ComboBox.html: doc -expand none|tab 330 3312003-03-12 Damon Courtney <damon@unreality.com> 332 333 * listbox.tcl: Added dynamic help support to listbox items. 334 335 * tree.tcl: Fixed a little inconsistency in the tree dynamic help. 336 We don't need to save the whole path in the help array, just the 337 node. 338 3392003-02-25 Jeff Hobbs <jeffh@ActiveState.com> 340 341 * scrollw.tcl: add lock around grid remove scrollbar to prevent 342 infinite loop in small window situations. (kienzle) 343 344 * pkgIndex.tcl: 345 * configure.in: bumped to v1.6 346 347 * scrollw.tcl: complete rewrite of ScrolledWindow widget to 348 address infinite loop scrollbar problems. This one is much 349 simpler and does not suffer the infinite loop. There still seems 350 to be an issue with shrinking smaller than one scrollbar width / 351 height in size, but that's not common (nor fatal). Addresses 352 [Patch #671821, #520903] [Bug #472718, #564691] 353 This may introduce new incompatabilities, but it does work as 354 expected for noted bugs and in the demos. 355 356 * widget.tcl: code cleanup 357 * scrollframe.tcl: code cleanup 358 3592003-02-24 Jeff Hobbs <jeffh@ActiveState.com> 360 361 * panedw.tcl (_realize): only allow _realize to be called once the 362 Configure binding has triggered once. [Bug #613134] 363 [Patch #63500] (decoster) 364 3652003-02-17 Jeff Hobbs <jeffh@ActiveState.com> 366 367 * font.tcl: comment out the adding of default style bits for bold 368 and italic. The allows setting the font to something like 369 "Courier 8", clicking B on and off and getting "Courier 8" back 370 again (otherwise gave "Courier 8 normal roman"). 371 3722003-02-08 Damon Courtney <damon@unreality.com> 373 * BWman/SelectColor.html 374 * color.tcl: Cleaned up some of the documentation of SelectColor 375 and made it actually work like the documentation says it does. 376 377 * BWman/DynamicHelp.html 378 * dynhelp.tcl: Added -topbackground, -padx and -pady options to 379 allow a little more flexibility in the look-and-feel of balloons. 380 381 Added the ability to bind dynamic help to individual items or tags 382 on a canvas. 383 384 * BWman/Tree.html 385 * tree.tcl: Added -padx and -deltax options to individual nodes 386 within a tree. Each option defaults to -1, meaning to take its 387 value from the global option of the same name. 388 389 Added dynamic help to nodes within a tree. Adds the following 390 options: -helptext, -helptype and -helpvar to each node. 391 392 * BWman/BWidget.html 393 * utils.tcl: Added BWidget::badOptionString utility to return a 394 standard error string when a given option doesn't match a list. 395 396 * BWman/Widget.html 397 * widget.tcl: Added Widget::getVariable proc to create a reference 398 to a variable relative to the given widget path. 399 4002003-01-26 Damon Courtney <damon@unreality.com> 401 * BWman/DynamicHelp.html: 402 * dynhelp.tcl: Added -state option to disable help balloons on a 403 global scale. 404 405 * BWman/Tree.html: 406 * tree.tcl: Added -crossfill option to allow the + / - bitmap to 407 be filled with a different color than the connecting node lines. 408 -linesfill is now accurate in its help entry and only adjusts 409 the foreground color of the lines between the nodes. 410 4112003-01-24 Joe English <jenglish@users.sourceforge.net> 412 * tree.tcl (Tree::delete, Tree::_subdelete): remove all deleted 413 nodes from the the selection [Bug #621178]. 414 4152003-01-17 Pat Thoyts <patthoyts@users.sourceforge.net> 416 417 * labelentry.tcl: fixed -textvariable option [bug #649383] 418 4192002-10-14 Jeff Hobbs <jeffh@ActiveState.com> 420 421 * pkgIndex.tcl: 422 * configure.in: bump version to 1.5 423 424 * button.tcl: remove -repeatdelay and -repeatinterval for 8.4 to 425 allow Button to override them. [Bug #620103] 426 427 * combobox.tcl: make -entrybg also control the listbox background. 428 [Bug #519189] (chevreux) 429 430 * tree.tcl (_see): change to always show left edge of requested 431 item. [Patch #556077] (english) [NOTE: also included Patch #621331 432 "Allow delete of selected Tree nodes"] 433 434 * dynhelp.tcl: allow variable and balloon help simultaneously. 435 [Patch #567982] (decoster) 436 437 * BWman/LabelFrame.html: 438 * labelframe.tcl: allow -bitmap -image and -textvariable options 439 of the BWLabel component of a LabelFrame. [Patch #620753] (decoster) 440 441 * widget.tcl (_get_tkwidget_options): withdraw toplevel if it is 442 the TkResource base widget. [Patch #620754] (decoster) 443 444 * tree.tcl (delete): correct tree deletion with selected nodes. 445 [Patch #621331] (decoster) 446 447 * progressbar.tcl (_modify): use updated idletasks instead of 448 update. [Patch #622927] (decoster) 449 4502002-09-25 Jeff Hobbs <jeffh@ActiveState.com> 451 452 * Makefile.in: better DESTDIR/libdir support (steffen) 453 4542002-09-11 Jeff Hobbs <jeffh@ActiveState.com> 455 456 * color.tcl (SelectColor::menu): added tkwait and update to make 457 sure that the grab doesn't fail on Unix. 458 459 * listbox.tcl: corrected multiple selectmode bindings. 460 [Patch #483838, Bug #594853] (decoster) 461 4622002-08-23 Andreas Kupries <andreas_kupries@users.sourceforge.net> 463 464 * tree.tcl: Modified subcommand 'includes' of the method 465 'selection to properly extract its argument. ... Revamped the 466 whole subcommand to properly extract and check its arguments. 467 468 (create) Added Control-Button-1 bindings to allow toggling the 469 selection of a node. I will do no bindings for shift-selecting 470 and/or drag-selecting ranges. To complex for me right now. 471 472 Moved the code executing the -selectcommand callback to an 473 internal procedure, and added calls to that procedure to all 474 subcommands which change the selection. This fixes SF Bwidget 475 Bug #547245. 476 477 * BWman/Tree.html: Documented the 'includes' and 'range' 478 subcommands of the method 'selection' of tree widgets. 479 Documented the node option '-selectable'. Documented that the 480 subcommands extending or setting the selection silently ignore 481 unselectable nodes. Documented new 'toggle' subcommand of method 482 'selection'. Documented option --slectcommand'. Fixed bogus 483 table html in option lists. 484 4852002-06-04 Jeff Hobbs <jeffh@ActiveState.com> 486 487 **** BWIDGET 1.4.1 TAGGED **** 488 489 * README.txt: 490 * configure.in: 491 * pkgIndex.tcl: up'ed version to 1.4.1 492 493 * listbox.tcl: corrected use of 'end' as move index. [Bug #561391] 494 * buttonbox.tcl: 495 * tree.tcl: force frame -padx/-pady to 0 to handle 8.4+ frame 496 padding options. [Bug #545119] 497 498 * scrollframe.tcl: corrected scrollregion configuration on 499 Configure of frame to use full width/height of canvas when the 500 canvas is larger. This ensures that scrolling "anchors" properly 501 to topleft. 502 503 * dialog.tcl: prevent dialog from freezing on Windows with tkwait 504 visibility on withdrawn toplevels. [Patch #521386] (chevreux) 505 506 * font.tcl: reworked loadfont to not sort font names unless 507 requested. [Patch #524353] (kienzle, hobbs) 508 509 * panedw.tcl: corrected handling of weighted panes following a 510 Configure event. [Patch #513320] (decoster) 511 512 * progressbar.tcl: Fixed display of vertical progressbar. 513 [Patch #561403] 514 5152002-05-29 Andreas Kupries <andreas_kupries@users.sourceforge.net> 516 517 * combobox.tcl: Changed relief of popup list to ridge, for Win* 518 platforms. 519 5202002-05-09 Andreas Kupries <andreas_kupries@users.sourceforge.net> 521 522 * dynhelp.tcl: Accepted patch for bug 528929. Reported by 523 <bach@users.sourceforge.net>, patch also by him. 524 5252002-04-25 Andreas Kupries <andreas_kupries@users.sourceforge.net> 526 527 * notebook.tcl: Accepted patch for bug #532246, fixing the 528 appearance of the tabs so that text is always visible 529 completely. 530 5312002-01-26 Pat Thoyts <patthoyts@users.sourceforge.net> 532 533 * utils.tcl: Modified BWidget::place to support multiple screens 534 under Windows. Better support would require Tk modifications. 535 * demo/tree.tcl: Fixed for starting on secondary monitor under 536 windows. 537 * BWMan/BWidget.html: added documentation for BWidget::place. 538 5392002-01-22 Jeff Hobbs <jeffh@ActiveState.com> 540 541 **** BWidget 1.4.0 tagged **** 542 543 * widget.tcl: added Color as an optional type, with _test_color 544 test. [RFE #443124]. 545 5462002-01-15 Jeff Hobbs <jeffh@ActiveState.com> 547 548 * BWman/ComboBox.html: removed reference to label options that 549 were removed when the LabelFrame was dropped. [Bug #477130] 550 551 * listbox.tcl: allowed drop handler to work in empty listbox. 552 [Bug #456883] 553 554 * mainframe.tcl: correct unprotected eval calls. [Patch #501210] 555 (chevreux) 556 5572001-12-28 Jeff Hobbs <jeffh@ActiveState.com> 558 559 * BWman/Dialog.html: 560 * dialog.tcl: Added '-transient' and '-place' flags. 561 [Patch #483838] (decoster) 562 563 * BWman/Tree.html: 564 * tree.tcl: Added a 'recursive' argument to 'Tree::opentree' and 565 'Tree::closetree'. [Patch #483838] (decoster) 566 567 * BWman/ProgressBar.html: 568 * progressbar.tcl: Added new type 'nonincremental_infinite' and 569 modified movement of progressbar when in 'infinite' or 570 'nonincremental_infinite' mode. The 'nonincremental_infinite' can 571 be used when a certain process monitored by a ProgressBar returns 572 a total count and not an increment count. [Patch #483838] (decoster) 573 574 * BWman/PanedWindow.html: 575 * panedw.tcl: Added '-weights' flag with possible value 'extra' or 576 'available'. Since BWidget-1.3.1, the meaning of the '-weight' 577 flag for the 'PanedWindow::add' command was changed. This made it 578 difficult to create a layout where the panes occupy a certain 579 amount of the screen. When using the '-weights extra' flag when 580 creating a PanedWindow widget, the >=1.3.1 behavior is used: the 581 weights for the different panes are only used for extra space. 582 When using the '-weights available' flag, the weights for the 583 different panes are used to set the size of each panes relative to 584 the total available space. [Patch #483838] (decoster) 585 586 * BWman/ListBox.html: 587 * listbox.tcl: Added '-selectmode' flag and 2 possible 588 select-modes: single and multiple. [Patch #483838] (decoster) 589 590 * widget.tcl: Select element 4 (was 3) from the config-options to 591 get value from optiondb. [Patch #483838] (decoster) 592 593 * utils.tcl: added else case to place is called with location 594 different from 'at' and 'center' and without a parent. 595 [Patch #484123] (decoster) 596 597 * mainframe.tcl: added options -menubarfont, -menuentryfont and 598 -statusbarfont at creation time of the widget as well as 599 subsequent configures. [Patch #479935] (chevreux) 600 601 * listbox.tcl: added multipleinsert command to allow faster 602 inserts of multiple items. [Patch #458446] (chevreux) 603 * widget.tcl: added Widget::copyinit. [Patch #458446] (chevreux) 604 605 * BWman/NoteBook.html: 606 * notebook.tcl: added options for enhanced tab shape in notebooks. 607 [Patch #402466] (haneef) 608 609 * configure.in: 610 * pkgIndex.tcl: 611 * README.txt: bumped version to 1.4.0 (not released) 612 613 * mainframe.tcl (_create_menubar): start tagstate initially on. 614 [Patch #470273] (chevreux) 615 (_parse_accelerator): improve F* function key accelerator support. 616 [Patch #444172] (venski) 617 6182001-10-14 Jeff Hobbs <jeffh@ActiveState.com> 619 620 * pagesmgr.tcl: reverted fix of 2001-10-11 - it was bogus. 621 6222001-10-11 Jeff Hobbs <jeffh@ActiveState.com> 623 624 * pagesmgr.tcl: allowed the ability to specify page by name, 625 not just number. 626 6272001-09-11 Andreas Kupries <andreas_kupries@users.sourceforge.net> 628 629 * notebook.tcl: Removed 'Canvas' from the list of bindtags for the 630 internal canvas to prevent interference from application 631 specific bindings with our special widget. [459033]. 632 6332001-09-06 Andreas Kupries <andreas_kupries@users.sourceforge.net> 634 635 * passwddlg.tcl: Accepted change by Bastien Chevreux 636 <bach@users.sourceforge.net> adding a -logineditable option to 637 the password dialog. [436340]. 638 6392001-09-05 Andreas Kupries <andreas_kupries@users.sourceforge.net> 640 641 * panedw.tcl: Added option -activator to allow user to choose sash 642 activator. Reduced minimum allowed sash width. [442474]. Request 643 made by Bastien Chevreux <bach@users.sourceforge.net>. 644 645 * label.tcl: Corrected typo in BWlabel::configure [454505], report 646 and fix by Bastien Chevreux <bach@users.sourceforge.net>. 647 648 * arrow.tcl: Changed containing frame to be more invisible 649 (borderwidth 0). Fixes [458301], by Georgios Petasis 650 <petasis@users.sourceforge.net>. 651 6522001-08-08 Andreas Kupries <andreas_kupries@users.sourceforge.net> 653 654 * tree.tcl (Tree::_keynav): Added code to call the open and close 655 commands when the open-status of a node is toggled with the 656 space bar. Bug [449284]. 657 658 * color.tcl: Added the missing definition of the main 659 'SelectColor' procedure. This prevented users from creating 660 these widgets in the documented way. Bug [449276]. 661 6622001-06-21 eric melski <ericm@ajubasolutions.com> 663 664 * tree.tcl: Corrected keyboard navigation so that open/close 665 commands are invoked when right/left arrows are used to open/close 666 nodes, patch from [Bug #435097]. Also corrected keyboard 667 navigation on right arrow press; previously only opened closed 668 nodes that had children, but should always open nodes, regardless 669 of whether it has children. 670 6712001-06-11 Jeff Hobbs <jeffh@ActiveState.com> 672 673 * pkgIndex.tcl: bumped version to 1.3.1 and added Tk 8.1.1 package 674 require as Tcl 8.1.1 is needed in certain core areas for the new 675 string methods. 676 677 * mainframe.tcl: corrected state interpretation. It doesn't do 678 exact argument matching, but it is consistent with the rest of 679 BWidget. [Bug #224476] 680 681 * demo/demo.tcl: fixed demo script to run when called from 682 another directory 683 684 * messagedlg.tcl: corrected winfo exists call 685 686 * listbox.tcl: fixed string compare call 687 688 * combobox.tcl: added package require Tk 8.3. 689 690 * passwddlg.tcl: 691 * xpm2image.tcl: 692 * mainframe.tcl: 693 * panedw.tcl: 694 * utils.tcl: 695 * entry.tcl: 696 * dynhelp.tcl: 697 * dragsite.tcl: 698 * color.tcl: added braces to expr where appropriate 699 7002000-10-31 Dan Kuchler <kuchler@ajubasolutions.com> 701 702 * combobox.tcl: Added the '-exact' option to the 'lsearch' 703 commands in the combobox code so that the correct index 704 of items will be returned even when there are glob/regexp 705 characters. 706 7072000-10-10 Dan Kuchler <kuchler@ajubasolutions.com> 708 709 * dynhelp.tcl: Added the '-screen' option to the toplevel that 710 is created to display the help text to fix a bug reported by 711 Tupone Alfredo. 712 7132000-10-01 Eric Melski <ericm@ajubasolutions.com> 714 715 * notebook.tcl: Fixed typo in _draw_page that incorrectly placed 716 images on tabs. 717 7182000-09-17 Eric Melski <ericm@ajubasolutions.com> 719 720 * widget.tcl (_test_boolean): Altered to return strictly 0 or 1 721 (for false and true, respectively), rather than allowing the 722 string booleans (false, true, off, on, etc). 723 7242000-09-07 Sven Delmas <sven@scriptics.com> 725 726 * mainframe.tcl: Fixed the typo of Alt (Atl) as reported in bug # 727 6079. 728 7292000-09-05 Eric Melski <ericm@ajubasolutions.com> 730 731 * label.tcl: Corrected bindtags for BWidgets Label components: 732 primary component widget now includes the megawidget pathname in 733 its bindtags list, so that bindings on the megawidget pathname are 734 applied properly. 735 7362000-08-10 Eric Melski <ericm@ajubasolutions.com> 737 738 * widget.tcl: Corrected a problem caused by the destruction of the 739 special .#BWidget* widgets, which are used by BWidgets for some 740 option value validations; formerly, if these were destroyed, it 741 could confuse the BWidgets system's internal state, and creating 742 BWidgets after destroying these helper widgets would throw an error. 743 7442000-06-14 Dan Kuchler <kuchler@scriptics.com> 745 746 * dialog.tcl 747 * dropsite.tcl 748 * dynhelp.tcl 749 * scrollview.tcl: Replaced several catch {unset varname} calls with 750 if {[info exists varname]} {unset varname}. This avoids using the 751 catch, and also prevents the ::errorInfo corruption that was happening 752 in BWidgets. 753 7542000-05-14 Dan Kuchler <kuchler@scriptics.com> 755 756 * tree.tcl: Fixed a typing error in the Tree::find procedure. 757 The procedure wouldn't work because there was a 'llengh' where there 758 should have been a 'llength'. 759 7602000-05-08 Dan Kuchler <kuchler@scriptics.com> 761 762 * titleframe.tcl: Added a '-state' flag that is associated to the 763 state of the label. Now that labels can be disabled (in 8.3 and 764 beyond) this allows for the titleframe to have a disabled appearence. 765 7662000-05-02 Eric Melski <ericm@scriptics.com> 767 768 * tree.tcl: Did some fancy focus footwork [Bug: 4491]. Now you 769 can do this: "Tree .t ; bind .t <Button-1> foo", and it will do 770 the right thing. This will enable the use of proper 771 focus-on-mouse-click bindings for trees, which in turn will fix 772 the focus problem described in 4491. In addition, I added a 773 binding to the canvas widget in the tree that redirects focus when 774 it leaves the canvas and goes to the frame, just in case. 775 776 * dialog.tcl: Added a -geometry option, to allow the specification 777 of geometry for the dialog. No particular care is taken to 778 validate the geometry string, so if it is bogus, you lose. [RFE: 779 5188]. 780 7812000-04-27 Eric Melski <ericm@scriptics.com> 782 783 * entry.tcl: Added smarts to handle Copy for non-editable entries 784 (it should be allowed, but was not previously) [Bug: 3755]. 785 786 * notebook.tcl: Small tweaks for placement of images on tabs. 787 788 * combobox.tcl: Added code to ensure that non-editable (but 789 enabled) comboboxes could still be tabbed in to. 790 7912000-04-26 Dan Kuchler <kuchler@scriptics.com> 792 793 * button.tcl: Fixed the bindings that get setup on buttons with 794 an underline specified to be case insensitive (i.e if 'A' or 'a' 795 was the underline character, Alt-A and Alt-a would both be bound 796 to the button. 797 7982000-03-29 Sven Delmas <sven@scriptics.com> 799 800 * tree.tcl: Added protection for the left arrow key click in case 801 we are already at the root node. This used to throw a Tcl error 802 (fixes bug # 4619). 803 8042000-03-20 Eric Melski <ericm@scriptics.com> 805 806 * progressbar.tcl: (configure) Added test for change to -maximum 807 value, so that bar is redrawn if maximum changes. [Bug: 4399]. 808 809 * BWman/SpinBox.html: Removed references to -label* options. 810 811 * demo/select.tcl: Removed use of -label* options on ComboBox and 812 SpinBox. [Bug: 4394]. 813 8142000-03-14 Eric Melski <ericm@scriptics.com> 815 816 * button.tcl: (configure) replaced several hasChanged calls with 817 one hasChangedX call. 818 819 * dynhelp.tcl: (sethelp) replaced several hasChanged calls with 820 one hasChangedX call. 821 822 * entry.tcl: Replaced stack of hasChanged calls with one 823 hasChangedX (in configure); replaced a couple cget's with 824 getMegawidgetOption's. 825 826 * spinbox.tcl: Updated _test_options to use setMegawidgetOption, 827 and to only do that if it has to, instead of always doing it. 828 829 * tree.tcl: Worked on itemcget; instead of upvar'ing the 830 one-time-use variable, just refer to it directly. 831 832 * widget.tcl: One problem with [set 833 ${class}::${path}:opt($option)] -- if path contains "foo(foo)", 834 the command will choke. Removed that particular 835 micro-optimization. Added setMegawidgetOption to compliment 836 getMegawidgetOption; extended hasChangedX to accept multiple 837 options to check. This allows us to compress stacks of hasChanged 838 calls into a single call (so there's a single function call, and a 839 single upvar...). 840 8412000-03-13 Eric Melski <ericm@scriptics.com> 842 843 * combobox.tcl: Tweaked bg/background options so that button 844 didn't pick up entry background. 845 846 * widget.tcl: Removed dead code; micro-optimizations to initFromODB. 847 848 * tree.tcl: Added option for default -fill of tree nodes on windows. 849 850 * notebook.tcl: Removed commented code. 851 852 * button.tcl: 853 * tree.tcl: 854 * spinbox.tcl: 855 * entry.tcl: 856 * dropsite.tcl: 857 * dragsite.tcl: 858 * arrow.tcl: Replaced selected cget/getoption calls with 859 getMegawidgetOption calls. 860 861 * combobox.tcl: Removed LabelFrame from ComboBox (30% faster). 862 863 * widget.tcl: Added getMegawidgetOption function, which allows 864 direct access to megawidget-specific options (those that do not 865 map to a component widget option). This is dangerous, because it 866 bypasses some checks, and it will only work with options that are 867 specific to the megawidget. However, it is much faster, and 868 enables some functions (like visiblenodes) to be much faster. 869 870 * tree.tcl: Reworked visiblenodes function to do a tree walk to 871 find visible nodes. This is faster and more correct than the 872 previous implementation, which queried all the nodes in the tree 873 for their open bit. 874 875 8762000-03-10 Eric Melski <ericm@scriptics.com> 877 878 * widget.tcl: Replaced an upvar with a direct reference to the 879 variable in initFromODB. 880 881 * dynhelp.tcl: Changed sethelp function to use new hasChangedX 882 function instead of hasChanged, which avoids an unneeded upvar, 883 for a little better speed. 884 885 * button.tcl: Changed to parseArgs/initFromODB format for a small 886 (25%) speedup in creation time. 887 8882000-03-10 Sven Delmas <sven@scriptics.com> 889 890 * tree.tcl: Changed the allnodes procedure to visiblenodes, and 891 also the mechanism of retrieving those nodes. This took care of 892 the previously required update. 893 8942000-03-09 Eric Melski <ericm@scriptics.com> 895 896 * entry.tcl: Added code to re-sync the -text option with the 897 contents of the entry widget before doing configuration; this 898 fixes [Bug: 4304]. 899 9002000-03-09 Sven Delmas <sven@scriptics.com> 901 902 * tree.tcl: Disabled the update before the find withtag in the 903 allnodes procedure. The nodes are apparently created delayed, so 904 before this procedure is called, the program has to do an 905 update. I don't do this in the procedure anymore, because it 906 caused multiple updates, making the app slower. 907 9082000-03-08 Sven Delmas <sven@scriptics.com> 909 910 * tree.tcl: The new allnodes procedure was not handling the 911 "current" tag correctly. This is now stripped of. 912 9132000-03-07 Eric Melski <ericm@scriptics.com> 914 915 * button.tcl: Added check for -state flag, to initialize it properly. 916 917 * entry.tcl: Changed to parseArgs/initFromODB format; added check 918 for -text flag to initialize it properly. 919 920 * labelentry.tcl: Changed to use parseArgs/initFromODB format. 921 9222000-03-03 Eric Melski <ericm@scriptics.com> 923 924 * spinbox.tcl: Added a call in setvalue to scan the current value into 925 a float to trim out any 0 padding on the number (otherwise the zero's 926 make it look like octal to tcl, which chokes on numbers > 8) 927 9282000-03-07 Sven Delmas <sven@scriptics.com> 929 930 * passwddlg.tcl: Reenabled the <Return> binding to activate the ok 931 button. 932 933 * dragsite.tcl: I added an extra protection into the _begin_drag 934 procedure to guard against a motion event that (sometimes) arrives 935 before the press event. This fixes bug # 4324. 936 9372000-03-03 Eric Melski <ericm@scriptics.com> 938 939 * spinbox.tcl: Removed LabelFrame from SpinBox (BACKWARDS 940 INCOMPATIBLE) to speed creation; updated configure proc to use 941 hasChangedX instead of hasChanged, as it didn't really need the 942 values of the options it was checking. 943 9442000-03-01 Eric Melski <ericm@scriptics.com> 945 946 * spinbox.tcl: Changed bindings to be on class SpinBox instead of 947 BwSpinBox, and added class SpinBoxEntry to the bindtags of the 948 SpinBox entry component. 949 950 * configure.in: 951 * pkgIndex.tcl: Bumped version to 1.3.0. 952 953 * tree.tcl: Changed focus redirect to use {after idle} to avoid 954 focus loops. 955 956 * label.tcl: Added -bd 0 -highlight... etc to wrapper frame; moved 957 class bindings to the frame instead of the component label. 958 959 * utils.tcl: Added helper function BWidget::refocus, to handle 960 focus redirection calls. 961 962 * spinbox.tcl: Changed focus redirect to use {after idle} to avoid 963 focus loops. 964 965 * combobox.tcl: Changed init to parseArgs/initFromODB style; 966 changed focus redirect to use {after idle} to avoid focus loops. 967 9682000-02-29 Eric Melski <ericm@scriptics.com> 969 970 * widget.tcl: Added bits to handle 971 $path#subclass_that_inherits_from_other_bw_class megawidget names. 972 973 * passwddlg.tcl: 974 * progressdlg.tcl: 975 * progressbar.tcl: Changed init to parseArgs/initFromODB style. 976 977 * pkgIndex.tcl: Changed Label -> BWLabel 978 979 * messagedlg.tcl: Changed initialization to parseArgs/initFromODB 980 style. Changed to use tk_messageBox on UNIX. 981 982 * labelframe.tcl: Updated to use BWLabel instead of Label. 983 984 * labelentry.tcl: Added -class LabelEntry to widget. 985 986 * label.tcl: Changed class name to BWLabel (to avoid option db 987 clashes with tk labels), changed initialization to 988 parseArgs/initFromODB style. 989 990 * init.tcl: dropped obsolete Tree option from init. 991 992 * dialog.tcl: changed initialization to parseArgs/initFromODB style. 993 994 * notebook.tcl: Added -bd 0 -highlightthickness 0 -relief flat to 995 the notebook container frame so geometries are correct. 996 997 * entry.tcl: Fixed a conflict with configuring the Entry -text and 998 textvariables. 999 1000 * dialog.tcl: added a -class option to the dialog, to allow the 1001 class of the dialog to be set (this enables proper optiondb use 1002 for things like the PasswdDlg). 1003 10042000-02-28 Eric Melski <ericm@scriptics.com> 1005 1006 * widget.tcl: Added Widget::varForOption function, which returns a 1007 variable name that can be used to trace changes to an option for a 1008 particular megawidget (such as the -values option of a combobox). 1009 1010 * entry.tcl: Made cget -text a little more efficient by 1011 shortcircuiting in that case. 1012 1013 * combobox.tcl: Fixed bug #4248 by making the listbox use a 1014 -listvariable instead of trying to micromanage the listbox contents. 1015 1016 * tests/entry.test: tests for the Entry widget. 1017 1018 * widget.tcl: minor code cleanup. 1019 1020 * tree.tcl: Was not getting proper default bg color on Windows, 1021 and keyboard navigation was goofy because of internal structure 1022 changes. 1023 1024 * entry.tcl: Fixed an issue with initial foreground color not 1025 being picked up correctly. 1026 10272000-02-28 Sven Delmas <sven@scriptics.com> 1028 1029 * tree.tcl: Added a procedure called "allnodes" to retrieve the 1030 names of all currently defined treenodes. Apparently the internal 1031 widget structure of tree was changed recently. I adjusted the 1032 "allnodes" procedure to that. 1033 10342000-02-25 Eric Melski <ericm@scriptics.com> 1035 1036 * combobox.tcl: Fixed a problem with non-editable comboboxes and 1037 selecting values. 1038 1039 * arrow.tcl: 1040 Fixed a problem with the invoke method (doing one too many winfo 1041 parents in some cases) 1042 1043 * button.tcl: 1044 * buttonbox.tcl: 1045 * combobox.tcl: 1046 * dialog.tcl: 1047 * dynhelp.tcl: 1048 * entry.tcl: (also fixed validation) 1049 * label.tcl: 1050 * labelframe.tcl: 1051 * listbox.tcl: 1052 * mainframe.tcl: 1053 * notebook.tcl: 1054 * pagesmgr.tcl: 1055 * panedw.tcl: 1056 * progressbar.tcl: 1057 * scrollview.tcl: 1058 * scrollw.tcl: 1059 * separator.tcl: 1060 * spinbox.tcl: 1061 * titleframe.tcl: 1062 * tree.tcl: Updated to new megawidget architecture. 1063 1064 * widget.tcl: Changed internal architecture. When possible, 1065 megawidget options are stored in component widgets instead of in 1066 an intermediary array. Also, made use of option database to make 1067 megawidget creation more efficient. 1068 10692000-02-24 Eric Melski <ericm@scriptics.com> 1070 1071 * LICENSE.txt: Removed LGPL license; added Tcl-license terms. 1072 10732000-02-23 Eric Melski <ericm@scriptics.com> 1074 1075 * widget.tcl: Replaced _test_boolean function with a more efficient 1076 implementation. 1077 10782000-02-18 Eric Melski <ericm@scriptics.com> 1079 1080 * images/target.xbm: Placeholder for actual icon. 1081 1082 * color.tcl: Change env(BWIDGET_LIBRARY) to ::BWIDGET::LIBRARY; 1083 changed proc "dialogue" to "dialog" 1084 1085 * pkgIndex.tcl: Updated function spec for color.tcl. 1086 1087 * widget.tcl: Various minor speed tweaks; added a reverse mapping 1088 from component widget options -> mega-widget options so that 1089 subcget can be faster. 1090 1091 * entry.tcl: 1092 * dropsite.tcl: 1093 * dragsite.tcl: 1094 * arrow.tcl: Tcl list'd the specs for Widget::declare calls. 1095 1096 * combobox.tcl: Removed extraneous ListBox::use call. 1097 1098 10992000-02-17 Eric Melski <ericm@scriptics.com> 1100 1101 * notebook.tcl: Added an extra check to move the leftmost tab a 1102 touch to the right when it is not selected (again, to make the 1103 tabs more Windows-like). Also replaced redundant [string equal] 1104 checks with a stored pre-check (ie, set foo [string equal ...]). 1105 11062000-02-16 Eric Melski <ericm@scriptics.com> 1107 1108 * notebook.tcl: Changed appearance of tabs; leftmost tab is now 1109 flush with the left of the notebook, and the tabs look more 1110 Windows-like. 1111 11122000-02-16 Sven Delmas <sven@scriptics.com> 1113 1114 * dialog.tcl: Added a new parameter to the draw procedure that 1115 allows me to pass in the desired geometry for the window. This was 1116 needed to support tracking of dialog window geometries. 1117 1118 * tree.tcl: Changed the <KeyPress-space> binding to use "+", so it 1119 will not overwrite existing bindings (if there are any). Also 1120 added some extra protection in the keynav procedure against the 1121 user typing <Left> on a root node (this used to cause a stack 1122 trace). 1123 11242000-02-11 Eric Melski <ericm@scriptics.com> 1125 1126 * tree.tcl: Integrated changes from Eric Boudaillier: 1127 [itemconfigure -open ...] 1128 optimized to only call redraw_idle 3 if node has subnodes. 1129 _cross_event: 1130 itemconfigure -open called before -opencmd/closecmd; no more 1131 call to _redraw_idle (handled by other procedures) 1132 _over_cmd: 1133 allow position {root 0} when tree is empty 1134 new [find] command: 1135 [find @x,y ?confine?] 1136 if confine is "confine" returns the node at window 1137 coordinate x,y (x,y must be inside the bbox of the 1138 node) else returns the node found on the line (in 1139 pixel) pixel y 1140 [find line] 1141 returns the node on the line $line (in -deltay coords) 1142 new [line] command: 1143 [line node] 1144 returns the line where node is drawn 1145 -selectfill option added: 1146 if true, selection is draw on full width of tree (instead of 1147 just highlighting the bbox of the selected nodes) 1148 1149 * combobox.tcl: Integrated changes from Eric Boudaillier: 1150 internal widget restructuring. 1151 1152 * tree.tcl: Added "range" subcommand to selection. Given two 1153 nodes, node1 and node2, it will set the selection to the visible 1154 nodes between (and including) node1 and node2. If node1 or node2 1155 is not visible, it will find the first visible ancestor of the 1156 node and use that as the start/end point instead. 1157 1158 * listbox.tcl: Integrated changes from Eric Boudaillier: 1159 _over_cmd: allow position 0 when listbox is empty 1160 find command, similar to tree find command. 1161 1162 * spinbox.tcl: Integrated changes from Eric Boudaillier: 1163 cosmetic changes. 1164 1165 * color.tcl: Integrated changes from Eric Boudaillier: 1166 split widget into two commands: SelectColor::menu and 1167 SelectColor::dialog. 1168 1169 * progressbar.tcl: Integrated changes from Eric Boudaillier: 1170 added -idle option to prevent call to update in case where task is 1171 done in idle (ie, fileevents) 1172 1173 * scrollview.tcl: Integrated changes from Eric Boudaillier: 1174 bindings changed. 1175 1176 * scrollw.tcl: Integrated changes from Eric Boudaillier: 1177 -managed option: if true, scrollbar are managed during creation, 1178 so their size are included in the requested size of the 1179 ScrolledWindow. If false, they are not. 1180 -sides option: specifies the side of the scrollbar. 1181 -size option: specifies size of scrollbar. 1182 -ipad option: specifies pad between scrollbar and scrolled widget. 1183 1184 * mainframe.tcl: Integrated changes from Eric Boudaillier: support 1185 for function keys in accelerators, support for no modifier in 1186 accelerators. 1187 1188 * notebook.tcl: Integrated changes from Eric Boudaillier: 1189 -internalborderwidth (-ibd) option specifies pad around pages; 1190 -foreground, -background, -activeforeground, -activebackground, 1191 -disabledforeground options for each tab. 1192 Code cleanup. 1193 11941999-12-23 Sven Delmas <sven@scriptics.com> 1195 1196 * scrollw.tcl: Added "update idletask" to scrollbar update to 1197 prevent loss of update events. 1198 11991999-12-14 Sven Delmas <sven@scriptics.com> 1200 1201 * combobox.tcl: When the selected item is changed, the selection 1202 is now set to the entire string. 1203 12041999-12-13 Eric Melski <ericm@scriptics.com> 1205 1206 * buttonbox.tcl: Added a getbuttonstate function, which retrieves 1207 the value of a tag used on a button in the buttonbox. 1208 12091999-12-08 Eric Melski <ericm@scriptics.com> 1210 1211 * combobox.tcl: Removed code that cleared entry selection on focus out 1212 events, as this crippled exportselection. 1213 12141999-10-29 Eric Melski <ericm@scriptics.com> 1215 1216 * buttonbox.tcl: Added a gettags function, which allows the user 1217 to query the tags that are used on buttons in the buttonbox. 1218 12191999-10-29 Eric Melski <ericm@scriptics.com> 1220 1221 * font.tcl: Added one new flag: -querysystem. This lets the user 1222 control whether the font selector queries the system 1223 (via font families) for the list of fonts, or if it uses a preset 1224 list of fonts (which is much faster and less likely to crash some 1225 systems). 1226 12271999-10-25 Eric Melski <ericm@scriptics.com> 1228 1229 * font.tcl: Added support for two new flags: -families and -styles; 1230 -families allows you to specify one of all, fixed, or variable, to 1231 limit the choice of fonts to those fonts; -styles allows you to 1232 specify a list of styles that can be set with the widget (ie, 1233 bold, italic, etc). 1234 12351999-10-22 Eric Melski <ericm@scriptics.com> 1236 1237 * tree.tcl: Fixed some problems with keyboard traversal. Added 1238 support for left/right arrows a la MS Explorer. 1239 Added support for keyboard-based scrolling. 1240 12411999-10-21 Sven Delmas <sven@scriptics.com> 1242 1243 * combobox.tcl: Added support for keyboard traversal. The widget 1244 will now tab in even when it is not editable. Also the entry 1245 widget content will be selected when the user tabs in. The key 1246 bindings now allow a traversal of the list (<Down> brings up the 1247 list). The arrow button no longer switches to an up button, but 1248 instead changes relief. The button is now more Windows NT like 1249 (for Windows NT). Changed keyboard bindings: down/up now 1250 display/hide the listbox; control-{up|down|prev|next} move through 1251 the options without displaying the listbox. 1252 12531999-10-21 Eric Melski <ericm@scriptics.com> 1254 1255 * tree.tcl: Added a -selectable option to tree nodes, which 1256 controls whether or not a given node is selectable (duh). This 1257 works with the new -selectcommand option for the tree, and with 1258 keyboard traversal (also new). Now, whenever the tree gets a 1259 "selection set", it calls the given -selectcommand with the name 1260 of the tree and the list of selected nodes, which makes it easier 1261 to just drop in place and use. 1262 12631999-10-15 Eric Melski <ericm@scriptics.com> 1264 1265 * panedw.tcl: Added a -class PanedWindow option to the main frame 1266 (the megawidget) of the paned window. 1267 12681999-10-15 Eric Melski <ericm@scriptics.com> 1269 1270 * dialog.tcl: Added an overrideredirect option to Dialog::draw, which 1271 allows the user to control the overrideredirect state of the dialog. 1272 12731999-09-19 Eric Melski <ericm@scriptics.com> 1274 1275 * mainframe.tcl: Fixed _destroy to unset ALL state variables, so that 1276 when a new MainFrame of the same name as an old one is created, it 1277 doesn't pick up residual state from the old one. 1278 12791999-09-17 Eric Melski <ericm@scriptics.com 1280 1281 * mainframe.tcl: Modified menu creation/setmenustate functions to 1282 support a new model of menustate. Instead of enabling/disabling a 1283 menu item whenever any one of its tags changes state, now it only 1284 enables menu items if all of its tags are set. This makes it 1285 really easy to, say, only enable the "New Action" entry if both a 1286 project is open and an element is selected. 1287 1288 * buttonbox.tcl: Added tagging mechanism to buttonbox. When using 1289 $bbox add, the first parameter is a list of tags for the button. Then 1290 use $bbox setbuttonstate to change the state of a tag. 1291 12921999-09-16 Eric Melski <ericm@scriptics.com> 1293 1294 * notebook.tcl: Added some (non-functional) code for doing 1295 tab-notebooks with the tabs on the bottom. 1296 1297