Buttons may be created or added to the the three button groups in the
exmh window. The X resources' definition for the new buttons should be
added to your .exmh-defaults file. Below is the syntax for adding buttons
to any of the three button groups:
- Syntax for adding buttons to the Main buttonlist: (TOP BUTTON GROUP)
- ex: *Main.ubuttonlist: qt
- *Main.qt.text: Quit
- *Main.qt.command: exit
>>This is just an example of how to define the new button. "qt"
is a user-defined variable that will be used by exmh for assigning the
new button name. When defining a new variable name for a button in any
of the three button groups, you have to use the "ubuttonlist"
because this area is the one that holds all the user-added customizations.
- Syntax for adding buttons to the table of contents area:(MIDDLE
BUTTONS)
- ex: This will create a new button for the Pick function
- *Fops.ubuttonlist: pck
- *Fops.pck.text: Pick (this line defines the text label of the new button
).
- *Fops.pck.command: Pick (This is the command to execute the "pick"
function of exmh).
- Syntax for adding buttons to the message display area: (LAST BUTTON
GROUP)
- ex: This will create a new button for the print function
- *Mops.ubuttonlist: prnt
- *Mops.prnt.text: Print
- *Mops.prnt.command: Print
example
on where to put the above definition in your .exmh-defaults file.