Bwidget Source Code
Timeline
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

50 descendants and 50 ancestors of [3aa1e4f1af]

2000-03-09
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
01:56
* arrow.tcl: * button.tcl: * buttonbox.tcl: * combobox.tcl: * dialog.tcl: * dynhelp.tcl: * entry.tcl: (also fixed validation) * label.tcl: * labelframe.tcl: * listbox.tcl: * mainframe.tcl: * notebook.tcl: * pagesmgr.tcl: * panedw.tcl: * progressbar.tcl: * scrollview.tcl: * scrollw.tcl: * separator.tcl: * spinbox.tcl: * titleframe.tcl: * tree.tcl: Updated to new megawidget architecture.    * widget.tcl: Changed internal architecture. When possible, megawidget options are stored in component widgets instead of in an intermediary array. Also, made use of option database to make megawidget creation more efficient. check-in: fb6cf15d1c user: ericm tags: trunk
2000-02-25
02:05
Added hack back to BWidget tree to d omulti-line select. Eric M. is aware of this and will fix it when he has time. check-in: e2b50e08e6 user: surles tags: trunk
2000-02-24
18:19
*** empty log message *** check-in: 02d9486d25 user: ericm tags: trunk, bwidget-1-2-2
18:19
Removed LGPL from license (hooray!); added Tcl-license terms to LICENSE.txt. check-in: 97ce0e72a0 user: ericm tags: trunk
18:10
Typo fix. check-in: fd45bd1c5b user: ericm tags: trunk
18:07
Updated demo for new select color stuff, from Boudillier. check-in: ca7559d5d6 user: ericm tags: trunk
18:06
Corrected target.xbm from Boudillier. check-in: e65e332467 user: ericm tags: trunk
00:04
Changed bwinclude ... "" to bwinclude ... :cmd so that reverse mappings work. check-in: 5a57a30f89 user: ericm tags: trunk
2000-02-23
19:22
Replaced the boolean test function with a more efficient one. check-in: f3f827b7ac user: ericm tags: trunk
19:18
Added some comments about the internal structure. check-in: f331cf83b2 user: ericm tags: trunk
18:54
Replaced bwinclude ... "" with bwinclude ... :cmd, so that the reverse mapping from subwidget -> megawidget options works right. check-in: 7bc7bd2db4 user: ericm tags: trunk
00:32
Fixed a small scrollbar width issue introduced by merge of Boudillier's code. check-in: 40b8a7276c user: ericm tags: trunk
2000-02-19
02:12
* images/target.xbm: Placeholder for actual icon.    * color.tcl: Change env(BWIDGET_LIBRARY) to ::BWIDGET::LIBRARY; changed proc "dialogue" to "dialog"    * pkgIndex.tcl: Updated function spec for color.tcl.    * widget.tcl: Various minor speed tweaks; added a reverse mapping from component widget options -> mega-widget options so that subcget can be faster.    * entry.tcl: * dropsite.tcl: * dragsite.tcl: * arrow.tcl: Tcl list'd the specs for Widget::declare calls.    * combobox.tcl: Removed extraneous ListBox::use call. check-in: 25c5681556 user: ericm tags: trunk
02:07
Additional fixes from Eric Boudaillier. check-in: ac17439246 user: ericm tags: trunk
2000-02-17
18:37
* notebook.tcl: Added an extra check to move the leftmost tab a touch to the right when it is not selected (again, to make the tabs more Windows-like). Also replaced redundant [string equal] checks with a stored pre-check (ie, set foo [string equal ...]). check-in: 4f04c7bef8 user: ericm tags: trunk
03:06
* notebook.tcl: Changed appearance of tabs; leftmost tab is now flush with the left of the notebook, and the tabs look more Windows-like. check-in: affe6554cd user: ericm tags: trunk
2000-02-16
20:19
*** empty log message *** check-in: d5371a4cad user: sven tags: trunk
20:18
* dialog.tcl: Added a new parameter to the draw procedure that allows me to pass in the desired geometry for the window. This was needed to support tracking of dialog window geometries. check-in: 39dcb910f3 user: sven tags: trunk
16:43
*** empty log message *** check-in: 83391d43ae user: sven tags: trunk
16:43
* tree.tcl: Changed the <KeyPress-space> binding to use "+", so it will not overwrite existing bindings (if there are any). Also added some extra protection in the keynav procedure against the user typing <Left> on a root node (this used to cause a stack trace). check-in: aa5dc5c579 user: sven tags: trunk
2000-02-11
22:54
* tree.tcl: Integrated changes from Eric Boudaillier: [itemconfigure -open ...] optimized to only call redraw_idle 3 if node has subnodes. _cross_event: itemconfigure -open called before -opencmd/closecmd; no more call to _redraw_idle (handled by other procedures) _over_cmd: allow position {root 0} when tree is empty new [find] command: [find @x,y ?confine?] if confine is "confine" returns the node at window coordinate x,y (x,y must be inside the bbox of the node) else returns the node found on the line (in pixel) pixel y [find line] returns the node on the line $line (in -deltay coords) new [line] command: [line node] returns the line where node is drawn -selectfill option added: if true, selection is draw on full width of tree (instead of just highlighting the bbox of the selected nodes)    * combobox.tcl: Integrated changes from Eric Boudaillier: internal widget restructuring.    * tree.tcl: Added "range" subcommand to selection. Given two nodes, node1 and node2, it will set the selection to the visible nodes between (and including) node1 and node2. If node1 or node2 is not visible, it will find the first visible ancestor of the node and use that as the start/end point instead.    * listbox.tcl: Integrated changes from Eric Boudaillier: _over_cmd: allow position 0 when listbox is empty find command, similar to tree find command.    * spinbox.tcl: Integrated changes from Eric Boudaillier: cosmetic changes.    * color.tcl: Integrated changes from Eric Boudaillier: split widget into two commands: SelectColor::menu and SelectColor::dialog.    * progressbar.tcl: Integrated changes from Eric Boudaillier: added -idle option to prevent call to update in case where task is done in idle (ie, fileevents)    * scrollview.tcl: Integrated changes from Eric Boudaillier: bindings changed.    * scrollw.tcl: Integrated changes from Eric Boudaillier: -managed option: if true, scrollbar are managed during creation, so their size are included in the requested size of the ScrolledWindow. If false, they are not. -sides option: specifies the side of the scrollbar. -size option: specifies size of scrollbar. -ipad option: specifies pad between scrollbar and scrolled widget.    * mainframe.tcl: Integrated changes from Eric Boudaillier: support for function keys in accelerators, support for no modifier in accelerators.    * notebook.tcl: Integrated changes from Eric Boudaillier: -internalborderwidth (-ibd) option specifies pad around pages; -foreground, -background, -activeforeground, -activebackground, -disabledforeground options for each tab. Code cleanup. check-in: 651774cb09 user: ericm tags: trunk
00:16
Slight modification to algorithm to handle non-visible nodes. check-in: 6bdb5e8a71 user: ericm tags: trunk
00:07
* tree.tcl: Added "range" subcommand to selection. Given two visible nodes, node1 and node2, it will set the selection to the visible nodes between (and including) node1 and node2. check-in: 3c515a19e2 user: ericm tags: trunk
2000-02-08
17:48
Added support to the Entry widget for the -validate {none focus focusin focusout key all} -invalidcommand -validatecommand -invcmd and -vcmd flags to support the validation features of the entry widget. These flags simply are passed down to the underlying entry widget if they are specified. They work identically to the flag descriptions given in the entry man page. check-in: 9f740baa74 user: kuchler tags: trunk
2000-02-06
00:43
Rearranged build/install files to use a shared config module check-in: 22a4ce2f62 user: wart tags: trunk
2000-01-25
01:00
Added support for building under Win95/98 using cygwin check-in: a3b649673d user: wart tags: trunk
2000-01-24
22:38
Updated to reflect recent TEA changes check-in: 3aa1e4f1af user: wart tags: trunk
22:24
Updated to reflect recent TEA changes check-in: 7c8eeb5052 user: wart tags: trunk
16:35
Added the new "menuonly" method, to make the main frame look nice in case all we want is a simple menubar. Also added support for function key bindings in the menu (F1 etc.). check-in: c8897b846d user: sven tags: trunk
2000-01-18
23:40
Updated to reflect recent TEA changes check-in: 56b768526d user: wart tags: trunk
1999-12-23
19:30
I added an "update idletask" to the scrollbar update. This prevents the loss of update events. It used to be that under certain circumstances in Author the set command did not get processed (changing the content of a text widget after doing a raise of the notebook). check-in: d8fdc9e35e user: sven tags: trunk
1999-12-14
20:12
When the selected item is changed, the selection is now set to the entire string. check-in: 5cd9b4a28c user: sven tags: trunk
00:43
* buttonbox.tcl: Added a getbuttonstate function, which retrieves the value of a tag used on a button in the buttonbox. check-in: fd83364dae user: ericm tags: trunk
1999-12-08
15:51
* combobox.tcl: Removed code that cleared entry selection on focus out events, as this crippled exportselection. check-in: 52bc26e2bb user: ericm tags: trunk
1999-11-24
02:21
Updated to reflect recent TEA changes check-in: 94c91ea05f user: wart tags: trunk
00:38
Updated to reflect recent TEA changes check-in: 33a10c5030 user: wart tags: trunk
1999-11-12
04:12
The tkwait visibility .drag is now in a catch, so the destruction of the window can no longer cause a Tcl stack trace. Fixed bug # 3571. check-in: 1d263889a1 user: sven tags: trunk, scriptics-sc-1-1, scriptics-sc-1-1-b1, scriptics-sc-1-1-base
1999-11-05
03:38
Changed env(BWIDGET_LIBRARY) to ::BWIDGET::LIBRARY everywhere. This makes BWidgets behave more nicely with tcltest. check-in: 149d9e6ba2 user: ericm tags: trunk, scriptics-sc-1-0-base
1999-10-30
00:31
* buttonbox.tcl: Added a gettags function, which allows the user to query the tags that are used on buttons in the buttonbox. check-in: 133c515858 user: ericm tags: trunk
1999-10-29
21:00
Fixed font lists on windows. check-in: e33b90fb7b user: ericm tags: trunk
19:00
* font.tcl: Added one new flag: -querysystem. This lets the user control whether the font selector queries the system (via font families) for the list of fonts, or if it uses a preset list of fonts (which is much faster and less likely to crash some systems). check-in: 3e02826d52 user: ericm tags: trunk
1999-10-25
23:00
Fixed some issues with the new -style flag. check-in: 3d735e7800 user: ericm tags: trunk
21:54
* font.tcl: Added support for two new flags: -families and -styles; -families allows you to specify one of all, fixed, or variable, to limit the choice of fonts to those fonts; -styles allows you to specify a list of styles that can be set with the widget (ie, bold, italic, etc). check-in: 0044eccdb1 user: ericm tags: trunk
1999-10-22
18:16
* tree.tcl: Added support for keyboard-based scrolling. check-in: c82174bca6 user: ericm tags: trunk
17:49
* tree.tcl: Fixed some problems with keyboard traversal. Added support for left/right arrows a la MS Explorer. check-in: d9ce65d137 user: ericm tags: trunk
00:09
* tree.tcl: Added a -selectable option to tree nodes, which controls whether or not a given node is selectable (duh). This works with the new -selectcommand option for the tree, and with keyboard traversal (also new). Now, whenever the tree gets a "selection set", it calls the given -selectcommand with the name of the tree and the list of selected nodes, which makes it easier to just drop in place and use. check-in: 3f7df86982 user: ericm tags: trunk
1999-10-21
17:41
Added support for keyboard traversal. The widget will now tab in even when it is not editible. Also the entry widget content will be selected when the user tabs in. The key bindings now allow a traversal of the list (<Down> brings up the list). The arrow button no longer switches to an up button, but instead changes relief. The button is now more Windows NT like (for Windows NT). check-in: 347d417b33 user: sven tags: trunk
1999-10-20
22:15
* panedw.tcl: Added a -class PanedWindow option to the main frame (the megawidget) of the paned window. check-in: cf9a0e7e76 user: ericm tags: trunk
1999-10-16
01:06
* dialog.tcl: Added an overrideredirect option to Dialog::draw, which allows the user to control the overrideredirect state of the dialog. check-in: 6c488ce999 user: ericm tags: trunk
1999-10-14
20:23
Added an additional x and y offset for the see command. This allows me to move the visible area to a widget that is inside of a scrolled frame child. check-in: 89c469e792 user: sven tags: trunk
1999-09-21
17:26
ChangeLog commit. check-in: d4865f7d47 user: ericm tags: trunk, scriptics-bc-1-0-b1
17:22
* buttonbox.tcl: Fixed ButtonBox::add input list, as the change I made to allow tagging was not backwards compatible. Now tags are specified with -tags $tags, and all is well. check-in: 420c4a35b6 user: ericm tags: trunk
01:50
Implemented the new configuration option -side, which allows the selection of the side for the notebook tabs. Possible values are "top" and "bottom". check-in: 5afb5e2005 user: sven tags: trunk
1999-09-19
22:40
* mainframe.tcl: Fixed _destroy to unset ALL state variables, so that when a new MainFrame of the same name as an old one is created, it doesn't pick up residual state from the old one. check-in: 027986893f user: ericm tags: trunk
1999-09-17
23:22
Removed unused call to SC_PROG_TCLSH check-in: fd7def4279 user: wart tags: trunk
22:30
Updated to reflect recent TEA changes check-in: 2911677e6b user: wart tags: trunk
20:50
* buttonbox.tcl: Added tagging mechanism to buttonbox. When using $bbox add, the first parameter is a list of tags for the button. Then use $bbox setbuttonstate to change the state of a tag. check-in: f3ebbcbe31 user: ericm tags: trunk
17:46
* mainframe.tcl: Modified menu creation/setmenustate functions to support a new model of menustate. Instead of enabling/disabling a menu item whenever any one of its tags changes state, now it only enables menu items if all of its tags are set. This makes it really easy to, say, only enable the "New Action" entry if both a project is open and an element is selected. check-in: 0406abeac2 user: ericm tags: trunk
1999-09-16
15:36
Adding a ChangeLog check-in: 5a459c8574 user: ericm tags: trunk
15:36
*** empty log message *** check-in: e2c80d8f35 user: ericm tags: trunk
1999-09-14
05:44
Fixed bug during installation of images. check-in: 3eb21375f9 user: wart tags: trunk
03:32
Install images and html pages check-in: eb67741586 user: wart tags: trunk
01:23
Added files for making BWidget a TEA-complient package. check-in: 23e7281b53 user: wart tags: trunk
1999-08-20
01:54
Fixed transparency of redo icon. check-in: 51bab76998 user: ericm tags: trunk
01:42
Added redo.gif, the mirror image of undo.gif. check-in: 3b71e26a66 user: ericm tags: trunk
1999-08-19
20:37
Added support for native look and feel to the paned window for Windows platform. check-in: 7900eac005 user: ericm tags: trunk
1999-08-03
20:20
BWidget 1.2.1 import check-in: d1cd036e1f user: ericm tags: trunk, bwidget-1-2-1
20:20
Initial revision check-in: b651d024e3 user: ericm tags: trunk
20:20
BWidget 1.2.1 import check-in: 9f50e17584 user: ericm tags: trunk
20:20
Initial revision check-in: e96433a3f4 user: ericm tags: trunk
20:20
BWidget 1.2.1 import check-in: bd41070621 user: ericm tags: trunk
20:20
Initial revision check-in: 8a933571f6 user: ericm tags: trunk
20:20
BWidget 1.2.1 import check-in: 7417957d5f user: ericm tags: trunk
20:20
Initial revision check-in: 74fa457669 user: ericm tags: trunk
20:20
BWidget 1.2.1 import check-in: 3a6fb22125 user: ericm tags: trunk
20:20
Initial revision check-in: d98b6c6386 user: ericm tags: trunk
20:20
BWidget 1.2.1 import check-in: 033a4e6fe5 user: ericm tags: trunk