Next: Text Editing
Up: Setting up your Resource
Previous: Keyboard Statements
  Contents
Mentioned above, a statement of the form
toolbar ELEMENT VALUE
Allows the user to customize the toolbar via the resource file.
ELEMENT stands for the name of a toolbar element, and VALUE for what
that element should be. An example of this would be something like
the following:
toolbar window_grab OFF
Which would cause the window grabbing button on the toolbar not to be
shown when GTKeyboard starts. ELEMENTs are case INSENSITIVE, which
is to say, there is no difference between specifying the ELEMENT as
``copy'' or ``COPY''.
Each button on the toolbar has a name associated with it, which
corresponds to an ELEMENT. You can control which ELEMENTs are shown
and which are hidden by using the ON/OFF specifiers in the resource
file. Note that ALL toolbar buttons are always ON by default. If you
don't want to see them, you must set them OFF in your resource file.
The following are the names of the different ELEMENT statements
possible when using the ``toolbar'' line in an rcfile. More
can be added upon request as well as more possible toolbar buttons in
general. Note that if you disable all of the toolbar buttons, the
Options
Looks -> Toolbar menu to
achieve the same effect.
- Open: The open-file toolbar button
- New: The new-file toolbar button
- Save: The save-file toolbar button
- Cut: The cut-text toolbar button
- Copy: The copy-text toolbar button
- Paste: The paste-text toolbar button
- Window_grab: The grab-window button
- Window_ignore: The ignore-window button.
- Color: Button to change gtkeyboard's colors
- Font: Button to change text fonts
- Kbd_font: Button to change keyboard fonts.
Note: This was known as keyboard_font in
previous versions
- Reset_style: The button to reset application
defaults.
- Positioning: If ON, a series of buttons will be
on the toolbar to control repositioning of the application on the
screen.
- Shortcuts: If this is ON, (which it is by
default) a row of 6 buttons and a define user shortcuts button will be
present on the toolbar.
- Status_report: Shows/hides a button that when
clicked, outputs a status report into the status window.
- Raise: Shows an up arrow on the toolbar that you
can use to stack the GTKeyboard window above all others
- Lower: Shows a down arrow on the toolbar that
when clicked sends GTKeyboard to the background.
Next: Text Editing
Up: Setting up your Resource
Previous: Keyboard Statements
  Contents
David Allen
2001-04-26