FVWM Functions

Functions can be used to achieve lots of different tasks. The basic syntax for a function is:

#####
# DestroyFunc FuncName
# AddToFunc   FuncName
# + I (Action to happen Immediately)
# + C (Action to happen on a mouse Click)
# + D (Action to happen on a mouse Double click)
# + H (Action to happen on a mouse Hold)
# + M (Action to happen on a mouse Motion)
###########

The following are a list of pages about Functions.

ComplexFunctions
This page gives the basics about complex functions.

FunctionContext
Functions are usually run in the context of the window in which they were run, but not always. Here are some pointers for ensuring commands are run in the correct context.

FunctionSynchronisation
This page describes how to ensure functions finish a command before running the next.

FunctionTips
Functions are usually run in the context of the window in which they were run, but not always. Here are some pointers for ensuring commands are run in the correct context.

StartFunction
The StartFunction is run as soon as Fvwm is done Reading the config file. Similarly the ExitFunction is run when fvwm ends.