Version 9 of combobox

Updated 2002-08-23 14:53:05

[Explain what a combobox is.]


While Tk doesn't build in a combobox widget [will this change in 8.4?], there's a wealth of implementations available. Bryan Oakley's is pure-Tcl, widely used, and maintained efficiently. BWidgets is a popular pure-Tcl widget set [in Batteries Included distributions?] with an excellent combobox. [... List others, including Donal Fellows', the Iwidgets one, ...]

[Point to the docs to these various comboboxs!!!]


 What: ComboBox (Fellows)
 Where: http://www.cs.man.ac.uk/%7Efellowsd/tcl/combobox.tcl 
 Description: Tk combo box code.
 Updated: 04/1998
 Contact: mailto:[email protected]  (Donal K. Fellows)

 What: ComboBox (jay)
 Where: From the contact
 Description: Tk combo box code.
 Updated:
 Contact: mailto:[email protected]  (jay)

 What: ComboBox (Joglekar)
 Where: http://www.neosoft.com/tcl/ftparchive/sorted/packages-7.6/devel/graphics/ComboBox.tar.gz 
 Description: Tk 4.0 code to implement a basic ComboBox widget.
 Updated: 10/1998
 Contact: mailto:[email protected]  (Ashutosh Joglekar)

 What: Combobox (Oakley)
 Where: http://purl.oclc.org/net/oakley/tcl/combobox/ 
 Description: Tcl/Tk 8.0 or better based, tcl only, combobox.  All
        the code is in one file, with an API similar to the standard
        Tk widgets (with subcommands such as configure, cget, insert
        etc).  Emulates the look and feel of a Windows combobox.
        Supports all platforms supported by Tcl 8.x.  Recommended
        used with Tcl 8.x.  New versions continue to appear above -
        check to see if a new release with bug fixes and features is
        available.
 Updated: 04/1999
 Contact: mailto:[email protected]  (Bryan Oakley)

 What: MegaWidget package
 Where: http://www.purl.org/net/hobbs/tcl/script/widget/widget-0.9.tar.gz 
 Description: Tk 8.x megawidget capability.
        While tested thru Tk 8.0b2, some problems still remained
        under Windows with Tk 8.
        Megawidgets included in this package are combobox, console,
        hierarchy list display, progressbar, tabnotebook, validating
        entry widget, and scrolledtext.  Also, support for balloon help
        and paned window management are included.
 Updated: 03/2001
 Contact: mailto:[email protected] 

 What: Miscellaneous Tcl procs (Corey)
 Where: http://www.kencorey.com/tcl/answers.html 
 Description: Examples of how to do things like provide balloon help over menu
        items, do background processing, eat events while a program is busy,
        do combobox widgets, scroll two text widgets with one scrollbar,
        scroll to currently focused canvas item, moving graphs, move
        the nodes of a polygon around dynamically, track what procedures
        are called (with what arguments), scrolling a grid managed frame in
        a canvas, using fileevent on a pipe, simple spreadsheet using
        grid, and a simple listbox inside a text widget.
        The contact isn't currently updating this page.
 Updated: 08/1998
 Contact: mailto:[email protected]  (Ken Corey)

 What: PRS Open Source Software
 Where: http://www.prs.de/int/products/tcltkres/rtl/ 
        http://www.prs.de/int/products/tcltkres/printerdll/ 
 Description: PRS has several Tcl/Tk downloadable items that are
        open source and free to use.  RTL is a runtime library
        collection of often used complex widgets which reduces
        the effort for developing sophisticated platform independant
        applications.  It includes a scrollable grid, input combobox,
        multiple column listbox, spinbox widget, shell widget,
        tree widget, and preferences widget.
        printerdll is an extension to let you print the contents of
        a Windows NT window.
 Updated: 09/2001
 Contact: mailto:[email protected] 

 What: Tix
 Where: http://tixlibrary.sourceforge.net/
        http://tix.sourceforge.net/
        http://pages.infinit.net/cclients/
        http://rain.org/%7Eart/tixbindings.txt
        http://www.xraylith.wisc.edu/%7Ekhan/software/tcl/
        http://www.lb.u-tokai.ac.jp/%7Eled/files/windows/cygwin/tcltk/
        http://www.star.spb.ru/%7Esmall/tcldev/tix.zip
        ftp://ftp.ncnr.nist.gov/pub/cryst/tcltk/Tix4.1.0.007_tcltk82_patch
        http://www.go.dlr.de/fresh/unix/src/contrib/Tix4.1.0.007.tar.gz
        http://members.home.net/tfwilkason/tcl/Batteries/

Description: Tix is an extension to Tk that includes more than 30 new

        widgets and megawidgets, including ComboBox, Motif style FileSelectBox, MS
        Windows style FileSelectBox, PanedWindow, NoteBook, Hierarchical
        Listbox, Directory List/Tree View, Spin Control widget, Balloon help
        window and many more. Tix also has built-in support for XPM
        images. A Form geometry manager makes it easy to lay-out your
        interface using Motif Form-like attachment rules.
        Tix 4.x is written in C, and requires building a new
        interpreter based on Tk 4.0/Tcl 7.4 or newer.
        It can also be used with itcl 2.0 or newer.
        Tix 4.x now works with Embedded Tk as well.
        Tix 4.x works on both Windows and Unix platforms.
        Tix 4.x has license terms similar to the Tcl/Tk license terms.
        The tixbindings file is some additional bindings for the TixHlist
         widget, including scrolling, entry editing, and local drag and
         drop.  Version 4.1 works with Tk 8.0.
        Mumit Khan has, at the xraylith site, a simple patch for Tix
         to get the demos to work under Tk 8.0 patched with Img 1.1's
         Tcl object support.
        The Tix widget set has been adopted by Gregg Squires at the
         mne web site.
        The ncnr patches to Tix allowed creator to compile Tix 4.1 with
         Tcl/Tk 8.2.3 on a SGI.
        The infinit site has a Windows implementation (version 4.1.8.2),
         using stubs, as well as a variety of patches.
        The two sourceforge sites provide NetCVS access to two different
        Tix source code trees.  One is designed for stability and cross
         platform interests, while the other is designed around new design
         decisions and development.
        The current version of Tix is 8.1.1, with an beta release of
         8.2.0 available for testing.
 Updated: 10/2001
 Contact: http://groups.yahoo.com/group/tix_announce/
        http://groups.yahoo.com/group/tix/
        mailto:[email protected]

Doc for incr Widgets combobox can be found in http://purl.org/tcl/home/man/iwidgets3.0/combobox.n.html

Try this one: http://incrtcl.sourceforge.net/iwidgets/iwidgets/combobox.html


In Enhancing BWidget is demonstrated how to extend the behavior of BWidgets' comboboxes, to add a history of previous input; or to make them look like a chooser (somehow like the tk_optionMenu (which also is a kind of combo, but looks kind of old-fashioned these days). RS


[Mention tk_optionMenu.]


Category Command