DestroyMenu MenuFvwmRoot
AddToMenu   MenuFvwmRoot "Root Menu" Title
+ "&Shells%menu/terminal.xpm%"			Popup MenuFvwmShells
+ "&Programs%menu/programs.xpm%"		Popup MenuFvwmPrograms
+ "S&ystem%menu/system.xpm%"			Popup MenuFvwmSystem
+ "Person&al%menu/home.xpm%"			Popup MenuFvwmPersonal
+ "" Nop
+ "&Theme Management%menu/themes.xpm%"		Popup MenuFvwmThemes
+ "&Configuration%menu/configuration.xpm%"	Popup MenuFvwmConfiguration
+ "&Help%menu/help.xpm%"			Popup MenuFvwmHelp
+ "" Nop
+ "FVWM &Modules%menu/modules.xpm%"		Popup MenuFvwmModules
+ "&Window Operations%menu/window.xpm%"		Popup MenuFvwmWindowOps
+ "" Nop
+ "Web &Browsing%menu/www.xpm%"			Popup MenuFvwmWebBrowsing
+ "Sc&reen Saver%menu/display.xpm%"		Popup MenuFvwmScreenSaver
+ "&Quit FVWM%menu/quit.xpm%"			Popup MenuFvwmQuit

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

# This menu is in the separated component menus-programs

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

# This menu is in the separated component menus-programs

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

# This menu is in the separated component menus-programs

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

# Define this menu in your personal theme: ~/.fvwm/themes/personal/menus-extra
# or using Menu Editor GUI.
AddToMenu   MenuFvwmPersonal

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

DestroyMenu MenuFvwmHelp
AddToMenu   MenuFvwmHelp "Help" Title
+ "%menu/help.xpm%FVWM Man Pages"		Popup MenuFvwmManPages
+ "%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
+ "%menu/help.xpm%KDE Help Center"	Exec exec khelpcenter

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%fvwm"                FuncFvwmViewManPage fvwm
+ "%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%FvwmGtkDebug"        FuncFvwmViewManPage FvwmGtkDebug
+ "%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%FvwmPerl"            FuncFvwmViewManPage FvwmPerl
+ "%menu/help.xpm%FvwmProxy"           FuncFvwmViewManPage FvwmProxy
+ "%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
+ "%menu/help.xpm%FvwmWindowMenu"      FuncFvwmViewManPage FvwmWindowMenu
+ "" Nop
+ "%menu/help.xpm%fvwm-config"         FuncFvwmViewManPage fvwm-config
+ "%menu/help.xpm%fvwm-perllib"        FuncFvwmViewManPage fvwm-perllib
+ "%menu/help.xpm%fvwm-root"           FuncFvwmViewManPage fvwm-root
+ "%menu/help.xpm%fvwm-bug"            FuncFvwmViewManPage fvwm-bug
+ "%menu/help.xpm%fvwm-convert-2.2"    FuncFvwmViewManPage fvwm-convert-2.2
+ "%menu/help.xpm%fvwm-convert-2.4"    FuncFvwmViewManPage fvwm-convert-2.4
+ "" 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-root"    FuncFvwmViewManPage fvwm-themes-root
+ "%menu/help.xpm%fvwm-themes-start"   FuncFvwmViewManPage fvwm-themes-start

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

DestroyMenu MenuFvwmModules
AddToMenu   MenuFvwmModules "FVWM Modules" Title
+ "Start Theme Modules%menu/modules.xpm%"	Popup MenuFvwmStartThemeModules
+ "Stop Theme Modules%menu/quit.xpm%"		Popup MenuFvwmStopThemeModules
+ "" Nop
+ "Start Regular Modules%menu/modules.xpm%" Popup MenuFvwmStartRegularModules
+ "Stop Regular Modules%menu/quit.xpm%"	    Popup MenuFvwmStopRegularModules

DestroyMenu MenuFvwmStartRegularModules
AddToMenu   MenuFvwmStartRegularModules "Regular Modules" Title
+ "&Animation%menu/window-iconify.xpm%"	FuncFvwmRestartModule FvwmAnimate
+ "Backe&r%menu/display.xpm%"		FuncFvwmRestartModule FvwmBacker
+ "Ba&nner%menu/display.xpm%"		Module FvwmBanner
+ "Co&mmandS%menu/terminal-special.xpm%" FuncFvwmRestartModule FvwmCommandS
+ "&Console%menu/terminal-special.xpm%"		FuncFvwmConsole
+ "&GtkDebug%menu/development.xpm%"		Module FvwmGtkDebug
+ "&Debug Console%menu/development.xpm%"	Module FvwmDebug --xconsole
+ "&Identify%menu/window-identify.xpm%"		Module FvwmIdent
+ "&ScrollBar (1/2 app)%menu/window-resize.xpm%"  Module FvwmScroll 2 2
# FVWM has problems with '%' escaping...
+ "%menu/window-resize.xpm%&ScrollBar (75%% scr)" Module FvwmScroll 75p 75p
+ "Auto Raise (1/2 sec)%menu/window-raise.xpm%"  \
	FuncFvwmRestartModule 'FvwmAuto 500 "Silent Raise" Nop'
+ "Auto Raise (2 sec)%menu/window-raise.xpm%"    \
	FuncFvwmRestartModule 'FvwmAuto 2000 "Silent Raise" Nop'
+ "" Nop
+ "&Forms%menu/utility.xpm%"                Popup  MenuFvwmForms
+ "&Applets%menu/utility.xpm%"              Popup  MenuFvwmApplets
+ "" Nop
# defined in settings/{autoraise,soud-player,events-handler}/*
FuncFvwmAddToMenusFvwmAutoRaise
FuncFvwmAddToMenusStartSoundEffect
FuncFvwmAddToMenusStartFvwmEvent-Events

DestroyMenu MenuFvwmStopRegularModules
AddToMenu   MenuFvwmStopRegularModules "Regular Modules" Title
+ "Stop &Animation%menu/quit.xpm%"	KillModule FvwmAnimate
+ "Stop Backe&r%menu/quit.xpm%"		KillModule FvwmBacker
+ "Stop Co&mmandS%menu/quit.xpm%"	KillModule FvwmCommandS
+ "Stop &Console%menu/quit.xpm%"	KillModule FvwmConsole
+ "Stop &GtkDebug%menu/quit.xpm%"	KillModule FvwmGtkDebug
+ "Stop &Identify%menu/quit.xpm%"	KillModule FvwmIdent
+ "Stop &ScrollBar%menu/quit.xpm%"	KillModule FvwmScroll
+ "Stop Auto Rais&e%menu/quit.xpm%"	KillModule FvwmAuto
+ "Stop All Events%menu/quit.xpm%"	KillModule FvwmEvent
+ "Stop All &Buttons%menu/quit.xpm%"	KillModule FvwmButtons
+ "Stop All &Forms%menu/quit.xpm%"	KillModule FvwmForm
FuncFvwmAddToMenusStopSoundEffect
FuncFvwmAddToMenusStopFvwmEvent-Events

DestroyMenu MenuFvwmForms
AddToMenu   MenuFvwmForms "FvwmForm Tools" Title
+ "&Capture%menu/display.xpm%"		Module FvwmForm FvwmForm-Capture
+ "&Rlogin%menu/terminal-remote.xpm%"	Module FvwmForm FvwmForm-Rlogin
+ "&Talk%menu/terminal-special.xpm%"	Module FvwmForm FvwmForm-Talk
+ "&QuitVerify%menu/quit.xpm%"		Module FvwmForm FvwmForm-QuitVerify

DestroyMenu MenuFvwmApplets
AddToMenu   MenuFvwmApplets "FvwmScript Applets" Title
+ "APM%menu/monitoring.xpm%"     Module FvwmScript FvwmApplet-APMMon
+ "Day%menu/clock.xpm%"		 Module FvwmScript FvwmApplet-Day
+ "DayClock%menu/clock.xpm%"	 Module FvwmScript FvwmApplet-DayClock
+ "DigitalClock%menu/clock.xpm%" Module FvwmScript FvwmApplet-DigitalClock
+ "Mixer%menu/sound.xpm%"	 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 "Configuration" Title
+ "Themes Center GUI%menu/themes.xpm%" \
  FvwmScript FvwmScript-ThemesCenter --text-colorset 36 --viewer-colorset 33
+ "Global Feel GUI%menu/configuration.xpm%" FvwmScript \
	FvwmScript-GlobalFeel --text-colorset 36 --icon-colorset 5 \
	--viewer-colorset 33
+ "Theme Settings (form)%menu/themes.xpm%" FuncFvwmFormThemeSettings
+ "Theme Settings (gtk)%menu/themes.xpm%"  FuncFvwmWithGtk FuncFvwmGtkThemeSettings
+ "&Menu Editor (Personal)%menu/editor.xpm%"	  FvwmScript FvwmScript-Menus \
		--text-colorset 36 --icon-colorset 5 --viewer-colorset 33
+ "" Nop
+ "&Root Cursor%menu/display.xpm%"	Module FvwmForm FvwmForm-RootCursor
+ "Form &Defaults%menu/configuration.xpm%"	Module FvwmForm FvwmForm-Form
+ "Control &Animation%menu/window-iconify.xpm%"	Popup MenuFvwmAnimate
+ "&X Configuration%menu/display.xpm%"		Popup MenuFvwmXConfiguration
+ "" Nop
+ "&Utilities%menu/utility.xpm%"		Popup MenuFvwmConfigUtilities
+ "" Nop
+ "Restore Theme &Background%menu/display.xpm%"	FuncFvwmStartThemeBackground
+ "Restore Theme &Cursors%menu/display.xpm%"	PipeRead `printf 'Read '; fvwm-themes-config --component cursors --show-value read-file`
+ "Show All Colorsets	Shift-Ctrl-F8%menu/colors.xpm%" FuncFvwmShowAllColorsets
+ "Show Current Palette	Shift-Ctrl-F9%menu/colors.xpm%" FuncFvwmShowColourTable
# settings/iconstyles
FuncFvwmAddToMenusWMIcons

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
+ "&Color Selector%menu/colors.xpm%"	FvwmScript FvwmScript-ColorSelector \
	--text-colorset 36 --viewer-colorset 33
+ "&Font Selector%menu/font.xpm%"	FvwmScript FvwmScript-FontSelector \
	--text-colorset 36 --viewer-colorset 33
+ "&Icon Browser%menu/image-viewer.xpm%" FvwmScript FvwmScript-IconBrowser \
	--text-colorset 36 --icon-colorset 5 --launched 0 \
	--dir $[FT_DATADIR]/images/
+ "&Image Browser%menu/image-viewer.xpm%" FvwmScript FvwmScript-ImageBrowser \
	--text-colorset 36 --launched 0 --dir $[FT_DATADIR]/images/

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

DestroyMenu MenuFvwmQuit
AddToMenu   MenuFvwmQuit "Really Quit FVWM?" Title
+ "&Restart%menu/restart.xpm%"		Restart
+ "&Restart Other%menu/restart.xpm%"	Popup MenuFvwmWindowManager
+ "" Nop
+ "Re&fresh Screen%menu/refresh.xpm%"	Refresh
+ "Re&capture Screen%menu/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/windows.xpm%"          Popup MenuFvwmWindowGroupOps
+ "Window Style%menu/window.xpm%"               Popup MenuFvwmWindowStyle
+ "Maximize Window%menu/window-maximize.xpm%"   Popup MenuFvwmWindowMaximize
+ "Refresh Window%menu/refresh.xpm%"         	Popup MenuFvwmWindowRefresh
+ "Rearrange All%menu/refresh.xpm%"          	Popup MenuFvwmRearrangeWindows
+ "Window Utility%menu/utility.xpm%"            Popup MenuFvwmWindowUtility
+ "" Nop
+ "Identify%menu/window-identify.xpm%"          Module FvwmIdent
+ "Switch to...%menu/windows.xpm%"              WindowList

# A trimmed down version of MenuFvwmWindowOps, good for binding to decorations
DestroyMenu MenuFvwmWindowOps2
AddToMenu   MenuFvwmWindowOps2
+ "Restore	Alt-F6%menu/window.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&aise	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 This 0 0

# Someone may prefer the version without menu icons, like in mwm
DestroyMenu MenuFvwmWindowOps3
AddToMenu   MenuFvwmWindowOps3
+ "Restore	Alt-F6"  FuncFvwmRestore
+ "&Move	Alt-F7"  Move
+ "&Resize	Alt-F8"  Resize
+ "&Iconify	Alt-F9"  Iconify
+ "Ma&ximize	Alt-F10" Maximize
+ "R&aise	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
+ "" Nop
+ "Quick Move To ...%menu/window-move.xpm%" Popup MenuFvwmWindowGroupQuickMove

DestroyMenu MenuFvwmWindowStyle
AddToMenu   MenuFvwmWindowStyle "Window Style" Title
+ "%menu/window.xpm%TitleAtTop"    WindowStyle TitleAtTop
+ "%menu/window.xpm%TitleAtBottom" WindowStyle TitleAtBottom
+ "%menu/window.xpm%Title"         WindowStyle Title
+ "%menu/window.xpm%NoTitle"       WindowStyle NoTitle
+ "" Nop
+ "%menu/window.xpm%FvwmBorder"           WindowStyle FvwmBorder
+ "%menu/window.xpm%MWMBorder"            WindowStyle MWMBorder
+ "%menu/window.xpm%DepressableBorder"    WindowStyle DepressableBorder
+ "%menu/window.xpm%FirmBorder"           WindowStyle FirmBorder
+ "%menu/window.xpm%Handles"              WindowStyle Handles
+ "%menu/window.xpm%NoHandles"            WindowStyle NoHandles
+ "%menu/window.xpm%BorderWidth 0"        WindowStyle BorderWidth 0
+ "%menu/window.xpm%BorderWidth 5"        WindowStyle BorderWidth 5
+ "%menu/window.xpm%HandleWidth 0"        WindowStyle HandleWidth 0
+ "%menu/window.xpm%HandleWidth 7"        WindowStyle HandleWidth 7
+ "" Nop
+ "%menu/window-resize.xpm%ResizeOpaque"  WindowStyle ResizeOpaque
+ "%menu/window-resize.xpm%ResizeOutline" WindowStyle ResizeOutline
+ "%menu/mouse.xpm%SloppyFocus"           WindowStyle SloppyFocus
+ "%menu/mouse.xpm%ClickToFocus"          WindowStyle ClickToFocus
+ "%menu/mouse.xpm%MouseFocus"            WindowStyle MouseFocus
+ "%menu/mouse.xpm%NeverFocus"            WindowStyle NeverFocus

DestroyMenu MenuFvwmWindowMaximize
AddToMenu   MenuFvwmWindowMaximize "Maximize Window" Title
+ "%menu/window-maximize.xpm%Maximize Fully	Alt-F10" Maximize On 100 100
+ "%menu/window-maximize.xpm%Unmaximize 	Alt-F10" Maximize Off
+ "" Nop
+ "%menu/window-maximize.xpm%Maximize Partially" \
	Pick FuncFvwmSimpleMaximizePartially On
+ "%menu/window-maximize.xpm%Maximize Vertically" \
	Pick FuncFvwmSimpleMaximizeVertically On
+ "%menu/window-maximize.xpm%Maximize Horizontally" \
	Pick FuncFvwmSimpleMaximizeHorizontally On
+ "" Nop
# these bound functions do not seem to work well if used in an incremental way.
+ "%menu/window-maximize.xpm%Maximize Grow"        Maximize On grow grow
+ "%menu/window-maximize.xpm%Maximize Grow Vert."  Maximize On    0 grow
+ "%menu/window-maximize.xpm%Maximize Grow Horiz." Maximize On grow    0
+ "" Nop
+ "%menu/window-maximize.xpm%Maximize Full Screen	Shift-Ctrl-F11" Pick FuncFvwmMaximizeFullScreen
+ "%menu/window-maximize.xpm%Unmaximize Full Screen	Shift-Ctrl-F11" Pick FuncFvwmMaximizeFullScreen

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

# olicha: maybe we have to define function in "functions-appbind" for the
#  FvwmRearrange entries of this menu 
# migo: and maybe move these entries to MenuFvwmWindowUtility menu?
DestroyMenu MenuFvwmRearrangeWindows
AddToMenu   MenuFvwmRearrangeWindows "Rearrange Windows" Title
+ "%menu/refresh.xpm%&Cascade" FvwmRearrange -cascade -m 3 3 -incx 2
+ "%menu/refresh.xpm%&PlaceAgain" All (CurrentPage !Sticky) PlaceAgain anim
+ "" Nop
+ "%menu/refresh.xpm%Tile &horizontally" FvwmRearrange -tile -h -m 2 2 98 98
+ "%menu/refresh.xpm%Tile &vertically"   FvwmRearrange -tile    -m 2 2 98 98
+ "" Nop
+ "%menu/refresh.xpm%Arrange Icons" All (CurrentDesk Iconic) RecaptureWindow

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

DestroyFunc FuncFvwmWindowPrint
AddToFunc   FuncFvwmWindowPrint
+ I FuncFvwmRaiseAndExec which xdpr >/dev/null 2>&1 && (xdpr -id $[w.id]; true) || (import -window $[w.id] - | lpr)

DestroyFunc FuncFvwmWindowPrintReverse
AddToFunc   FuncFvwmWindowPrintReverse
+ I FuncFvwmRaiseAndExec which xdpr >/dev/null 2>&1 && (xdpr 1/2 -h -rv -id $[w.id]; true) || (import -window $[w.id] -rotate 90 - | lpr)

DestroyFunc FuncFvwmWindowCreateScreenshot
AddToFunc   FuncFvwmWindowCreateScreenshot
# Can't use PipeRead here if we want to use this function from mini-icon button
#+ I PipeRead `import -frame -window $[w.id] /tmp/$USER-shot-window-$[w.id].png`
+ I FuncFvwmShowMessage "Screenshot Info for window $[w.id]" "You should have 'import' utility from ImageMagick.^nCheck the screenshot in /tmp/$USER-shot-window-$[w.id].png"
+ I Wait "Screenshot Info for window $[w.id]"
+ I FuncFvwmRaiseAndExec import -frame -window $[w.id] /tmp/$USER-shot-window-$[w.id].png

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

DestroyMenu MenuFvwmWindowUtility
AddToMenu   MenuFvwmWindowUtility "Window Utility" Title
+ "%menu/window.xpm%Create &Screenshot"   Pick (CirculateHit) FuncFvwmWindowCreateScreenshot
+ "%menu/display.xpm%&Desktop Screenshot" Pick (CirculateHit) FuncFvwmDesktopCreateScreenshot
+ "" Nop
+ "%menu/printing.xpm%&Print"             Pick (CirculateHit) FuncFvwmWindowPrint
+ "%menu/printing.xpm%Print &Reverse"     Pick (CirculateHit) FuncFvwmWindowPrintReverse
+ "" Nop
+ "%menu/window-raise.xpm%StaysOnTop"     Pick (CirculateHit) Layer 0 6
+ "%menu/window-raise.xpm%Layer +1"       Pick (CirculateHit) Layer +1
+ "%menu/window.xpm%StaysPut"             Pick (CirculateHit) Layer 0 4
+ "%menu/window-lower.xpm%Layer -1"       Pick (CirculateHit) Layer -1
+ "%menu/window-lower.xpm%StaysOnBottom"  Pick (CirculateHit) Layer 0 2
+ "" Nop
+ "%menu/window-resize.xpm%Scroll&Bar (1/2 app)"  Pick Module FvwmScroll 2 2
+ "%menu/window-resize.xpm%ScrollBar (&75%% scr)" Pick Module FvwmScroll 75p 75p

# -----------------------------------------------------------------------------
# ---------- MenuFvwmWebBrowsing*

DestroyMenu MenuFvwmWebBrowsing
AddToMenu   MenuFvwmWebBrowsing "Web Browsing" Title
+ "%menu/www.xpm%Web Browsers" Popup MenuFvwmWebBrowsers
+ "%menu/www.xpm%FVWM Web Pages" Popup MenuFvwmWebPages
+ "" Nop
+ "%menu/www.xpm%Set Default Browser" FuncFvwmShowMessage "Setting your default browser" "There is no dialog to change the default browser yet.^nPlease do it manually. Put these 8 lines to^n^t~/.fvwm/themes/personal/functions-appbind-extra^n^n# used to open url^nDestroyFunc FuncFvwmOpenURL^nAddToFunc   FuncFvwmOpenURL^n+ I Exec exec mozilla '^d0'^n^n# used to start browser in panels and stroke^nDestroyFunc FuncFvwmWWW^nAddToFunc   FuncFvwmWWW^n+ I Exec exec opera"
