Bwidget Source Code
Timeline
Not logged in

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

30 check-ins using file arrow.tcl version 6a40786b84

2000-03-13
17:21
* widget.tcl: Added getMegawidgetOption function, which allows direct access to megawidget-specific options (those that do not map to a component widget option). This is dangerous, because it bypasses some checks, and it will only work with options that are specific to the megawidget. However, it is much faster, and enables some functions (like visiblenodes) to be much faster.

* tree.tcl: Reworked visiblenodes function to do a tree walk to find visible nodes. This is faster and more correct than the previous implementation, which queried all the nodes in the tree for their open bit. check-in: a0170bdaf0 user: ericm tags: trunk

2000-03-11
02:19
*** empty log message *** check-in: af0ae685f5 user: sven tags: trunk
02:19
* tree.tcl: Changed the allnodes procedure to visiblenodes, and also the mechanism of retrieving those nodes. This took care of the previously required update. check-in: ba225828c0 user: sven tags: trunk
2000-03-10
16:58
* widget.tcl: Replaced an upvar with a direct reference to the variable in initFromODB.

* dynhelp.tcl: Changed sethelp function to use new hasChangedX function instead of hasChanged, which avoids an unneeded upvar, for a little better speed.

* button.tcl: Changed to parseArgs/initFromODB format for a small (25%) speedup in creation time. check-in: 26a9e9b23a user: ericm tags: trunk

00:49
* entry.tcl: Added code to re-sync the -text option with the contents of the entry widget before doing configuration; this fixes [Bug: 4304]. check-in: c37d8b3a34 user: ericm tags: trunk
2000-03-09
19:41
*** empty log message *** check-in: d3409f6e69 user: sven tags: trunk
19:41
* tree.tcl: Disabled the update before the find withtag in the allnodes procedure. The nodes are apparently created delayed, so before this procedure is called, the program has to do an update. I don't do this in the procedure anymore, because it caused multiple updates, making the app slower. check-in: a4a2ddb7f9 user: sven tags: trunk
2000-03-08
23:49
Changed the allnodes procedure. check-in: f74f07e33b user: sven tags: trunk
23:49
* tree.tcl: The new allnodes procedure was not handling the "current" tag correctly. This is now stripped of. check-in: 59d7527d59 user: sven tags: trunk
03:26
* button.tcl: Added check for -state flag, to initialize it properly.

* entry.tcl: Changed to parseArgs/initFromODB format; added check for -text flag to initialize it properly.

* labelentry.tcl: Changed to use parseArgs/initFromODB format. check-in: 9933dd2412 user: ericm tags: trunk

01:55
* spinbox.tcl: Added a call in setvalue to scan the current value into a float to trim out any 0 padding on the number (otherwise the zero's make it look like octal to tcl, which chokes on numbers > 8) check-in: 5c9f801de6 user: ericm tags: trunk
00:18
*** empty log message *** check-in: 41327cfc32 user: sven tags: trunk
00:17
* passwddlg.tcl: Reenabled the <Return> binding to activate the ok button. check-in: 65d0d8a6f1 user: sven tags: trunk
2000-03-07
23:18
* dragsite.tcl: I added an extra protection into the _begin_drag procedure to guard against a motion event that (sometimes) arrives before the press event. This fixes bug # 4324. check-in: 76927de528 user: sven tags: trunk
2000-03-03
23:54
* spinbox.tcl: Removed LabelFrame from SpinBox (BACKWARDS INCOMPATIBLE) to speed creation; updated configure proc to use hasChangedX instead of hasChanged, as it didn't really need the values of the options it was checking. check-in: d0f8f323d9 user: ericm tags: trunk
2000-03-02
00:19
Updated version number in configure.in; added SpinBoxEntry to bindtags for SpinBox entry component. check-in: e8a9147a37 user: ericm tags: trunk
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. check-in: 790e86ec6a user: ericm tags: trunk

18:49
Fixed typo ProgessDlg => ProgressDlg check-in: 580ca7f9f5 user: ericm tags: trunk
02:12
* widget.tcl: Added bits to handle $path#subclass_that_inherits_from_other_bw_class megawidget names.

* passwddlg.tcl: * progressdlg.tcl: * progressbar.tcl: Changed init to parseArgs/initFromODB style.

* pkgIndex.tcl: Changed Label -> BWLabel

* messagedlg.tcl: Changed initialization to parseArgs/initFromODB style. Changed to use tk_messageBox on UNIX.

* labelframe.tcl: Updated to use BWLabel instead of Label.

* labelentry.tcl: Added -class LabelEntry to widget.

* label.tcl: Changed class name to BWLabel (to avoid option db clashes with tk labels), changed initialization to parseArgs/initFromODB style.

* init.tcl: dropped obsolete Tree option from init.

* dialog.tcl: changed initialization to parseArgs/initFromODB style.

* dialog.tcl: added a -class option to the dialog, to allow the class of the dialog to be set (this enables proper optiondb use for things like the PasswdDlg). check-in: 45d35a6ade user: ericm tags: trunk

2000-02-29
23:04
* entry.tcl: Fixed a conflict with configuring the Entry -text and textvariables. check-in: 67cb79fdbc user: ericm tags: trunk
22:05
* notebook.tcl: Added -bd 0 -highlightthickness 0 -relief flat to the notebook container frame so geometries are correct.

* entry.tcl: Fixed a conflict with configuring the Entry -text and textvariables.

* dialog.tcl: added a -class option to the dialog, to allow the class of the dialog to be set (this enables proper optiondb use for things like the PasswdDlg). check-in: c2380ca81c user: ericm tags: trunk

02:41
* widget.tcl: Added Widget::varForOption function, which returns a variable name that can be used to trace changes to an option for a particular megawidget (such as the -values option of a combobox).

* entry.tcl: Made cget -text a little more efficient by shortcircuiting in that case.

* combobox.tcl: Fixed bug #4248 by making the listbox use a -listvariable instead of trying to micromanage the listbox contents. check-in: 6f11528113 user: ericm tags: trunk

2000-02-28
18:37
* tree.tcl: Fixed focus issue. check-in: f30440abdc user: ericm tags: trunk
18:06
* tests/entry.test: tests for the Entry widget.

* widget.tcl: minor code cleanup.

* tree.tcl: Was not getting proper default bg color on Windows, and keyboard navigation was goofy because of internal structure changes.

* entry.tcl: Fixed an issue with initial foreground color not being picked up correctly. check-in: ffceb11fde user: ericm tags: trunk

16:48
*** empty log message *** check-in: 85bdc24db0 user: sven tags: trunk
16:46
* tree.tcl: Apparently the internal widget structure of tree was changed recently. I adjusted the "allnodes" procedure to that. check-in: e8bac5f7a5 user: sven tags: trunk
16:20
*** empty log message *** check-in: 597a04b1a9 user: sven tags: trunk
16:19
* tree.tcl: Added a procedure called "allnodes" to retrieve the names of all currently defined treenodes. check-in: 2d821a754a user: sven tags: trunk
2000-02-27
20:22
ComboBox was setting -state flag of its entry instead of -editable flag when changing the -editable flag of the combobox. check-in: c7456a9d0f user: ericm tags: trunk
2000-02-26
03:51
* combobox.tcl: Fixed a problem with non-editable comboboxes and selecting values.

* arrow.tcl: Fixed a problem with the invoke method (doing one too many winfo parents in some cases) check-in: 8e57b113e0 user: ericm tags: trunk