Changes for version 5.1

  • "fixed" (static) - always visible and be packed as a widget along with the text-entry and button portions. Default is 0 (not fixed), as has always been the case. If set to a true value, the listbox will appear just below the text-entry and button widgets. If set to "top", the listbox will appear above them.
  • Added -listboxtype option to specify that the drop-down list should use a "Tk::HList" widget by specifying "-listboxtype => 'HListbox', if Tk::HListbox is installed. The default remains 'Listbox'. Also added Tk::HListbox-specific options: -indicator, and -itemtype. These are ignored if the default Tk::Listbox is used. The -label option is now dynamically configurable via $w->configure(). Added -labelforeground, -labelbackground, and -labelfont options.
  • NOTE: REMOVED the "altbinding" string "Tab=PopList" as this is now the default (to roll up / hide the drop-down list whenever the [Tab] key is pressed within it (unless -fixedlist is specified). To retain the old behavior of keeping the drop-down list visible, the developer must now specify "Tab=KeepList". Keeping the list visible only worked on Unixish systems anyway, as M$-Windows always rolled up the list anyway.
  • Fixed several related key-binding / focusing issues along with the usual code and doc. cleanups / optimizations.

Modules

Full-featured "Combo-box" (Text-entry combined with drop-down listbox) derived from Tk::BrowseEntry with many additional features and options.