X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=manual%2Fhtml_node%2FKeys.html;h=1c31e9d6de429a9c2677b52e8349c9c1dc86d20c;hb=a36b2aca1054f083cd50958eff7e347e8aa6bfc5;hp=289c5e7e536635c5a206bb2841e4452144c95b12;hpb=2a90bf5372bfdc59dd7c88d061d0ef841d69f063;p=xboard.git diff --git a/manual/html_node/Keys.html b/manual/html_node/Keys.html index 289c5e7..1c31e9d 100644 --- a/manual/html_node/Keys.html +++ b/manual/html_node/Keys.html @@ -32,57 +32,42 @@ Up: Menus
You can add or remove shortcut keys using the X resources
-form.translations
. Here is an example of what would go in your
-.Xresources file:
+
In the Xaw build of XBoard you can add or remove shortcut keys
+using the X resources paneA.translations
.
+Here is an example of what could go into your
+.Xdefaults file:
-
XBoard*form.translations: \ - Shift<Key>?: AboutGameProc() \n\ - <Key>y: AcceptProc() \n\ - <Key>n: DeclineProc() \n\ - <Key>i: NothingProc() +XBoard*paneA.translations: \ + Shift<Key>?: MenuItem(Help.About) \n\ + Ctrl<Key>y: MenuItem(Action.Accept) \n\ + Ctrl<Key>n: MenuItem(Action.Decline) \n\ + Ctrl<Key>i: MenuItem(Nothing)-Binding a key to
NothingProc
makes it do nothing, thus removing -it as a shortcut key. The XBoard commands that can be bound to keys +So the key should always be bound to the action 'MenuItem', +with the (hierarchical) name of the menu item as argument. +There are a few actions available for which no menu item exists: +Binding a key to
Nothing
makes it do nothing, thus removing +it as a shortcut key. Other such functions that can be bound to keys are: -AbortProc, AboutGameProc, AboutProc, AcceptProc, AdjournProc, - AlwaysQueenProc, AnalysisModeProc, AnalyzeFileProc, - AnimateDraggingProc, AnimateMovingProc, AutobsProc, AutoflagProc, - AutoflipProc, AutoraiseProc, AutosaveProc, BackwardProc, - BlindfoldProc, BookProc, CallFlagProc, CopyGameProc, CopyPositionProc, - DebugProc, DeclineProc, DrawProc, EditCommentProc, EditGameProc, - EditPositionProc, EditTagsProc, EnterKeyProc, FlashMovesProc, - FlipViewProc, ForwardProc, GetMoveListProc, HighlightLastMoveProc, - HintProc, IcsAlarmProc, IcsClientProc, IcsInputBoxProc, - InfoProc, LoadGameProc, LoadNextGameProc, LoadNextPositionProc, - LoadPositionProc, LoadPrevGameProc, LoadPrevPositionProc, - LoadSelectedProc, MachineBlackProc, MachineWhiteProc, MailMoveProc, - ManProc, MoveNowProc, MoveSoundProc, NothingProc, OldSaveStyleProc, - PasteGameProc, PastePositionProc, PauseProc, PeriodicUpdatesProc, - PonderNextMoveProc, PopupExitMessageProc, PopupMoveErrorsProc, - PremoveProc, QuietPlayProc, QuitProc, ReloadCmailMsgProc, - ReloadGameProc, ReloadPositionProc, RematchProc, ResetProc, - ResignProc, RetractMoveProc, RevertProc, SaveGameProc, - SavePositionProc, ShowCoordsProc, ShowGameListProc, ShowThinkingProc, - StopExaminingProc, StopObservingProc, TestLegalityProc, ToEndProc, - ToStartProc, TrainingProc, TruncateGameProc, and TwoMachinesProc. +AboutGame, DebugProc (switches the -debug option on or off), + LoadNextGame, LoadPrevGame, ReloadGame, ReloadPosition.