|
From: Joe E. <jen...@fl...> - 2006-09-27 02:31:06
|
Jeff Hobbs wrote: > [JE]: > > '-selectmode extended' and '-selectmode browse' were omitted > > on purpose. These are well-established, but not, I think, > > terribly well-defined. > > I would disagree on the choices. I use treectrl quite a bit, and have used > many related trees. The -selectmode browse is the most common, and indeed th > e default of the core listbox. It is what users will most commonly expect. > -selectmode extended would also be useful (disjoint multiple selection). I > think multiple and single are in fact the least common variants. Agreed, and in fact the behavior with '-selectmode single' is much like a listbox with '-selectmode browse' (selection is linked to the focus item, etc.) Likewise a ttk::treeview with '-selectmode multiple' acts (mostly) like a core listbox with '-selectmode extended'. I used the keywords "single"/"multiple" because that seems more intuitive than "browse"/"extended" (even though the behavior is closer to what the core listbox calls the latter). --Joe English |