Bwidget Source Code
Timeline
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

117 check-ins using file BWman/ScrolledWindow.html version b6c3438071

2009-06-26
15:22
* notebook.tcl (NoteBook::delete) Deleted also state variables [Bug 1445219] reported by Eric Kemp-Benedict check-in: 886bbcdfee user: oehhar tags: trunk
14:46
* listbox.tcl (ListBox::create et al) new feature: listbox option -listbox now read/write [Bug 1501874] reported by Stephen Huntley

* dynhelp.tcl (DynamicHelp::_show_help) fixed issue (as far as possible): Dynamic help baloon was on the main screen, if it touched the border on a windows multi screen configuration. The fix assumes, that all screens have same dimensions and no gaps in- between. This is necessary, because multi-screen configuration paramters may not be interrogated by tk (despite of coordinates out of the screen) [Bug 1499135] reported by Gregor check-in: 8860bd1e23 user: oehhar tags: trunk

2009-06-25
16:48
* combobox.tcl (ComboBox::getvalue et al) fixed bug: getvalue returned first apearence of current data instead of clicked index, which may not be the same if values is not unique. Additional variable _index(path) added to hold click index [Bug 1610965] reported by Martin Lemburg check-in: a758127e75 user: oehhar tags: trunk
2009-06-24
12:14
* buttonbox.tcl (ButtonBox::_redraw) Bug: homogeneous button width not honored if button size changes after creation. -uniform gridding option is used if tcl version >= 8.3. [Patch 2807147] by Koen Danckaert check-in: 1d83dc340a user: oehhar tags: trunk
12:13
* scrollframe.tcl (ScrollableFrame::create, ScrollableFrame::_resize, ScrollableFrame::_frameConfigure) fixed two issues: - Scrollbar activated even if not necessary Fix: update scrolling reagion on configure event of the frame - Disfunction if the frame got to small to be on the current view Fix: update scrolling reagion on map or unmap events [Patch 2807227] by Koen Danckaert

* buttonbox.tcl (ButtonBox::_redraw) Bug: homogeneous button width not honored if button size changes after creation. -uniform gridding option is used if tcl version >= 8.3. [Patch 2807147] by Koen Danckaert check-in: 0cb363e7c2 user: oehhar tags: trunk

2009-06-16
15:43
* combobox.tcl (ComboBox::_create_popup) In dropdown list, a vertical scrollbar was always shown if horizantal is used. ScrolledWindow is now called with "-managed 1". [Patch 2807160] by Koen Danckaert check-in: f7a5fea0a1 user: oehhar tags: trunk
2009-06-12
15:31
* combobox.tcl removed \ before empty line (potential trap) [Bug 2804961] Andreas Kupries * dialog.html Documented -geometry option. [Bug 1634416] Erik Leunissen check-in: 6f5cfcae9e user: oehhar tags: trunk
2009-06-11
15:58
Feature request 2797153: add norwegian message file check-in: bea9b5ec34 user: oehhar tags: trunk
15:42
Bug 1642050 fixed, Patch 981545 docommented check-in: 5793cffffd user: oehhar tags: trunk
2009-06-10
16:21
Documented option -buttonwidth of Dialog (Bug 1668587) check-in: 18e2681d6e user: oehhar tags: trunk
08:48
Bwidget commited patches for bugs 2762361, 2340320, 1752755 check-in: 66d9e2414f user: oehhar tags: trunk
2009-02-19
19:24
note internal use of \1..\5 for node names check-in: ebc691aac7 user: hobbs tags: trunk
2008-10-31
00:49
* tree.tcl (Tree::_node_name_rev): Return node names as they are input, and properly handle :: in node names. This changes internal node name reps, but should be transparent to the user, except for the result of [insert].
check-in: 258d381702 user: hobbs tags: trunk, tcllib-1-11-1, tklib-0-5
2008-05-26
07:06
* tree.tcl (Tree::_redraw_selection): do not allow empty * listbox.tcl (ListBox::_redraw_selection): fill color as that creates a transparent item that doesn't return a bbox. This showed up on OS X/Aqua, where the listbox selectforeground defaults to empty. [AS Bug 77186 74923]
check-in: 9080f32145 user: hobbs tags: trunk, tcllib-1-11
2007-10-31
19:02
* lang/nl.rc (new): Dutch translation [Bug 1804469]
check-in: 1816e8c8a8 user: hobbs tags: trunk
19:00
* lang/hu.rc (new): Hungarian translation [Bug 1821842]
check-in: 213df2ab07 user: hobbs tags: trunk
18:54
* tree.tcl (Tree::insert): do node_name on parent arg [Bug 1046955]
check-in: ba001ed071 user: hobbs tags: trunk
18:13
* listbox.tcl: speed up ListBox insertion significantly. [Bug 1472443]
check-in: c8a2a977dd user: hobbs tags: trunk
2007-05-11
17:55
* widget.tcl (Widget::theme): make sure Tk 8.5a6 is recognized as having the themed widgets
check-in: 9654878933 user: hobbs tags: trunk
2006-12-21
00:00
* util.tcl: fixed BWidget::write for widgets that require DynamicHelp. [bug 1518803]
check-in: 4297c8b06f user: dev_null42a tags: trunk
2006-12-05
20:43
* demo/demo.tcl (Demo::main): Removed the 'inscope' qualifier from the 'package require Bwidget'. The package system already forces loading and sourcing of package code in the global namespace, so this is bogus. check-in: 48c4b5eef4 user: andreas_kupries tags: trunk
2006-11-13
14:43
* panedw.tcl: if activator is set to line then its width is set to
  1. --activator was an undocumented option; updated man page to make it documented. Thanks to Jos Decoster for pointing this out.
check-in: b7fce4f498 user: dev_null42a tags: trunk
2006-11-10
22:45
* widget.tcl: remove relative namespace resolution of variables, in anticipation of TIP 278. Widget should have been doing this anyways. [bug 1579744]
check-in: a5e0422c98 user: dev_null42a tags: trunk
21:55
* DragSite.html: noted that -draginitcmd can return an empty string to prevent a drag [bug 740499]
* DropSite.html: fixed documentation with DropSite::register command [bug 740474]
* combobox.tcl: allow autocomplete and autopost be enabled/disabled after the widget was created [bug 1588808]; fixed keysym in autopost binding [bug 1589111]
check-in: 4f8bff39bf user: dev_null42a tags: trunk
20:39
* tree.tcl: fixed error with drag & drop's autoscroll [bug 1408494]
* listbox.tcl: fixed error with drag & drop's autoscroll; fixed error when dropping at the end of the list
check-in: 0893707ee0 user: dev_null42a tags: trunk
19:58
Added dynamic help to text tags (man page updated); fixed resize bug with scrollframes. Thanks to Jos Decoster for these patches. check-in: 7df2e13fad user: dev_null42a tags: trunk
2006-10-20
17:40
* utils.tcl (BWidget::bindMouseWheel): do not make special mousewheel bindings if global ones exist (like from style::as)
check-in: 66c0273ecc user: hobbs tags: trunk
2006-09-28
22:31
* removed Makefile.in
* font.tcl: correctly handle code path when user cancels dialog
* passwd.tcl: fixed Dialog::enddialog error; fixed ordering error
check-in: fc94efbefb user: dev_null42a tags: trunk, bwidget-1_8_0
22:07
**** BWIDGET 1.8.0 TAGGED ****
* pkgIndex.tcl, README.txt: updated to BWidget 1.8
* removed configure.in and aclocal.m4
check-in: 90899ff10e user: dev_null42a tags: trunk
15:46
* messagedlg.tcl: explicitly marked the 'Abort' button upon -type abortretryignore to be the default button [bug 970199]
* Tree.html: documented [find] and [line] commands [bug 626819]; noted bug with %W binding [bug 1224203]
* tree.tcl: added [bindArea] procedure; updated man page [patch 839066]
* combobox.tcl: added [clearvalue] proc to explicitly clear a ComboBox value, updated man page [patch 780704]
check-in: 59aa07734c user: dev_null42a tags: trunk
2006-09-27
03:26
* passwd.tcl: don't ignore -labelwidth when calculating label widths; return key moves through subwidgets like most login managers [patch 922877, with slight change]
* font.tcl: add options to select font color and to disable font sizes; updated man pages [patch 1531199]
* font.tcl: using arrow keys to browse font family / font size will cause an update to the shown sample font [patch 947109]
check-in: 11ef7eeb82 user: dev_null42a tags: trunk
02:24
2006-09-26 J. Tang <[email protected]>
* demo/basic.tcl: fixed Entry's enter command callback [bug 1400838]
check-in: ed01ae7ad2 user: dev_null42a tags: trunk
2006-08-21
20:54
2006-08-21 J. Tang <[email protected]>
* combobox.tcl: unpost after autoposting when another Tk window gets the focus; unpost upon hitting the enter key
* scrollw.tcl: allow toggling of scrollbars [bug 1488712]
* Tree.html: corrected documentation for Tree::opencmd (callback does not append the path to the tree to the command) [bug 1507713]
* tree.tcl: disable keyboard navigation for empty trees [bug 1514855]
* tree.tcl: changed '-drawcross allways' to be '-drawcross always'; updated documentation
check-in: ce134fbc79 user: dev_null42a tags: trunk
2006-06-29
08:19
* statusbar.tcl (StatusBar::remove): remove neighboring separator when removing the first item. [Bug 1512671]
check-in: a83783af3e user: hobbs tags: trunk
2006-03-24
22:19
* pkgIndex.tcl: removed bogus "ControlFrame" entry [bug 1429405]

* MainFrame man page: fixed some typos on man page

* mainframe.tcl: fixed status bar placement when it is re-shown after a [showstatusbar none] command [bug 1027568] check-in: 2bf0fd3b5e user: dev_null42a tags: trunk

2006-03-23
23:32
dynhelp.tcl: if a widget's help balloon is being displayed when that widget is destroyed, also destroy the associated balloon [bug 1448424] listbox.tcl: when deleting an item from the ListBox that has dynamic help text, also remove its entry from the help array [bug 1443461] check-in: 02f30c0d81 user: dev_null42a tags: trunk
2006-02-10
22:54
Fixed a number of bugs with ProgressBar [bugs 1145523, 900165]. Clarified documentation for ProgressDlg [bug 1105778]. check-in: eb1cf3b0d1 user: dev_null42a tags: trunk
22:03
PagesManager man page: clarified add and default behaviors. Bug 1305988. check-in: 86a4936467 user: dev_null42a tags: trunk
2006-02-08
16:47
Clarified dynamic help -variable option. Allow uppercase chars in ComboBox _auto_complete (bug 996569). Added -autopost option to ComboBox, updated man page (patch 1359041). check-in: b1e63f1c04 user: dev_null42a tags: trunk
2006-01-25
17:31
Fixed ButtonBox -homogeneous calculation. Bug 1362899. check-in: c67e97e9fd user: dev_null42a tags: trunk
2005-11-02
00:09
* color.tcl (SelectColor::menu): use native dialog for palette menu item where possible (and Widget::theme is used).
check-in: 2947648353 user: hobbs tags: trunk
2005-10-31
22:18
correct Widget::theme typos check-in: b0f752e988 user: hobbs tags: trunk
2005-10-12
18:59
* mainframe.tcl (MainFrame::configure): need to ignore -bg change check when themed.
check-in: 0aebde9a43 user: hobbs tags: trunk
2005-09-28
22:19
* mainframe.tcl (MainFrame::_create_menubar): ignore -bg -bd opts when themed
check-in: 5c5f8e8620 user: hobbs tags: trunk, tcllib-1-8
2005-09-23
00:41
* font.tcl (SelectFont::_getfont): fix tile compat to still set data(family) and data(size) in any case.
check-in: 260fc87e5a user: hobbs tags: trunk
2005-09-19
22:16
remove tile compat options that are not valid check-in: 043732a0f6 user: hobbs tags: trunk
20:22
correct $top reference check-in: 997c0241bd user: hobbs tags: trunk
20:21
remove tile compat options that are not valid check-in: 67a217345b user: hobbs tags: trunk
2005-08-23
23:37
extend ttk theme awareness to subframes/separators check-in: e1a534c672 user: hobbs tags: trunk
2005-08-11
02:35
* mainframe.tcl (MainFrame::create): make ttk theme aware
check-in: ed85ac41c6 user: hobbs tags: trunk
2005-07-28
00:40
* statusbar.tcl: if themed, use ttk::separator * scrollframe.tcl: if themed, use ttk::frame * font.tcl: if themed, use ttk::comboboxes and ttk::checkbuttons * widget.tcl: encapsulate all .#BWidget* hidden widgets into a single frame .#BWidget to clean up main '.' childspace. Add 'Widget::theme ?boolean?' that, if enabled, has BWidgets try to use some ttk themed widgets (*very* incomplete).
check-in: 705ef12dfd user: hobbs tags: trunk
00:40
* init.tcl (Widget::_opt_defaults): make a proc for opt defaults, recognize aqua as a platform
check-in: 61539f2d49 user: hobbs tags: trunk
2005-02-25
19:13
* lang/da.rc (new): Danish language file [Bug 1151534] (elhaard)
check-in: 763c951300 user: hobbs tags: trunk
2005-01-26
01:01
* notebook.tcl: reverted lester patch - too many bugs related to deleting and reinsertion of tabs.
check-in: 963586c4d1 user: hobbs tags: trunk
2004-12-01
19:33
revert version bump for notebook change - it was not a feature change check-in: e3083575d5 user: hobbs tags: trunk
19:33
add notebook changes to ChangeLog check-in: 48f4720e0b user: hobbs tags: trunk
14:34
Changed version number due to changes in Notebook.tcl check-in: a8cf1bf7c7 user: gwlester tags: trunk
14:34
Performance improvements to Notebook when using ss or raise methods (among others) with large number of tabs check-in: 29d4218997 user: gwlester tags: trunk
2004-10-09
00:18
See file. check-in: de63bb608c user: pointsman tags: trunk
00:18
(MainFrame::_parse_accelerator) made accelerator Ctrl-f in -menu definitions work. [Bug 1043107] check-in: 9d1e2a998f user: pointsman tags: trunk
2004-09-24
23:57
* color.tcl: use toplevel instead of menu for dropdown color menu and do better focus/grab restoration.
check-in: 14bda5baef user: hobbs tags: trunk
23:57
* utils.tcl (BWidget::RestoreFocusGrab,SetFocusGrab): add BWidget equivalents of what Tk uses for better stacked grab/focus mgmt.
check-in: 14c5fc9fdf user: hobbs tags: trunk
23:56
* dialog.tcl (Dialog::create): withdraw topleve immediately after creation.
check-in: 5d8a4f1473 user: hobbs tags: trunk
2004-09-14
23:44
* widget.tcl (Widget::focusPrev): hack to avoid focus into direct parent when it is a megawidget. [Bug 765667]
check-in: 768f73f6fc user: hobbs tags: trunk
23:43
* listbox.tcl: add FocusIn redirector to %W.c, add explicit -takefocus 0 to the frame parent.
check-in: 129bfac202 user: hobbs tags: trunk
23:41
add F12 console show binding check-in: 058837ecb1 user: hobbs tags: trunk
20:46
* notebook.tcl (NoteBook::_draw_page): adjust height for bottom drawn tabs. [Bug 988628]
check-in: 66ffaac3fe user: hobbs tags: trunk
2004-09-09
22:17
* panelframe.tcl (new): new PanelFrame widget which creates a * pkgIndex.tcl: frame with boxed title area that accepts * Makefile.in: additional widgets. * BWman/contents.html: * BWman/navtree.html: * BWman/PanelFrame.html (new):
check-in: 57cc13b104 user: hobbs tags: trunk
22:17
* xpm2image.tcl (xpm-to-image): correctly recognize None with -nocase
check-in: ff086d3619 user: hobbs tags: trunk
22:16
* statusbar.tcl: improve init to use bwidget's automated arg passing for subwidgets. Simplify delete subcommand to call remove.
check-in: 4552f26ab4 user: hobbs tags: trunk
2004-09-03
04:34
change dialogs to anchor buttons e check-in: effdf3d3d9 user: hobbs tags: trunk
04:34
default button width to -11 on Win8.4, 8 otherwise check-in: 633b5f9916 user: hobbs tags: trunk
04:33
code safety fixes check-in: 77d2799e69 user: hobbs tags: trunk
01:05
* statusbar.tcl: better -bg handling (configure too), and tighten up spacing on resize control to place it flush bottom right
check-in: 7132855567 user: hobbs tags: trunk
2004-09-02
01:24
* statusbar.tcl: add -showseparator optional horizontal separator.
check-in: d3c0f94106 user: hobbs tags: trunk
2004-08-31
17:05
* statusbar.tcl: correct name of image for use on unix. Try to use of PNG image at each create (it just looks better).
check-in: 542767d9a0 user: hobbs tags: trunk
2004-08-26
19:45
* tree.tcl (Tree::delete): call -selectcommand if we delete something that was selected.
check-in: c002e37252 user: hobbs tags: trunk
01:12
* statusbar.tcl: correct use of PNG vs. GIF image. Don't abort creation of statusbar when gridded - just don't try to resize. Correct example to use label -width 1
check-in: a256d9e77b user: hobbs tags: trunk
2004-08-21
01:02
* statusbar.tcl (new): Addition of a statusbar container widget * pkgIndex.tcl: with resize control * Makefile.in: * BWman/contents.html: * BWman/navtree.html: * BWman/StatusBar.html (new):
check-in: 9864f36163 user: hobbs tags: trunk
2004-05-12
21:10
* font.tcl (SelectFont::create): don't hardcode -bd 2 when creating the style selectbuttons.
check-in: f0153b81c4 user: hobbs tags: trunk
21:09
(_show_help): account for OS X help style check-in: b5f6f82b56 user: hobbs tags: trunk
2004-05-04
15:57
* listbox.tcl (_keyboard_navigation): make sure you can see the item that you key navigate to. (aas)
check-in: 06e4ff58b0 user: hobbs tags: trunk
2004-04-26
18:42
* tree.tcl (_update_nodes): align with _draw_nodes code, specifically correcting placement of cross on new nodes and anchor of changed window/image.
check-in: add122cb8e user: hobbs tags: trunk
2004-04-23
17:54
* listbox.tcl (create): don't force -highlightthickness 1 as it prevents the user changing it on creation. (_draw_item): pass more cached info from _redraw_items for speed. (_redraw_selection): correct drawing of selfill for items that extend beyond the width of the window.
check-in: a9181d9407 user: hobbs tags: trunk
2004-04-22
22:50
(create): Insert $path into the canvas bindings, so that anyone binding directly onto the widget will see their bindings activated when the canvas has focus. Add slightly modified up/down bindings to the canvas, in case it gets the focus (like with -autofocus).
check-in: 9a3b6fef63 user: hobbs tags: trunk
21:29
* listbox.tcl: correct eval/after/lists usage. (_redraw_listbox): call _update_select_fill on redraw, otherwise the insert of items causes wonkiness. (_redraw_items): call update idle after changing cursor.
check-in: 2cb484bc9e user: hobbs tags: trunk
21:29
* tree.tcl (edit): correct inversion of verifycmd emptiness test.
check-in: 9207f0321a user: hobbs tags: trunk
2004-04-21
22:26
* tree.tcl (_draw_subnodes): Adjust the drawing of the line to the first root node to start at the vertical point (not go up).
* entry.tcl, arrow.tcl, combobox.tcl: better space/list handling
* entry.tcl: make the icursor not appear for non-editable and/or state disabled comboboxes.
check-in: 1db0c901a1 user: hobbs tags: trunk
2004-03-09
02:56
(bugfix) Use <<PrevWindow>> virtual event instead of <Shift-Tab> event for back-tab binding. check-in: f89f41ed20 user: jenglish tags: trunk
2004-02-07
23:01
* progressbar.tcl (ProgressBar::_modify): convert rect coords to ints to prevent left-over lines that are likely due to a bug in core Tk related to fractional coord refresh.
check-in: 24ec7f5b1d user: hobbs tags: trunk
2004-02-04
00:11
* mainframe.tcl (MainFrame::_create_menubar): set the bg for menus only on unix (otherwise disturbs menu native L&F) Correct some eval/list issues.
* BWman/MainFrame.html: * mainframe.tcl (MainFrame::_create_entries): correct 'cascade' spelling, but support old 'cascad' as well.
check-in: f039451eac user: hobbs tags: trunk
00:11
* scrollw.tcl (ScrolledWindow::create): correctly set -relief and -bd at creation time. [Bug #873666]
check-in: e1af40104b user: hobbs tags: trunk
00:07
* init.tcl: don't modify *Listbox.background and *Button.padY options - leave core widgets alone.
check-in: 9e3c8ad8ac user: hobbs tags: trunk
2004-01-28
16:51
*** empty log message *** check-in: 3a20747917 user: rmax tags: trunk
16:51
* configure.in: bumped to v1.7. This should have happened before releasing 1.7.0. check-in: 77d769d7fb user: rmax tags: trunk
16:51
* Makefile.in: fixed support for DESTDIR. check-in: d3f9a6b27c user: rmax tags: trunk
2004-01-06
07:22
* init.tcl: Added a binding to the Tk spinbox to handle traversal as loading BWidgets seems to screw up the default handling for Tk. [Bug #867604]

* utils.tcl: Fixed a bug that would cause some geometry calculations in BWidget::place to behave incorrectly. This would occasionally make it appear as though a drawn dialog would freeze the application. [Bug #868315] check-in: cd1f34685b user: damonc tags: trunk

2003-12-18
19:11
Synthetic commit. Leaf check-in: 8dc164d14e user: cvs2fossil tags: bwidget-1-7-0-synthetic, bwidget-1-7-0
19:11
Corrected date. check-in: 100ba912c6 user: techentin tags: trunk
19:02
Corrected date typo. check-in: 7f9167142b user: techentin tags: trunk
18:32
Changed revision to 1.7.0. Note that 1.7.0 does not include 2003-11-26 mod to notebook.tcl. check-in: a089c45cf0 user: techentin tags: trunk
2003-11-26
18:42
* notebook.tcl (NoteBook::bindtabs): correct tab name returned. (groth)
check-in: 1e50948b19 user: hobbs tags: trunk
2003-11-17
20:15
* entry.tcl (Entry::create): add missing line continuation. [Patch #843932] (oehlmann)
check-in: 1ae860099d user: hobbs tags: trunk
2003-11-11
00:27
* entry.tcl: Use a button widget for -disabled options if we're using 8.3 [Bug 839469] check-in: acfeb04bbd user: damonc tags: trunk
2003-11-06
05:49
* combobox.tcl: Fixed dropdown listbox selection for standard Tk listbox [Bug 831496]. check-in: ffa1a67fb4 user: damonc tags: trunk
2003-11-05
18:04
* scrollview.tcl (ScrollView::_set_view): correct :canvas to renamed :cmd.
check-in: ff2222a190 user: hobbs tags: trunk
2003-10-30
17:43
* scrollw.tcl (ScrolledWindow::setwidget): check that the old widget associated still exists before unconfiguring it. [Bug #833034]
check-in: 5917bc5c04 user: hobbs tags: trunk
2003-10-28
05:03
* 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. check-in: ccc0a40c43 user: damonc tags: trunk

02:36
Fix markup errors [Bug #740484] check-in: b764a99d2a user: jenglish tags: trunk
2003-10-20
23:15
Updated the docs for my latest commit. check-in: be14c8e806 user: damonc tags: trunk
21:23
This is a huge commit with a lot of changes. I've tested through it with the demo as well as some of my own software, and everything seems to be working properly. I have no doubt that there will be little inconsistencies discovered through some thorough use.

Please checkout this latest version and give it a spin through your applications and tests. I am available to fix any and every bug that crops up, as I want to see this in really good shape for the next ActiveTcl release (which will follow the next Tcl release shortly).

* 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. check-in: b363fd16f2 user: damonc tags: trunk

2003-10-17
18:33
* 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.
check-in: ebde8e280e user: hobbs tags: trunk
2003-08-06
23:37
* listbox.tcl: Correct Listbox selection drawing [Bug #781652]
check-in: b9e13bfb56 user: hobbs tags: trunk
2003-07-17
23:45
Fix for bug #720032 "BWidget breaks Tk entry behaviour" check-in: bb7a1f845a user: jenglish tags: trunk
20:00
* 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.
check-in: 8e2dd9b45a user: hobbs tags: trunk
19:59
* notebook.tcl: Use list with eval for safety. Use lsearch -exact instead of default -glob in all uses.
check-in: ce3ff258fa user: hobbs tags: trunk
16:41
clarify management of embedded widget check-in: 5aa0ec2611 user: hobbs tags: trunk