Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Disable keyboard navigation in Tree(Is it possible to disable the "select by typing" feature?)
icon5.gif  Disable keyboard navigation in Tree [message #992286] Fri, 21 December 2012 09:28
Daniel Herding is currently offline Daniel HerdingFriend
Messages: 1
Registered: December 2012
Junior Member
If a Tree has focus, it will select tree items when you type letters. In general, that is a nice feature.

In my project, however, there is a requirement that certain letters are hotkeys for actions (e.g. the N key adds a node to the tree). We added a key listener that performs these actions.

Now when I press N, it first performs our action, and then selects a node that starts with "N".

Is it possible to disable the keyboard navigation in Trees so that typing a letter will only perform our action, and not select anything?
Previous Topic:SWT Browser On ARM Linux ?
Next Topic:please redirect: stack memory exhaustion gtk, ubuntu 12.10, jdk 7
Goto Forum:
  


Current Time: Thu Mar 28 22:44:50 GMT 2024

Powered by FUDForum. Page generated in 0.01847 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top