Re: ANN: listbox 0.0.1 (alpha)
From: Mark G. Saye (markgsaye_at_yahoo.com)
Date: 03/11/04
- Next message: Killerlou: "Re: sourcing tcl scripts from table of a database."
- Previous message: Roy Terry: "Re: ANN: listbox 0.0.1 (alpha)"
- In reply to: Roy Terry: "Re: ANN: listbox 0.0.1 (alpha)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 11 Mar 2004 09:41:23 -0800
Roy Terry wrote:
>
> "Mark G. Saye" wrote:
>
>>listbox package for Tcl/Tk
>>
>>Features
>>
>> - Creates own namespace as child of calling namespace.
>> - Exports single command listbox::listbox.
>> - Creates all commands and variables in own namespace (does not
>> pollute global namespace).
>> - TIP 55 compliance for packaging and metadata.
>
> This is all bookkeeping.
> Can you tell us about the features that add
> value and might motivate developers to
> try the package? Or at least make same available for
> a few web-clicks?
You're right, of course. I had intended a better description for a later
version, but seeing as you've asked ;-} here's a quick summary. I'll add
these into the README file. There's also the main documentation online at:
http://www.speakeasy.org/~msaye/tk/listbox/
http://www.speakeasy.org/~msaye/tk/listbox/doc/en/listbox.html
http://www.speakeasy.org/~msaye/tk/listbox/doc/en/listbox.txt
Feature Summary
---------------
<Control-a> selects all listbox items
<Shift-KeyPress-Up> and <Shift-KeyPress-Down> move selected items up/down.
<Return> generates a <<ListboxActivate>> event.
<Double-1> generates a <<ListboxActivate>> event.
Clicking inside the listbox, but outside of any listbox items, clears
the selection.
You can sort the listbox while maintaining the selection and active item.
There is a chronological selection, so you can see which order items
were selected (i.e. when you get a <<ListboxSelect>> event, you can get
the last index from the selection to find out which item was actually
selected/deselected.
You can export the listbox selection without the selection being cleared
when making a selection in another widget (see http://wiki.tcl.tk/9597)
You can replace listbox items with a specified string (either all
selected items, or by specifying indices).
You can remove/delete listbox items (either all selected items, or by
specifying indices).
You can set the listbox's maximum height.
The package does *not* modify Listbox class bindings, so will not affect
standard listboxes. It creates the new bindtag eListbox (for extended
listbox), which imports all Listbox bindings, and thus overrides some of
them.
-- Mark G. Saye markgsaye @ yahoo.com
- Next message: Killerlou: "Re: sourcing tcl scripts from table of a database."
- Previous message: Roy Terry: "Re: ANN: listbox 0.0.1 (alpha)"
- In reply to: Roy Terry: "Re: ANN: listbox 0.0.1 (alpha)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|