Group: comp.lang.tcl


Subject: ttk::treeview - keyboard traversal
From: ZB
Date: 12/9/2007 11:31:10 AM
I'm not sure, whether the keyboard traversal in case of ttk::treeview works properly - or perhaps I'm making some mistake? During <Tab> traversal, when treeview's window is visible, the focus can be set to treeview's window - I can see that by the fact, that I can scroll the contents using <PgUp> and <PgDn>. The problem is, that I'm unable to make the highlight bar, which could be then moved just by cursor keys, to appear - so I'm unable to make any choice from the keyboard, until I use the mouse. Is it all OK? If so - how could I call the highlight bar with just the keyboard? I was examining that using that example from demo ("multi-column list of countries") included in Tk package. -- ZB

Subject: ttk::treeview - keyboard traversal
From: ZB
Date: 12/9/2007 11:08:34 PM
OK, I'll answer to myself: it wasn't traversal-related, just treeview doesn't automatically make the selection during focus (if there weren't made one previously). -- ZB