summaryrefslogtreecommitdiff
path: root/x11/bwidget
AgeCommit message (Collapse)AuthorFilesLines
2009-06-14Remove @dirrm entries from PLISTsjoerg1-5/+1
2008-06-20Add DESTDIR support.joerg1-7/+9
2008-05-26Second round of explicit pax dependencies. As reminded by tnn@,joerg1-4/+4
many packages used to use ${PAX}. Use the common way of directly calling pax, it is created as tool after all.
2007-11-11Update to 1.8.0, provided by Aleksey Cheusov in PR 37302:wiz3-7/+13
2006-09-28 J. Tang **** BWIDGET 1.8.0 TAGGED **** * removed Makefile.in * font.tcl: correctly handle code path when user cancels dialog * passwd.tcl: fixed Dialog::enddialog error; fixed ordering error * pkgIndex.tcl, README.txt: updated to BWidget 1.8 * removed configure.in and aclocal.m4 * 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] 2006-09-26 J. Tang * 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] * demo/basic.tcl: fixed Entry's enter command callback [bug 1400838] 2006-08-21 J. Tang * 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 2006-06-29 Jeff Hobbs * statusbar.tcl (StatusBar::remove): remove neighboring separator when removing the first item. [Bug 1512671] 2006-03-24 J. Tang * 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] 2006-03-23 J. Tang * 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] 2006-02-10 J. Tang * ProgressDlg man page: note that caller must invoke [update], the progressbar will not do it automatically [bug 1105778] * progressbar.tcl: -maximum value must now be non-zero, else divide by 0 occurs [bug 1145523]; use double() calculations to prevent integer overflow with very large -maximum values [bug 900165] * PagesManager man page: clarified [add] behavior and default state [bug 1305988] 2006-02-08 J. Tang * combobox.tcl: allow -autocomplete with uppercase chars [bug 996569]; added -autopost option [patch 1359041] * dynamic help man page: added clarification to -variable 2006-01-25 J. Tang * buttonbox.tcl: fixed -homogeneous calculation [bug 1362899] 2005-11-01 Jeff Hobbs * color.tcl (SelectColor::menu): use native dialog for palette menu item where possible (and Widget::theme is used). 2005-10-31 Jeff Hobbs * statusbar.tcl: correct Widget::theme typos 2005-10-12 Jeff Hobbs * mainframe.tcl (MainFrame::configure): need to ignore -bg change check when themed. 2005-09-28 Jeff Hobbs * mainframe.tcl (MainFrame::_create_menubar): ignore -bg -bd opts when themed 2005-09-22 Jeff Hobbs * font.tcl (SelectFont::_getfont): fix tile compat to still set data(family) and data(size) in any case. 2005-09-19 Jeff Hobbs * mainframe.tcl: * font.tcl: remove tile compat options that aren't valid. 2005-08-23 Jeff Hobbs * mainframe.tcl: extend ttk theme awareness to subframes/separators 2005-08-10 Jeff Hobbs * mainframe.tcl (MainFrame::create): make ttk theme aware 2005-07-27 Jeff Hobbs * 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). * init.tcl (Widget::_opt_defaults): make a proc for opt defaults, recognize aqua as a platform 2005-02-25 Jeff Hobbs * lang/da.rc (new): Danish language file [Bug 1151534] (elhaard) 2005-01-25 Jeff Hobbs * notebook.tcl: reverted lester patch - too many bugs related to deleting and reinsertion of tabs. 2004-12-01 Jeff Hobbs * notebook.tcl: speed improvements via array hashing for many tabs (lester). 2004-10-09 Rolf Ade * mainframe.tcl: (MainFrame::_parse_accelerator) made accelerator Ctrl-f in -menu definitions work. [Bug 1043107] 2004-09-24 Jeff Hobbs * color.tcl: use toplevel instead of menu for dropdown color menu and do better focus/grab restoration. * utils.tcl (BWidget::RestoreFocusGrab,SetFocusGrab): add BWidget equivalents of what Tk uses for better stacked grab/focus mgmt. * dialog.tcl (Dialog::create): withdraw topleve immediately after creation. 2004-09-14 Jeff Hobbs * listbox.tcl: add FocusIn redirector to %W.c, add explicit -takefocus 0 to the frame parent. * widget.tcl (Widget::focusPrev): hack to avoid focus into direct parent when it is a megawidget. [Bug 765667] * notebook.tcl (NoteBook::_draw_page): adjust height for bottom drawn tabs. [Bug 988628] 2004-09-09 Jeff Hobbs * 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): * statusbar.tcl: improve init to use bwidget's automated arg passing for subwidgets. Simplify delete subcommand to call remove. * xpm2image.tcl (xpm-to-image): correctly recognize None with -nocase 2004-09-02 Jeff Hobbs * buttonbox.tcl, combobox.tcl: code safety fixes * dialog.tcl: default button width to -11 on Win8.4, 8 otherwise * color.tcl, font.tcl, messagedlg.tcl: * passwddlg.tcl, progressdlg.tcl: change dialogs to anchor buttons e * statusbar.tcl: better -bg handling (configure too), and tighten up spacing on resize control to place it flush bottom right 2004-09-01 Jeff Hobbs * statusbar.tcl: add -showseparator optional horizontal separator. 2004-08-31 Jeff Hobbs * statusbar.tcl: correct name of image for use on unix. Try to use of PNG image at each create (it just looks better). 2004-08-26 Jeff Hobbs * tree.tcl (Tree::delete): call -selectcommand if we delete something that was selected. 2004-08-25 Jeff Hobbs * 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 2004-08-20 Jeff Hobbs * 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): 2004-05-12 Jeff Hobbs * font.tcl (SelectFont::create): don't hardcode -bd 2 when creating the style selectbuttons. * dynhelp.tcl (_show_help): account for OS X help style 2004-05-04 Jeff Hobbs * listbox.tcl (_keyboard_navigation): make sure you can see the item that you key navigate to. (aas) 2004-04-26 Jeff Hobbs * tree.tcl (_update_nodes): align with _draw_nodes code, specifically correcting placement of cross on new nodes and anchor of changed window/image. 2004-04-23 Jeff Hobbs * 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. 2004-04-22 Jeff Hobbs * tree.tcl (edit): correct inversion of verifycmd emptiness test. * 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. (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). 2004-04-21 Jeff Hobbs * 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. 2004-03-08 Joe English * init.tcl: (bugfix) Use <<PrevWindow>> virtual event instead of <Shift-Tab> event for back-tab binding. 2004-02-07 Jeff Hobbs * 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. 2004-02-03 Jeff Hobbs * scrollw.tcl (ScrolledWindow::create): correctly set -relief and -bd at creation time. [Bug #873666] * init.tcl: don't modify *Listbox.background and *Button.padY options - leave core widgets alone. * 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. 2004-01-28 Reinhard Max * configure.in: bumped to v1.7. This should have happened before releasing 1.7.0. * Makefile.in: fixed support for DESTDIR. 2004-01-05 Damon Courtney * 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] 2003-12-18 Bob Techentin <techentin@sourceforge.net> **** BWIDGET 1.7.0 TAGGED **** * README.txt: Changed revision to 1.7.0. Note that 1.7.0 does not include 2003-11-26 mod to notebook.tcl. 2003-11-26 Jeff Hobbs * notebook.tcl (NoteBook::bindtabs): correct tab name returned. (groth) 2003-11-17 Jeff Hobbs * entry.tcl (Entry::create): add missing line continuation. [Patch #843932] (oehlmann) 2003-11-10 Damon Courtney * entry.tcl: Use a button widget for -disabled options if we're using 8.3 [Bug 839469] 2003-11-05 Damon Courtney * combobox.tcl: Fixed dropdown listbox selection for standard Tk listbox [Bug 831496]. 2003-11-05 Jeff Hobbs * scrollview.tcl (ScrollView::_set_view): correct :canvas to renamed :cmd. 2003-10-30 Jeff Hobbs * scrollw.tcl (ScrolledWindow::setwidget): check that the old widget associated still exists before unconfiguring it. [Bug #833034] 2003-10-27 Damon Courtney * 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. 2003-10-27 Joe English * DragSite.html, DropSite.html: Fix markup errors [Bug #740484] 2003-10-20 Damon Courtney * 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. 2003-10-17 Jeff Hobbs * 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. 2003-08-06 Jeff Hobbs * listbox.tcl: Correct Listbox selection drawing [Bug #781652] 2003-07-17 Joe English * init.tcl, combobox.tcl: Fix for [Bug 720032] "BWidget breaks Tk entry behaviour". Highlight the entry in a <<TraverseIn>> binding, instead of doing so on every <FocusIn> event. Change the global <Tab> and <Shift-Tab> bindings to generate <<TraverseIn>> and <<TraverseOut>> events. 2003-07-17 Jeff Hobbs * notebook.tcl: Use list with eval for safety. Use lsearch -exact instead of default -glob in all uses. * 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. * BWman/ScrolledWindow.html: clarify management of embedded widget. 2003-06-23 Damon Courtney <damon@unreality.com> * combobox.tcl: Added a little better handling of keys in the auto-complete. 2003-06-06 Damon Courtney <damon@unreality.com> * combobox.tcl: Added a rudimentary auto-complete function with option (-autocomplete) that is turned off by default. Over time, I'm sure this function can be improved, but I think it works pretty well for now. * BWman/ComboBox.tcl: Added documentation for -autocomplete. 2003-06-05 Damon Courtney <damon@unreality.com> * listbox.tcl: Liberal use of list where appropriate to make the code safe for space-containing node names.
2006-08-25Import bwidget from pkgsrc-wip. Packaged by xtraeme@.minskim4-0/+149
The BWidget Toolkit is a high-level Widget Set for Tcl/Tk built using native Tcl/Tk 8.x namespaces. The BWidgets have a professional look&feel as in other well known Toolkits (Tix or Incr Widgets), but the concept is radically different because everything is pure Tcl/Tk. No platform dependencies, and no compiling required. The code is 100% Pure Tcl/Tk.