xe -- X windows editor implemented as a tcl/tk script

contents

[usage] [buttons] [operations] [widgets] [functions]

usage

xe [file]
Edits the file if given, a temp file in $HOME/tmp if no file is given. Attempts to execute $HOME/xerc as a wish script if it exists.

buttons

The simple button operations are

operations

The rest of the buttons pop up new operations, with arguments. In each case, the new operation has a mini-button-panel, with a"del" button (to remove it when no longer needed), and any operations the panel controls. Each mini-panel has a text entry next to it, which is used as an argument to the operation.

Buttons that pop up persistent customized operations are

widgets

The widgets are simply arranged, with a button panel frame .panel, with the buttons named by their lables, an .ops frame which contains the operations mini-button-panels, and .scroll and .text wigets for the text being edited.

The widget names can thus be used in .xerc to select custom fonts, colors, initial operations based on filename extension (ie, edit modes), and so on. There are also some helper functions to simplify some of the chores most often done in .xerc or tclop text.

functions

Note also these global variables
[home] [mail throopw@cisco.com]
Last edited Mon Jun 3 13:47:31 1996 - Last generated Mon Jun 3 13:47:32 1996