mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 18:30:38 +00:00
Add support for backtab character.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31026 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7c984daa0b
commit
7957a90007
5 changed files with 33 additions and 3 deletions
|
@ -3218,6 +3218,13 @@ resetCursorRectsForView(NSView *theView)
|
|||
return;
|
||||
}
|
||||
|
||||
// If this is a BACKTAB event, move to the previous key view
|
||||
if (character == NSTabCharacter)
|
||||
{
|
||||
[self selectPreviousKeyView: self];
|
||||
return;
|
||||
}
|
||||
|
||||
// If this is a TAB or TAB+SHIFT event, move to the next key view
|
||||
if (character == NSTabCharacter)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue