DestroyMenu MenuFvwmRoot
AddToMenu   MenuFvwmRoot "Root Menu" Title
+ "&Shells%menu/xterm.xpm%"			Popup MenuFvwmShells
+ "&Programs%menu/utility.xpm%"			Popup MenuFvwmPrograms
+ "S&ystem%menu/monitor.xpm%"			Popup MenuFvwmSystem
+ "Person&al%menu/home.xpm%"			Popup MenuFvwmPersonal
+ "" Nop
+ "&Theme Management%menu/desktop.xpm%"		Popup MenuFvwmThemes
+ "Fvwm &Configuration%menu/unknown.xpm%"	Popup MenuFvwmConfiguration
+ "&Help%menu/help.xpm%"			Popup MenuFvwmHelp
+ "" Nop
+ "Fvwm &Modules%menu/unknown.xpm%"		Popup MenuFvwmModules
+ "&Window Operations%menu/window.xpm%"		Popup MenuFvwmWindowOps
+ "" Nop
+ "Screen Saver%menu/display.xpm%"		Popup MenuFvwmScreenSaver
+ "&Quit FVWM%menu/wm-quit.xpm%"		Popup MenuFvwmQuit

# ----------------------------------------------------------------------------
# ---------- Shells

# This menu is in the separated file menus-user

# ----------------------------------------------------------------------------
# ---------- Programs

# This menu is in the separated file menus-user

# ----------------------------------------------------------------------------
# ---------- System

# This menu is in the separated file menus-user

# ----------------------------------------------------------------------------
# ---------- Personal

# Define this menus in your personal theme: themes/personal/menus-extra
AddToMenu   MenuFvwmPersonal

# ----------------------------------------------------------------------------
# ---------- Help

DestroyMenu MenuFvwmHelp
AddToMenu   MenuFvwmHelp "Help" Title
+ "%menu/help.xpm%FVWM Man Pages"	Popup MenuFvwmManPages
+ "%menu/www.xpm%FVWM Web Pages"	Popup MenuFvwmWebPages
+ "%menu/information.xpm%Show FVWM Version" FuncFvwmShowVersionInfo
+ "" Nop
+ "%menu/help.xpm%Xman"      		Exec exec xman
+ "%menu/help.xpm%Gnome Help Browser"	Exec exec gnome-help-browser
+ "%menu/help.xpm%KDE Help"		Exec exec kdehelp

DestroyMenu MenuFvwmWebPages
AddToMenu   MenuFvwmWebPages
+ "FVWM Web Pages" Title
+ "%menu/information.xpm%Home Page"    FuncFvwmOpenURL http://www.fvwm.org/
+ "%menu/information.xpm%Screenshots"  FuncFvwmOpenURL http://www.fvwm.org/screenshots/
+ "%menu/information.xpm%Download"     FuncFvwmOpenURL http://www.fvwm.org/download.html
+ "%menu/information.xpm%FAQ"          FuncFvwmOpenURL http://www.fvwm.org/generated/FAQ.html
+ "FVWM Themes Web Pages" Title
+ "%menu/information.xpm%Home Page"    FuncFvwmOpenURL http://fvwm-themes.sourceforge.net/
+ "%menu/information.xpm%Project Page" FuncFvwmOpenURL https://sourceforge.net/projects/fvwm-themes/
+ "%menu/information.xpm%Screenshots"  FuncFvwmOpenURL http://fvwm-themes.sourceforge.net/screenshots/
+ "%menu/information.xpm%Download"     FuncFvwmOpenURL https://sourceforge.net/project/showfiles.php?group_id=1738
+ "%menu/information.xpm%FAQ"          FuncFvwmOpenURL http://fvwm-themes.sourceforge.net/doc/FAQ

DestroyMenu MenuFvwmManPages
AddToMenu   MenuFvwmManPages "FVWM Man Pages" Title
+ "%menu/help.xpm%fvwm2"               FuncFvwmViewManPage fvwm2
+ "%menu/help.xpm%FvwmAnimate"         FuncFvwmViewManPage FvwmAnimate
+ "%menu/help.xpm%FvwmAuto"            FuncFvwmViewManPage FvwmAuto
+ "%menu/help.xpm%FvwmBacker"          FuncFvwmViewManPage FvwmBacker
+ "%menu/help.xpm%FvwmBanner"          FuncFvwmViewManPage FvwmBanner
+ "%menu/help.xpm%FvwmButtons"         FuncFvwmViewManPage FvwmButtons
+ "%menu/help.xpm%FvwmCommand"         FuncFvwmViewManPage FvwmCommand
+ "%menu/help.xpm%FvwmConsole"         FuncFvwmViewManPage FvwmConsole
+ "%menu/help.xpm%FvwmConsoleC.pl"     FuncFvwmViewManPage FvwmConsoleC.pl
+ "%menu/help.xpm%FvwmCpp"             FuncFvwmViewManPage FvwmCpp
+ "%menu/help.xpm%FvwmDebug"           FuncFvwmViewManPage FvwmDebug
+ "%menu/help.xpm%FvwmDragWell"        FuncFvwmViewManPage FvwmDragWell
+ "%menu/help.xpm%FvwmEvent"           FuncFvwmViewManPage FvwmEvent
+ "%menu/help.xpm%FvwmForm"            FuncFvwmViewManPage FvwmForm
+ "%menu/help.xpm%FvwmGtk"             FuncFvwmViewManPage FvwmGtk
+ "%menu/help.xpm%FvwmIconBox"         FuncFvwmViewManPage FvwmIconBox
+ "%menu/help.xpm%FvwmIconMan"         FuncFvwmViewManPage FvwmIconMan
+ "%menu/help.xpm%FvwmIdent"           FuncFvwmViewManPage FvwmIdent
+ "%menu/help.xpm%FvwmM4"              FuncFvwmViewManPage FvwmM4
+ "%menu/help.xpm%FvwmPager"           FuncFvwmViewManPage FvwmPager
+ "%menu/help.xpm%FvwmRearrange"       FuncFvwmViewManPage FvwmRearrange
+ "%menu/help.xpm%FvwmSave"            FuncFvwmViewManPage FvwmSave
+ "%menu/help.xpm%FvwmSaveDesk"        FuncFvwmViewManPage FvwmSaveDesk
+ "%menu/help.xpm%FvwmScript"          FuncFvwmViewManPage FvwmScript
+ "%menu/help.xpm%FvwmScroll"          FuncFvwmViewManPage FvwmScroll
+ "%menu/help.xpm%FvwmTaskBar"         FuncFvwmViewManPage FvwmTaskBar
+ "%menu/help.xpm%FvwmTheme"           FuncFvwmViewManPage FvwmTheme
+ "%menu/help.xpm%FvwmWharf"           FuncFvwmViewManPage FvwmWharf
+ "%menu/help.xpm%FvwmWinList"         FuncFvwmViewManPage FvwmWinList
+ "" Nop
+ "%menu/help.xpm%fvwmbug"             FuncFvwmViewManPage fvwmbug
+ "%menu/help.xpm%fvwmrc_convert"      FuncFvwmViewManPage fvwmrc_convert
+ "%menu/help.xpm%fvwm24_convert"      FuncFvwmViewManPage fvwm24_convert
+ "%menu/help.xpm%xpmroot"             FuncFvwmViewManPage xpmroot
+ "" Nop
+ "%menu/help.xpm%fvwm-menu-desktop"   FuncFvwmViewManPage fvwm-menu-desktop
+ "%menu/help.xpm%fvwm-menu-directory" FuncFvwmViewManPage fvwm-menu-directory
+ "%menu/help.xpm%fvwm-menu-headlines" FuncFvwmViewManPage fvwm-menu-headlines
+ "%menu/help.xpm%fvwm-menu-xlock"     FuncFvwmViewManPage fvwm-menu-xlock
+ "" Nop
+ "%menu/help.xpm%fvwm-themes-config"  FuncFvwmViewManPage fvwm-themes-config
+ "%menu/help.xpm%fvwm-themes-com"     FuncFvwmViewManPage fvwm-themes-com
+ "%menu/help.xpm%fvwm-themes-images"  FuncFvwmViewManPage fvwm-themes-images
+ "%menu/help.xpm%fvwm-themes-menuapp" FuncFvwmViewManPage fvwm-themes-menuapp
+ "%menu/help.xpm%fvwm-themes-start"   FuncFvwmViewManPage fvwm-themes-start

# ----------------------------------------------------------------------------
# ---------- Modules

DestroyMenu MenuFvwmModules
AddToMenu   MenuFvwmModules "Fvwm Modules" Title
+ "Start Theme Modules"   Popup MenuFvwmStartThemeModules
+ "Stop Theme Modules"    Popup MenuFvwmStopThemeModules
+ "" Nop
+ "Start Regular Modules" Popup MenuFvwmStartRegularModules
+ "Stop Regular Modules"  Popup MenuFvwmStopRegularModules

DestroyMenu MenuFvwmStartRegularModules
AddToMenu   MenuFvwmStartRegularModules "Regular Modules" Title
+ "&Animation"            FuncFvwmRestartModule FvwmAnimate
+ "Backe&r"            	  FuncFvwmRestartModule FvwmBacker
+ "Ba&nner"               Module FvwmBanner
+ "Co&mmandS"             FuncFvwmRestartModule FvwmCommandS
+ "&Console"              FuncFvwmConsole
+ "&Identify"          	  Module FvwmIdent
+ "&ScrollBar (1/2 app)"  Module FvwmScroll 2 2
+ "&ScrollBar (75%% scr)" Module FvwmScroll 75p 75p
+ "Auto Raise (1/2 sec)"  FuncFvwmRestartModule 'FvwmAuto 500 "Silent Raise" Nop'
+ "Auto Raise (2 sec)"    FuncFvwmRestartModule 'FvwmAuto 2000 "Silent Raise" Nop'
+ "" Nop
+ "&Forms"                Popup  MenuFvwmForms
+ "&Applets"              Popup  MenuFvwmApplets
+ "" Nop

DestroyMenu MenuFvwmStopRegularModules
AddToMenu   MenuFvwmStopRegularModules "Regular Modules" Title
+ "Stop &Animation"     KillModule FvwmAnimate
+ "Stop Backe&r"       	KillModule FvwmBacker
+ "Stop Co&mmandS"      KillModule FvwmCommandS
+ "Stop &Console"      	KillModule FvwmConsole
+ "Stop &Identify"     	KillModule FvwmIdent
+ "Stop &ScrollBar"    	KillModule FvwmScroll
+ "Stop Auto Rais&e"   	KillModule FvwmAuto
+ "Stop Sound Event"    KillModule FvwmEvent
+ "Stop All &Buttons"   KillModule FvwmButtons
+ "Stop All &Forms"     KillModule FvwmForm

DestroyMenu MenuFvwmForms
AddToMenu   MenuFvwmForms "Fvwm Forms" Title
+ "&Capture"           Module FvwmForm FvwmForm-Capture
+ "&Rlogin"            Module FvwmForm FvwmForm-Rlogin
+ "&Talk"              Module FvwmForm FvwmForm-Talk
+ "&QuitVerify"        Module FvwmForm FvwmForm-QuitVerify

DestroyMenu MenuFvwmApplets
AddToMenu   MenuFvwmApplets "Fvwm Applets" Title
+ "Day"                Module FvwmScript FvwmApplet-Day
+ "DayClock"           Module FvwmScript FvwmApplet-DayClock
+ "DigitalClock"       Module FvwmScript FvwmApplet-DigitalClock
+ "Mixer"              Module FvwmScript FvwmApplet-Mixer


# -----------------------------------------------------------------------------
# ---------- Configuration Menus

DestroyFunc FuncFvwmFormThemeSettings
AddToFunc   FuncFvwmFormThemeSettings
+ I KillModule FvwmForm FvwmForm-ThemeSettings
+ I Module FvwmForm FvwmForm-ThemeSettings

DestroyFunc FuncFvwmStartGtkThemeSettings
AddToFunc   FuncFvwmStartGtkThemeSettings
+ I KillModule FvwmGtk FvwmGtk-Themes
+ I Read FvwmGtk-Themes
+ I ModuleSynchronous FvwmGtk FvwmGtk-Themes

DestroyFunc FuncFvwmGtkThemeSettings 
AddToFunc   FuncFvwmGtkThemeSettings
+ I FuncFvwmStartGtkThemeSettings
+ I DestroyFunc FuncFvwmStartGtkThemeSettings
+ I AddToFunc   FuncFvwmStartGtkThemeSettings
+ I SendToModule FvwmGtk-Themes SettingsDialog

DestroyMenu MenuFvwmConfiguration
AddToMenu   MenuFvwmConfiguration "Fvwm Configuration" Title
+ "Themes Center GUI"    FvwmScript FvwmScript-ThemesCenter \
		--text-colorset 34 --viewer-colorset 33
+ "Configuration Center" FvwmScript FvwmScript-ConfigCenter \
		--text-colorset 34 --icon-colorset 5 --viewer-colorset 33
+ "Theme Settings (form)"	FuncFvwmFormThemeSettings
+ "Theme Settings (gtk)"	FuncFvwmGtkThemeSettings
+ "&Menu Editor (Personal)"	FvwmScript FvwmScript-Menus \
		--text-colorset 34 --icon-colorset 5 --viewer-colorset 33
+ "&Root Cursor"	Module FvwmForm FvwmForm-RootCursor
+ "Form &Defaults"	Module FvwmForm FvwmForm-Form
+ "Control &Animation"	Popup MenuFvwmAnimate
+ "&X Configuration"	Popup MenuFvwmXConfiguration
+ "" Nop
+ "&Utilities"		Popup MenuFvwmConfigUtilities
+ "" Nop
+ "Restore Theme &Background"	FuncFvwmStartThemeBackground
+ "Restore Theme &Cursors"	PipeRead `printf 'Read '; fvwm-themes-config --component cursors --show-value read-file`
+ "" Nop

DestroyMenu MenuFvwmXConfiguration
AddToMenu   MenuFvwmXConfiguration "X Configuration" Title
+ "Bell%menu/sound.xpm%"        FvwmScript FvwmScript-BellSetup
+ "KeyBoard%menu/keyboard.xpm%" FvwmScript FvwmScript-KeyboardSetup
+ "Screen%menu/display.xpm%"    FvwmScript FvwmScript-ScreenSetup
+ "Mouse%menu/mouse.xpm%"       FvwmScript FvwmScript-PointerSetup

DestroyMenu MenuFvwmConfigUtilities
AddToMenu   MenuFvwmConfigUtilities "Configuration Utilities" Title
+ "&Colors Selector"		FvwmScript FvwmScript-ColorSelector \
		--text-colorset 34 --viewer-colorset 33
+ "&Fonts Selector"		FvwmScript FvwmScript-FontSelector \
		--text-colorset 34 --viewer-colorset 33

# -----------------------------------------------------------------------------
# ---------- MenuFvwmQuit

DestroyMenu MenuFvwmQuit
AddToMenu   MenuFvwmQuit "Really Quit FVWM?" Title
+ "&Restart%menu/wm-restart.xpm%"          Restart
+ "&Restart Other%menu/wm-restart.xpm%"    Popup MenuFvwmWindowManager
+ "" Nop
+ "Re&fresh Screen%menu/wm-refresh.xpm%"   Refresh
+ "Re&capture Screen%menu/wm-refresh.xpm%" Recapture
+ "" Nop
+ "&Yes, Really Quit%menu/choice-yes.xpm%" Quit
+ "&No, Don't Quit%menu/choice-no.xpm%"    Nop

# -----------------------------------------------------------------------------
# ---------- MenuFvwmWindow*

# This defines all window operations
DestroyMenu MenuFvwmWindowOps
AddToMenu   MenuFvwmWindowOps "Window Operations" Title
+ "&Move%menu/window-move.xpm%"                 Move
+ "&Resize%menu/window-resize.xpm%"             Resize
+ "(De)&Iconify%menu/window-iconify.xpm%"       Iconify
+ "(Un)Ma&ximize%menu/window-maximize.xpm%"     Maximize
+ "(Un)Shade%menu/window-shade.xpm%"            WindowShade
+ "(Un)Stick%menu/window-stick.xpm%"            Stick
+ "R&aise%menu/window-raise.xpm%"               Raise
+ "&Lower%menu/window-lower.xpm%"               Lower
+ "" Nop
+ "&Delete%menu/window-delete.xpm%"             Delete
+ "&Close%menu/window-close.xpm%"               Close
+ "Destroy%menu/window-destroy.xpm%"            Destroy
+ "" Nop
+ "Move to Page%menu/window-move.xpm%"          Popup MenuFvwmWindowMove
+ "Group Operations%menu/window.xpm%"           Popup MenuFvwmWindowGroupOps
+ "Window Style%menu/window.xpm%"               Popup MenuFvwmWindowStyle
+ "Maximize Window%menu/window-maximize.xpm%"   Popup MenuFvwmWindowMaximize
+ "Refresh Window%menu/wm-refresh.xpm%"         Popup MenuFvwmWindowRefresh
+ "Window Utility%menu/utility.xpm%"            Popup MenuFvwmWindowUtility
+ "" Nop
+ "Identify%menu/window-identify.xpm%"          Module FvwmIdent
+ "Switch to...%menu/window.xpm%"               WindowList
+ "Arrange Icons%menu/wm-refresh.xpm%" All (CurrentDesk Iconic) RecaptureWindow

# A trimmed down version of MenuFvwmWindowOps, good for binding to decorations
DestroyMenu MenuFvwmWindowOps2
AddToMenu   MenuFvwmWindowOps2
+ "Restore	Alt-F6%menu/window-iconify.xpm%"   FuncFvwmRestore
+ "&Move	Alt-F7%menu/window-move.xpm%"      Move
+ "&Resize	Alt-F8%menu/window-resize.xpm%"    Resize
+ "&Iconify	Alt-F9%menu/window-iconify.xpm%"   Iconify
+ "Ma&ximize	Alt-F10%menu/window-maximize.xpm%" Maximize
+ "R&aiseLower	Alt-F5%menu/window-raise.xpm%"     RaiseLower
+ "" Nop
+ "&Close	Alt-F4%menu/window-close.xpm%"     Close
+ "" Nop
+ "Identify	Alt-F11%menu/window-identify.xpm%" Module FvwmIdent
+ "More&...	Alt-F3%menu/window.xpm%"           Menu MenuFvwmWindowOps

# migo: probably it is better without menu icons, like in mwm
DestroyMenu MenuFvwmWindowOps2
AddToMenu   MenuFvwmWindowOps2
+ "Restore	Alt-F6"  FuncFvwmRestore
+ "&Move	Alt-F7"  Move
+ "&Resize	Alt-F8"  Resize
+ "&Iconify	Alt-F9"  Iconify
+ "Ma&ximize	Alt-F10" Maximize
+ "R&aiseLower	Alt-F5"  RaiseLower
+ "" Nop
+ "&Close	Alt-F4"  Close
+ "" Nop
+ "Identify	Alt-F11" Module FvwmIdent
+ "More&...	Alt-F3"  Menu MenuFvwmWindowOps This 0 0

# Resource window group operations for the root menu and buttons
DestroyMenu  MenuFvwmWindowGroupOps
AddToMenu    MenuFvwmWindowGroupOps "Resource Group Ops" Title
+ "&Iconify%menu/window-iconify.xpm%"   Pick All ($r) Iconify on
+ "De&Iconify%menu/window-iconify.xpm%" Pick All ($r) Iconify off
+ "&Shade%menu/window-shade.xpm%"       Pick All ($r) WindowShade on
+ "Un&Shade%menu/window-shade.xpm%"     Pick All ($r) WindowShade off
+ "R&aise%menu/window-raise.xpm%"       Pick All ($r) Raise
+ "Lo&wer%menu/window-lower.xpm%"       Pick All ($r) Lower
+ "" Nop
+ "&Delete%menu/window-delete.xpm%"     Pick All ($r) Delete
+ "&Close%menu/window-close.xpm%"       Pick All ($r) Close
+ "Destroy%menu/window-destroy.xpm%"    Pick All ($r) Destroy

# Needed for the initial placement style options
DestroyFunc FuncFvwmStyleAndRecapture
AddToFunc   FuncFvwmStyleAndRecapture
+ I Style "$0" $1
+ I All ("$0") RecaptureWindow

DestroyMenu MenuFvwmWindowStyle
AddToMenu   MenuFvwmWindowStyle "Window Style" Title
+ "%menu/window.xpm%TitleAtTop"           Pick (CirculateHit) Style $n TitleAtTop
+ "%menu/window.xpm%TitleAtBottom"        Pick (CirculateHit) Style $n TitleAtBottom
+ "%menu/window.xpm%Title"                Pick (CirculateHit) Style $n Title
+ "%menu/window.xpm%NoTitle"              Pick (CirculateHit) Style $n NoTitle
+ "" Nop
+ "%menu/window-raise.xpm%StaysOnTop"     Pick (CirculateHit) FuncFvwmStyleAndRecapture $n StaysOnTop
+ "%menu/window.xpm%StaysPut"             Pick (CirculateHit) FuncFvwmStyleAndRecapture $n StaysPut
+ "%menu/window-lower.xpm%StaysOnBottom"  Pick (CirculateHit) FuncFvwmStyleAndRecapture $n StaysOnBottom
+ "" Nop
+ "%menu/window.xpm%FvwmBorder"           Pick (CirculateHit) Style $n FvwmBorder
+ "%menu/window.xpm%MWMBorder"            Pick (CirculateHit) Style $n MWMBorder
+ "%menu/window.xpm%DepressableBorder"    Pick (CirculateHit) Style $n DepressableBorder
+ "%menu/window.xpm%FirmBorder"           Pick (CirculateHit) Style $n FirmBorder
+ "%menu/window.xpm%Handles"              Pick (CirculateHit) Style $n Handles
+ "%menu/window.xpm%NoHandles"            Pick (CirculateHit) Style $n NoHandles
+ "%menu/window.xpm%BorderWidth 0"        Pick (CirculateHit) Style $n BorderWidth 0
+ "%menu/window.xpm%BorderWidth 5"        Pick (CirculateHit) Style $n BorderWidth 5
+ "%menu/window.xpm%HandleWidth 0"        Pick (CirculateHit) Style $n HandleWidth 0
+ "%menu/window.xpm%HandleWidth 7"        Pick (CirculateHit) Style $n HandleWidth 7
+ "" Nop
+ "%menu/window-resize.xpm%ResizeOpaque"  Pick (CirculateHit) Style $n ResizeOpaque
+ "%menu/window-resize.xpm%ResizeOutline" Pick (CirculateHit) Style $n ResizeOutline
+ "%menu/mouse.xpm%SloppyFocus"           Pick (CirculateHit) Style $n SloppyFocus
+ "%menu/mouse.xpm%ClickToFocus"          Pick (CirculateHit) Style $n ClickToFocus
+ "%menu/mouse.xpm%MouseFocus"            Pick (CirculateHit) Style $n MouseFocus
+ "%menu/mouse.xpm%NeverFocus"            Pick (CirculateHit) Style $n NeverFocus

DestroyMenu MenuFvwmWindowMaximize
AddToMenu   MenuFvwmWindowMaximize "Maximize Window" Title
+ "%menu/window-maximize.xpm%Maximize Vertically"   Maximize 0 100
+ "%menu/window-maximize.xpm%Maximize Horizontally" Maximize 100 0
+ "%menu/window-maximize.xpm%Maximize Grow"         Maximize grow grow
+ "" Nop
+ "%menu/window-maximize.xpm%Maximize Full Screen	Shift-Ctrl-F11" Pick FuncFvwmMaximizeFullScreen
+ "%menu/window-maximize.xpm%Unmaximize Full Screen	Shift-Ctrl-F12" Pick FuncFvwmUnmaximizeFullScreen

DestroyMenu MenuFvwmWindowRefresh
AddToMenu   MenuFvwmWindowRefresh "Refresh Window" Title
+ "%menu/wm-refresh.xpm%RefreshWindow"    RefreshWindow
+ "%menu/wm-refresh.xpm%RecaptureWindow"  RecaptureWindow
+ "%menu/wm-refresh.xpm%PlaceAgain"       PlaceAgain
+ "" Nop
+ "%menu/window.xpm%Restore"              FuncFvwmRestore

DestroyFunc FuncFvwmRaiseAndExec
AddToFunc   FuncFvwmRaiseAndExec
+ I Raise
+ I Exec $0

DestroyFunc FuncFvwmWindowPrint
AddToFunc   FuncFvwmWindowPrint
+ I FuncFvwmRaiseAndExec "xdpr -id $w"

DestroyFunc FuncFvwmWindowPrintReverse
AddToFunc   FuncFvwmWindowPrintReverse
+ I FuncFvwmRaiseAndExec "xdpr 1/2 -h -rv -id $w"

DestroyFunc FuncFvwmWindowCreateScreenshot
AddToFunc   FuncFvwmWindowCreateScreenshot
+ I FuncFvwmShowMessage "Screenshot Info for window $w" "You should have 'import' utility from ImageMagick.^nCheck the screenshot at /tmp/$USER-shot-window-$w.gif"
+ I Wait "Screenshot Info for window $w"
+ I FuncFvwmRaiseAndExec "import -frame -window $w /tmp/$USER-shot-window-$w.gif"

DestroyFunc FuncFvwmDesktopCreateScreenshot
AddToFunc   FuncFvwmDesktopCreateScreenshot
+ I Pick (CirculateHit) Nop
+ I PipeRead `import -window root /tmp/$USER-shot-desktop.gif`
+ I FuncFvwmShowMessage "Screenshot Info for the desktop" "You should have 'import' utility from ImageMagick.^nCheck the screenshot at /tmp/$USER-shot-desktop.gif"

DestroyMenu MenuFvwmWindowUtility
AddToMenu   MenuFvwmWindowUtility "Window Utility" Title
+ "%menu/utility.xpm%&Print"              Pick (CirculateHit) FuncFvwmWindowPrint
+ "%menu/utility.xpm%Print &Reverse"      Pick (CirculateHit) FuncFvwmWindowPrintReverse
+ "" Nop
+ "%menu/window.xpm%Create &Screenshot"   Pick (CirculateHit) FuncFvwmWindowCreateScreenshot
+ "%menu/desktop.xpm%&Desktop Screenshot" Pick (CirculateHit) FuncFvwmDesktopCreateScreenshot
+ "" Nop
+ "%menu/window-raise.xpm%Layer +1"       Pick (CirculateHit) Layer +1
+ "%menu/window-lower.xpm%Layer -1"       Pick (CirculateHit) Layer -1
+ "" Nop
+ "%menu/window-resize.xpm%Scroll&Bar"    Pick Module FvwmScroll 2 2
