Bwidget Source Code
File History
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.

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

History of dynhelp.tcl

Place the bubblehelp correctly within the virtual screen [b64e03e548]. file: [fe5b9d560c] check-in: [0371bea522] user: oehhar branch: bwidget, size: 24040
Sometimes the tooltip does not occur under gnome/metacity on ubuntu. Ticket [a588d2f800] file: [ad592ba1b9] check-in: [459482f1b1] user: oehhar branch: bwidget, size: 24079
* 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: [dbfbe615e7] check-in: [49151e60c6] user: oehhar branch: trunk, size: 23969
* dynhelp.tcl Use balloon help font TkTooltipFont [Patch 2835180] * dynhelp.tcl(DynamicHelp::_show_help)Replaced aqua conditional code check by $Widget::_aqua file: [b7bba08029] check-in: [c17d1f3e1b] user: oehhar branch: trunk, size: 23750
* dynhelp.tcl Use balloon help font TkTooltipFont if tk <= 8.5. Otherwise use helvetica 11 on Aqua [Patch 2835180] for Kevin Walzer * dynhelp.tcl(DynamicHelp::_show_help)Replaced aqua conditional code check by $Widget::_aqua file: [23075ef71d] check-in: [059f4b0efa] user: oehhar branch: bwidget, size: 23973
* dynhelp.tcl (DynamicHelp) Typo from yesterday corrected [Patch 2820851] by Koen Danckaert file: [11d1043529] check-in: [4ec5be8a22] user: oehhar branch: trunk, size: 23805
* dynhelp.tcl (DynamicHelp::_leave_info et al) issues: - menu help sometimes not cleared when clicking off-window (unix) - "-helpcmd" available also when dynamichelp is included in another widget. - given "-helpcmd" always called at global scope. - Protect against multiple calls of <Leave> event. [Patch 2820851] by Koen Danckaert file: [83c4808cd5] check-in: [c991d05924] user: oehhar branch: trunk, size: 23790
* mainframe.tcl, MainFrame.html (MainFrame::getmenustate) Added method getmenustate to return menu tag state [Bug 948063] reported by Rolf Ade    * combobox.tcl (ComboBox::configure) Bug fixed: Widget did not take focus, when -editable false and "configure -state normal" called. [Bug 756334] reported by Rolf Ade    * widget.tcl (Widget::configure) Bug: ProgressDlg option -bg not setable. The special handling of subwidgets with special class or path ":cmd" was improved. [Bug 611477]    * notebook.tcl (NoteBook::_itemconfigure) Not honored option: itemconfigure ... -helptext [Patch 2814050] by Koen Danckaert file: [0597952c32] check-in: [f39181862b] user: oehhar branch: trunk, size: 23525
* 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 file: [5075034d94] check-in: [8860bd1e23] user: oehhar branch: trunk, size: 23372
Added dynamic help to text tags (man page updated); fixed resize bug with scrollframes. Thanks to Jos Decoster for these patches. file: [7d81ebbe7c] check-in: [7df2e13fad] user: dev_null42a branch: trunk, size: 22834
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] file: [7b9d678643] check-in: [02f30c0d81] user: dev_null42a branch: trunk, size: 19021
(_show_help): account for OS X help style file: [bb3fc35184] check-in: [b5f6f82b56] user: hobbs branch: trunk, size: 18979
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: [2f6c472168] check-in: [b363fd16f2] user: damonc branch: trunk, size: 18856
* dynhelp.tcl (DynamicHelp::_motion_balloon): correctly listify after delayed _show_help callback. file: [40ee6b65f0] check-in: [63e01075ed] user: hobbs branch: trunk, size: 16771
* 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: [5a42212a3b] check-in: [ecd5aec25e] user: damonc branch: trunk, size: 16813
* BWman/DynamicHelp.html: * dynhelp.tcl: Added -state option to disable help balloons on a global scale.    * BWman/Tree.html: * tree.tcl: Added -crossfill option to allow the + / - bitmap to be filled with a different color than the connecting node lines. -linesfill is now accurate in its help entry and only adjusts the foreground color of the lines between the nodes. file: [2891b5eb5a] check-in: [56196186a5] user: damonc branch: trunk, size: 12945
* dynhelp.tcl: allow variable and balloon help simultaneously. [Patch #567982] (decoster) file: [8599108f8c] check-in: [03782bd383] user: hobbs branch: trunk, size: 12812
* dynhelp.tcl: Accepted patch for bug 528929. Reported by <[email protected]>, patch also by him. file: [de485b8acd] check-in: [f58f549e7a] user: andreas_kupries branch: trunk, size: 11967
* 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: [a1061eb224] check-in: [ce9f3f3ee8] user: hobbs branch: trunk, size: 11881
* dynhelp.tcl: Added the '-screen' option to the toplevel that is created to display the help text to fix a bug reported by Tupone Alfredo. file: [a64ad424ac] check-in: [f3f468f9b4] user: kuchler branch: trunk, size: 11879
* dialog.tcl * dropsite.tcl * dynhelp.tcl * scrollview.tcl: Replaced several catch {unset varname} calls with if {[info exists varname]} {unset varname}. This avoids using the catch, and also prevents the ::errorInfo corruption that was happening in BWidgets. file: [1f2561080a] check-in: [cf328aa97c] user: kuchler branch: trunk, size: 11835
* button.tcl: (configure) replaced several hasChanged calls with one hasChangedX call.    * dynhelp.tcl: (sethelp) replaced several hasChanged calls with one hasChangedX call.    * entry.tcl: Replaced stack of hasChanged calls with one hasChangedX (in configure); replaced a couple cget's with getMegawidgetOption's.    * spinbox.tcl: Updated _test_options to use setMegawidgetOption, and to only do that if it has to, instead of always doing it.    * tree.tcl: Worked on itemcget; instead of upvar'ing the one-time-use variable, just refer to it directly.    * widget.tcl: One problem with [set ${class}::${path}:opt($option)] -- if path contains "foo(foo)", the command will choke. Removed that particular micro-optimization. Added setMegawidgetOption to compliment getMegawidgetOption; extended hasChangedX to accept multiple options to check. This allows us to compress stacks of hasChanged calls into a single call (so there's a single function call, and a single upvar...). file: [0227c6b118] check-in: [6492bbaf6a] user: ericm branch: trunk, size: 11364
* 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. file: [2acb26aff3] check-in: [26a9e9b23a] user: ericm branch: trunk, size: 11418
* 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. file: [393288ec5c] check-in: [fb6cf15d1c] user: ericm branch: trunk, size: 11296
BWidget 1.2.1 import file: [603434921d] check-in: [48bc375a03] user: ericm branch: bwidget-vendor-branch, size: 11288 Added