Added tentative explanation of GSDefaultKeyBindings and GSCustomKeyBindings

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11795 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-12-18 00:32:34 +00:00
parent 0f1621859c
commit 11508ce02d

View file

@ -43,6 +43,46 @@
non bold.
</p>
</desc>
<term>GSDefaultKeyBindings</term>
<desc>
<p>
A string, <code>DefaultKeyBindings</code> by default. This
string (with <code>.dict</code> appended) is the name of the
files the library reads to load the default keybindings.
The library first tries to read the file with that name from
the
<code>$GNUSTEP_SYSTEM_ROOT/Libraries/Resources/KeyBindings/</code>
directory, loading all the keybindings it finds in the file,
then it loads the similar file from
<code>$GNUSTEP_LOCAL_ROOT</code> and then the similar one
from <code>$GNUSTEP_NETWORK_ROOT</code> and at last the one
from <code>$GNUSTEP_USER_ROOT</code>. If you change the
<code>GSDefaultKeyBindings</code> user default, the library
will not load the default keybindings contained in the
system <code>DefaultKeyBindings.dict</code> file, but
instead load the specified files in its place. You normally
don't want this (so this option is rarely used), because you
normally just want to add your own keybindings to the
default ones, and to do this, you can just add a
<code>DefaultKeyBindings.dict</code> file in your
<code>~/GNUstep/Libraries/Resources/KeyBindings/</code>
directory, and keybindings from this file are automatically
loaded in addition to the default ones. Setting
<code>GSDefaultKeyBindings</code> will instead cause the
default keybindings not to be read at all.
</p>
</desc>
<term>GSCustomKeyBindings</term>
<desc>
<p>
An array of strings. If set, the strings are interpreted as
filenames and the keybindings from those files are loaded after
the default ones, in the order they are specified in the array.
Might be useful if you want to have different applications use
different keybindings (you can then run each application with
a different <code>GSCustomKeyBindings</code> default).
</p>
</desc>
<term>GSSavePanelShowProgress</term>
<desc>
<p>
@ -51,8 +91,7 @@
the open panel) displays "Reading Directory ***.."
(progressively adding dots) in the window titlebar while
reading very big directories (more than 100 entries). This
is meant to make things friendlier for slow computers. Not
well tested.
is meant to make things friendlier for slow computers.
</p>
</desc>
<term>GSLogWorkspaceTimeout</term>
@ -72,7 +111,7 @@
<p>
A string value that defaults to <code>"GSWorkspace"</code>.
This defines the application NSWorkspace will try to
conntect to process some operations that require an external
connect to process some operations that require an external
application. This is a new feature and has not been tested.
</p>
</desc>