XFAPPDEF(1)

NAME
xfappdef - interactive Tk/X Resource editor

SYNOPSIS
xfappdef [xfappdef options] [file]

xfappdef options:

    [-xfBindPath <filename>] [-xfColorFile <filename>] [-xfCursorFile <filename>] [-xfFontFile <filename>] [-xfLoading] [-xfLoadPath <pathname>] [-xfModelColor] [-xfModelMono] [-xfNoLoading] [-xfStartup <filename>] [filename]

DESCRIPTION

XFappdef allows to interactively manipulate an X Resource file. It is possible to add and remove resource name specifiers. There are menus, where all known program classes are listed, and menus showing a set of commonly used resource names. For certain resources, there exist special dialogs, where the user can interactively select/specify the value for a resource. The program has dialogs for Font, Color, Cursor File and Pixmap selection. This program is part of the XF distribution and is used to manipulate the XF resources, and the resources for the program that is build with XF.

The upper list contains all resource specifications that are given in the application resource file. The two buttons below this list control the insertion and deletion of resource specifiers. The entry contains the currently selected resource specifier, or the name of a resource specifier that should be inserted or deleted. The text field contains the value of the currently selected resource specifier, or the new value to be inserted. The buttons at the bottom activate special dialogs that support the setting of certain resource types.

To load, merge and save the resource file, the menubutton (File) is used. The menubutton (Classes) provides access to all application class names that are known. By selecting the menubutton (Resources), a selection of commonly used resource names can be accessed. Selecting an application class name or a resource name automatically inserts this value into the entry field that shows the resource name specifier.

OPTIONS

The following options can be controlled from the command line.

-xfBindFile filename
    This option specifies a file containing class bindings that implement a default behavior of all widgets.

-xfColorFile filename
    This option specifies a file containing a list of all known colors. This file is automatically created when XF is installed, so please set this variable to the location of the Colors file of the installed XF (usually in the directory ./lib inside the XF distribution).

-xfCursorFile filename
    This option specifies a file containing a list of all known cursors. This file is automatically created when XF is installed, so please set this variable to the location of the Cursors file of the installed XF (usually in the directory ./lib inside the XF distribution).

-xfFontFile filename
    This option specifies a file containing a list of all known fonts. This file is automatically created when XF is installed, so please set this variable to the location of the Fonts file of the installed XF (usually in the directory ./lib inside the XF distribution).

-xfLoading
    This option specifies that the program reports the source filenames that it loads. This is useful when the program automatically accesses archives in the development phase.

-xfLoadPath pathname
    This option specifies a list of pathnames (separated by ":") where the Tcl source files can be found. In order to find the Tcl source files they must be stored in one of these directories.

-xfModelColor
    This option starts the application in color mode.

-xfModelMono
    This option starts the application in monochrome mode.

-xfNoLoading
    This option specifies that the program does not report the source filenames that it loads.

-xfStartup filename
    This option specifies a file containing additional Tcl/Tk code that is loaded at startup.

filename
    The file name given at the commandline specifies the X Resource file that is to be read and modified.

ENVIRONMENT

DISPLAY
    The default display to be used.

XF_COLOR_FILE
    This variable specifies a file containing a list of all known colors. This file is automatically created when XF is installed, so please set this variable to the location of the Colors file of the installed XF (usually in the directory ./lib inside the XF distribution).

XF_CURSOR_FILE
    This variable specifies a file containing a list of all known cursors. This file is automatically created when XF is installed, so please set this variable to the location of the Cursors file of the installed XF (usually in the directory ./lib inside the XF distribution).

XF_FONT_FILE
    This variable specifies a file containing a list of all known fonts. This file is automatically created when XF is installed, so please set this variable to the location of the Fonts file of the installed XF (usually in the directory ./lib inside the XF distribution).

XF_LOAD_PATH
    This variable specifies a list of pathnames (separated by ":") where the Tcl source files can be found. In order to find the Tcl source files they must be stored in one of these directories.

BUGS

•   Surely there are many bugs.

SEE ALSO

Tcl(3), Tk-manuals(3), XF-documentation

AUTHOR

Sven Delmas
TU Berlin, Germany
garfield@cs.tu-berlin.de