Bwidget Source Code
File History
Not logged in

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

History of utils.tcl

2018-02-09
18:15
add support to msgcat file: [80b28dc126] check-in: [6f581442f8] user: pd branch: msgcat, size: 23592
2018-02-07
16:58
add support to msgcat -- closed because become invalid file: [a9e4c5b3c6] check-in: [b19b621e2a] user: pd branch: msgcat, size: 25156
2016-07-21
13:37
util.c: BWidget::place moved away from visible screens if the current window is on a virtual screen outside of the main screen (Windows multi-screen configuration) [5919a0ec2d] file: [567fc1a214] check-in: [85ca650f34] user: oehhar branch: bwidget, size: 22442
2009-10-25
20:54
*** continous developement, some small improvements file: [aa1458ff2c] check-in: [9c53cf5397] user: oberdorfer branch: trunk, size: 24709
2009-09-08
20:28
BWidget::bindMiddleMouseMovement added file: [8fad4ff8ef] check-in: [5ab352a476] user: oberdorfer branch: trunk, size: 21837
2009-09-03
17:29
* util.tcl(BWidget::place), BWidget.html Widget placed incorrectly, when bigger than current screen [Bug 2850031] by Thomas Grausgruber Possible incompatibility: BWidget::place w h -> w,h are reduced to screen width file: [6871bb3325] check-in: [150292310b] user: oehhar branch: bwidget, size: 20995
17:23
* util.tcl(BWidget::place), BWidget.html Widget placed incorrectly, when bigger than current screen [Bug 2850031] by Thomas Grausgruber Possible incompatibility: BWidget::place w h -> w,h are reduced to screen width. * dynhelp.tcl Added part of last patch, for pre 8.5 tcl from BWidget branch [Patch 2835180]. file: [56e895857b] check-in: [49151e60c6] user: oehhar branch: trunk, size: 20991
2009-06-10
08:48
Bwidget commited patches for bugs 2762361, 2340320, 1752755 file: [a99c58b524] check-in: [66d9e2414f] user: oehhar branch: trunk, size: 20426
2006-12-21
00:00
* util.tcl: fixed BWidget::write for widgets that require DynamicHelp. [bug 1518803] file: [3dfdf67716] check-in: [4297c8b06f] user: dev_null42a branch: trunk, size: 20427
2006-10-20
17:40
* utils.tcl (BWidget::bindMouseWheel): do not make special mousewheel bindings if global ones exist (like from style::as) file: [772523ac02] check-in: [66c0273ecc] user: hobbs branch: trunk, size: 20349
2004-09-24
23:57
* utils.tcl (BWidget::RestoreFocusGrab,SetFocusGrab): add BWidget equivalents of what Tk uses for better stacked grab/focus mgmt. file: [98463284ed] check-in: [14c5fc9fdf] user: hobbs branch: trunk, size: 20049
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] file: [f4b74c3c03] check-in: [cd1f34685b] user: damonc branch: trunk, size: 18423
2003-10-20
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. file: [6bb582de6b] check-in: [b363fd16f2] user: damonc branch: trunk, size: 18220
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. file: [13deab58a0] check-in: [ebde8e280e] user: hobbs branch: trunk, size: 16102
2003-04-15
01:21
* 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. file: [c8e8c2daa3] check-in: [fa48aa6dee] user: hobbs branch: trunk, size: 16102
2003-02-25
07:43
typo fix file: [c9ed6f7395] check-in: [987a93c858] user: hobbs branch: trunk, size: 16099
2003-02-08
10:21
* BWman/SelectColor.html * color.tcl: Cleaned up some of the documentation of SelectColor and made it actually work like the documentation says it does.    * BWman/DynamicHelp.html * dynhelp.tcl: Added -topbackground, -padx and -pady options to allow a little more flexibility in the look-and-feel of balloons.    Added the ability to bind dynamic help to individual items or tags on a canvas.    * BWman/Tree.html * tree.tcl: Added -padx and -deltax options to individual nodes within a tree. Each option defaults to -1, meaning to take its value from the global option of the same name.    Added dynamic help to nodes within a tree. Adds the following options: -helptext, -helptype and -helpvar to each node.    * BWman/BWidget.html * utils.tcl: Added BWidget::badOptionString utility to return a standard error string when a given option doesn't match a list.    * BWman/Widget.html * widget.tcl: Added Widget::getVariable proc to create a reference to a variable relative to the given widget path. file: [f3a5a6ab73] check-in: [ecd5aec25e] user: damonc branch: trunk, size: 16164
2002-01-28
21:56
Support for multiple screens under Windows OS file: [dbcc4bac80] check-in: [c4352baa1c] user: patthoyts branch: trunk, size: 15651
2001-12-29
02:06
* utils.tcl: added else case to place is called with location different from 'at' and 'center' and without a parent. [Patch #484123] (decoster) file: [4840f531fd] check-in: [0cfe507567] user: hobbs branch: trunk, size: 14117
2001-06-11
23:58
* passwddlg.tcl: * xpm2image.tcl: * mainframe.tcl: * panedw.tcl: * utils.tcl: * entry.tcl: * dynhelp.tcl: * dragsite.tcl: * color.tcl: added braces to expr where appropriate file: [6a0214602b] check-in: [ce9f3f3ee8] user: hobbs branch: trunk, size: 14095
2000-03-01
20:16
* pkgIndex.tcl: Bumped version to 1.3.0.    * tree.tcl: Changed focus redirect to use {after idle} to avoid focus loops.    * label.tcl: Added -bd 0 -highlight... etc to wrapper frame; moved class bindings to the frame instead of the component label.    * utils.tcl: Added helper function BWidget::refocus, to handle focus redirection calls.    * spinbox.tcl: Changed focus redirect to use {after idle} to avoid focus loops.    * combobox.tcl: Changed init to parseArgs/initFromODB style; changed focus redirect to use {after idle} to avoid focus loops. file: [d7b18f24b0] check-in: [790e86ec6a] user: ericm branch: trunk, size: 14077
1999-08-03
20:20
BWidget 1.2.1 import file: [d5485e98f9] check-in: [48bc375a03] user: ericm branch: bwidget-vendor-branch, size: 13625 Added