# Capture Window - This example is a front-end to xwd, xwud, and xpr.
DestroyModuleConfig        FormFvwmCapture.*
*FormFvwmCapture.Line       center
*FormFvwmCapture.Text       "Capture Window"
*FormFvwmCapture.Line       left
*FormFvwmCapture.Text       "File: "
*FormFvwmCapture.Input      file            25      "/tmp/Capture"
*FormFvwmCapture.Line       left
*FormFvwmCapture.Text       "Printer: "
*FormFvwmCapture.Input      printer         20      "$PRINTER"
*FormFvwmCapture.Line       expand
*FormFvwmCapture.Selection  PtrType single
*FormFvwmCapture.Choice     PS      ps      on      "PostScript"
*FormFvwmCapture.Choice     Ljet    ljet    off     "HP LaserJet"
*FormFvwmCapture.Line       left
*FormFvwmCapture.Text       "xwd options:"
*FormFvwmCapture.Line       expand
*FormFvwmCapture.Selection  Options multiple
*FormFvwmCapture.Choice     Brd     -nobdrs off     "No border"
*FormFvwmCapture.Choice     Frm     -frame  on      "With frame"
*FormFvwmCapture.Choice     XYZ     -xy     off     "XY format"
*FormFvwmCapture.Line       expand
*FormFvwmCapture.Button     continue        "Capture"       ^M
*FormFvwmCapture.Command    Exec exec xwd -out $(file) $(Options) &
*FormFvwmCapture.Button     continue        "Preview"
*FormFvwmCapture.Command    Exec exec xwud -in $(file) &
*FormFvwmCapture.Button     continue        "Print"
*FormFvwmCapture.Command    Exec exec xpr -device $(PtrType) $(file) | lpr -P $(printer) &
*FormFvwmCapture.Button     quit            "Quit"
