From: Harald O. <har...@el...> - 2014-09-10 15:30:07
|
Surprising, but true, the old gem BWidget sees his yearly release just in time to be integrated in ActiveTcl (I hope). BWidget a TCL-only package to design user interfaces with new or extended widgets. Thanks to all contributors (see ChangeLog) and advisors (Kevin, Koen) which made this release possible ! Release notes below. Enjoy, Harald -------------------------------------------------------------------------- BWidget ToolKit 1.9.8 September 2014 Copyright (c) 1998-1999 UNIFIX. Copyright (c) 2001-2002 ActiveState Corp. See the file LICENSE.txt for license info (uses Tcl's BSD-style license). Highlights: Repository and issue tracker on fossil url: http://core.tcl.tk/bwidget New features: - New procedure Widget::which to get fully qualified name of widget or option - Make -constrainedwidth 1 and -constrainedheight 1 work together for scrollframe. - Themed ComboBox color specifications are honored. Fixed bugs: - Set ListBox x-pad to 2 to show selection nicer, honor images to selection - Bring ScrolledWindow always on top of local windows hirarchy - Sometimes no tooltip shown on Ubuntu gnome/metacity -------------------------------------------------------------------------- WHAT IS BWIDGET ? 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. The BWidget library was originally developed by UNIFIX Online, and released under both the GNU Public License and the Tcl license. BWidget is now maintained as a community project, hosted by Sourceforge. Scores of fixes and enhancements have been added by community developers. See the ChangeLog file for details. -------------------------------------------------------------------------- WIDGET LIST (1.9) Simple Widgets Label Extended Label widget Entry Extended Entry widget Button Extended Button widget ArrowButton Button widget with an arrow shape. ProgressBar Progress indicator widget ScrollView Display the visible area of a scrolled window Separator 3D separator widget Manager Widgets MainFrame Manage toplevel with menu, toolbar and statusbar LabelFrame Frame with a Label TitleFrame Frame with a title ScrolledWindow Generic scrolled widget ScrollableFrame Scrollable frame containing widget PanedWindow Tiled layout manager widget ButtonBox Set of buttons with horizontal or vertical layout PagesManager Pages manager widget NoteBook Notebook manager widget Dialog Dialog abstraction with custom buttons Composite Widgets LabelEntry LabelFrame containing an Entry widget. ComboBox ComboBox widget SpinBox SpinBox widget Tree Tree widget ListBox ListBox widget MessageDlg Message dialog box ProgressDlg Progress indicator dialog box PasswdDlg Login/Password dialog box (contributed by Stephane Lavirotte) SelectFont Font selection widget SelectColor Color selection widget Commands Classes Widget The Widget base class DynamicHelp Provide help to Tk widget or BWidget DragSite Commands set for Drag facilities DropSite Commands set for Drop facilities BWidget Utilities -------------------------------------------------------------------------- INSTALLATION AND USE - On Unix Platform: Uncompress the file BWidget-<version>.tar.Z|gz To use the BWidget: - If you have uncompressed the archive file under the Tcl Library Path directory, you only need to do: % package require BWidget - If not, you have to specify the BWidget installation path in auto_path global variable: % lappend auto_path <install_path> % package require BWidget To launch the demo, you need to cd into the demo subdirectory: $ cd <install_path>/demo $ wish demo.tcl - On Windows and others Platforms: Uncompress the file BWidget-<version>.zip To use the BWidget: - If you uncompressed the archive file under the Tcl Library Path directory, you only need to do: % package require BWidget - If not, you have to specify the BWidget installation path in auto_path global variable: % lappend auto_path your_path % package require BWidget To launch the demo : Double click on demo.tcl in the demo subdirectory Distribution contains these directories: BWidget-<version> Root directory and BWidget Tcl sources BWman HTML manual pages images images used by BWidget lang Resources for language customization demo Demo sources tests BWidgets test suite -------------------------------------------------------------------------- Ttk support It is IMHO not wise to use BWidget with Ttk due to different concepts. For the migration of my programs to Ttk, limited Ttk support is integrated in the following widgets: - ScrolledWindow, Label, Button - MainFrame (-sizegrip option) - NoteBook (only user frame) - LabelEntry, LabelFrame, PagesMgr (by Wojciech Kocjan, docs missing?) The documentation pages list the parameter differences. I do not recommend using this for new projects. To activate Ttk support, use: Widget::themed 1 -------------------------------------------------------------------------- DOCUMENTATION HTML manual pages are available in the BWman subdirectory. Point to index.html for frame version with tree navigation, or to contents.html for no frame version. -------------------------------------------------------------------------- CONTACTS The BWidget toolkit is downloadable on Sourceforge, at http://www.sourceforge.net/projects/tcllib/ The repository and issue tracker is on: http://core.tcl.tk/bwidget/ -------------------------------------------------------------------------- Changes: (Only showing changes since BWidget 1.9.7 release.) 2014-09-05 widget.tcl: Widget::which errors when option not present. Ticket [397db23424] 2014-05-21 widget.tcl: Don't invoke unqualified upvar in callers scope. Patch by Adrian Medrano Calvo. Ticket [046fa04231] widget.tcl: Don't double creation of temporary widget for default values retrieval. Use result of _get_tkwidget_options instead. By Adrian Medrano Calvo. Ticket [393b67ab19] widget.tcl: New procedure Widget::which (as in [namespace which]), that returns the fully qualified name for a widget option or widget variable. By Adrian Medrano Calvo. Ticket [a8705e5fd9] widget.tcl: Remove unneeded upvar. By Adrian Medrano Calvo. Ticket [43f93e0a97] widget.tcl et al: remove apparently unused procedure Widget::syncoptions and all calls. By Adrian Medrano Calvo. Ticket [3c2b8eafc6] 2013-12-13 scrollframe.tcl: Make -constrainedwidth 1 and -constrainedheight 1 work together. Patch by Simon Bachmann. Ticket [2fa44401d5] 2013-10-17 widget.tcl: Remove temporary widget. By Wolfgang S. Kechel. Ticket [6cd041bcc1] 2013-10-15 combobox.tcl: Themed ComboBox color specifications are honored. By Wolfgang S. Kechel. Ticket [6c6704e40f] 2013-10-14 combobox.tcl: Fails in themed mode with "unknown option -bg". Patch solves this but listbox items are white on white when "-foreground" is specified. By Wolfgang S. Kechel. Ticket [6632134ce9] listbox.tcl: Update on option -deltay added. Set x0 to 2 to make highlight work and look nice for listbox with image. Take image into account to show selection. By Wolfgang S. Kechel. Ticket [ff1787af9c] scrollw.tcl: Raise scrolled window if it is below in the window hierarchy. By Wolfgang S. Kechel. Ticket [ff1787af9c] 2013-10-07 dynhelp.tcl: Sometimes the tooltip does not occur under gnome/metacity on ubuntu. By Wolfgang S. Kechel. Ticket [a588d2f800] |