1 # Autogenerated from the fvwm sources.
3 package FVWM
::Commands
;
5 use vars
qw($VERS $TIME @LIST);
7 $VERS = '2.5.28 (from cvs)';
15 descr => q{Comment line (ignored)},
21 descr
=> q{Module configuration line (no space after asterisk)},
27 descr
=> q{Continue the last AddToFunc, AddToMenu or AddToDecor},
30 name
=> 'AddButtonStyle',
33 descr
=> q{Add to a button style (see ButtonStyle)},
36 name
=> 'AddTitleStyle',
39 descr
=> q{Add to a title style (see TitleStyle)},
45 descr
=> q{Add a decor definition (will be obsolete)},
51 descr
=> q{Add a function definition},
57 descr
=> q{Add a menu definition},
63 descr
=> q{Operate on all windows matching the given condition},
66 name
=> 'AnimatedMove',
69 descr
=> q{Like Move, but uses animation to move windows},
75 descr
=> q{Operate if there is any window matching the condition},
81 descr
=> q{Produce a bell},
84 name
=> 'BorderStyle',
87 descr
=> q{Define a window border look (will be reworked)},
93 descr
=> q{Stop executing the current (but not parent) function},
99 descr
=> q{Set some application bug workarounds},
102 name
=> 'BusyCursor',
105 descr
=> q{Show/don't show the wait cursor in certain operations},
108 name
=> 'ButtonState',
111 descr
=> q{Disable some titlebar button states (not recommended)},
114 name
=> 'ButtonStyle',
117 descr
=> q{Define a window button look (will be reworked)},
120 name
=> 'ChangeDecor',
123 descr
=> q{Attach decor to a window (will be obsolete)},
126 name
=> 'ChangeMenuStyle',
129 descr
=> q{Attach menu style to a menu (see MenuStyle)},
132 name
=> 'CleanupColorsets',
135 descr
=> q{Reset all used colorsets with the default gray colors},
141 descr
=> q{Set a time in milliseconds for click and double click},
147 descr
=> q{Try to Delete a window, if this fails, Destroy it},
150 name
=> 'ColorLimit',
153 descr
=> q{Set limit on colors used (obsolete)},
156 name
=> 'ColormapFocus',
159 descr
=> q{Change the colormap behaviour for low-depth X servers},
165 descr
=> q{Manage colors used like fg, bg, image bg, gradient bg},
168 name
=> 'CopyMenuStyle',
171 descr
=> q{Copy the existing menu style to new or existing one},
177 descr
=> q{Operate on the currently focused window},
180 name
=> 'CursorMove',
183 descr
=> q{Move the cursor pointer non interactively},
186 name
=> 'CursorStyle',
189 descr
=> q{Define different cursor pointer shapes and colors},
192 name
=> 'DefaultColors',
195 descr
=> q{Set colors for the feedback window (will be obsolete)},
198 name
=> 'DefaultColorset',
201 descr
=> q{Set colors for the Move/Resize feedback window},
204 name
=> 'DefaultFont',
207 descr
=> q{The default font to use (mainly for feedback window)},
210 name
=> 'DefaultIcon',
213 descr
=> q{The default icon to use for iconified windows},
216 name
=> 'DefaultLayers',
219 descr
=> q{Set StaysOnBottom, StaysPut, StaysOnTop layer numbers},
225 descr
=> q{Try to delete a window using the X delete protocol},
228 name
=> 'Deschedule',
231 descr
=> q{Remove commands sheduled earlier using Schedule},
237 descr
=> q{(obsolete, use GotoDesk instead)},
240 name
=> 'DesktopName',
243 descr
=> q{Define the desktop names used in WindowList, modules},
246 name
=> 'DesktopSize',
249 descr
=> q{Set virtual desktop size in units of physical pages},
255 descr
=> q{Kill a window without any warning to an application},
258 name
=> 'DestroyDecor',
261 descr
=> q{Delete decor defined by AddToDecor (will be obsolete)},
264 name
=> 'DestroyFunc',
267 descr
=> q{Delete function defined using AddToFunc},
270 name
=> 'DestroyMenu',
273 descr
=> q{Delete menu defined using AddToMenu},
276 name
=> 'DestroyMenuStyle',
279 descr
=> q{Delete menu style defined using MenuStyle},
282 name
=> 'DestroyModuleConfig',
285 descr
=> q{Delete matching module config lines defined using "*"},
288 name
=> 'DestroyStyle',
291 descr
=> q{Delete style defined using Style},
294 name
=> 'DestroyWindowStyle',
297 descr
=> q{Delete style defined using WindowStyle},
303 descr
=> q{Operate on the next window in the specified direction},
309 descr
=> q{Print message to stderr, mainly for debugging},
312 name
=> 'EchoFuncDefinition',
315 descr
=> q{Print the definion of a function},
318 name
=> 'EdgeCommand',
321 descr
=> q{Bind one or another screen edge to an fvwm action},
324 name
=> 'EdgeLeaveCommand',
327 descr
=> q{Bind one or another screen edge to an fvwm action},
330 name
=> 'EdgeResistance',
333 descr
=> q{Control viewport scrolling and window move over edge},
336 name
=> 'EdgeScroll',
339 descr
=> q{Control how much of the viewport is scrolled if any},
342 name
=> 'EdgeThickness',
345 descr
=> q{Control how closely to edge to run command/scrolling},
351 descr
=> q{Only used to position the position/size window},
354 name
=> 'EscapeFunc',
357 descr
=> q{Abort a wait or ModuleSynchonous command},
360 name
=> 'EwmhBaseStruts',
363 descr
=> q{Define restricted areas of the screen},
366 name
=> 'EwmhNumberOfDesktops',
369 descr
=> q{For ewmh pager, define number of desktops},
375 descr
=> q{Execute an external command},
378 name
=> 'ExecUseShell',
381 descr
=> q{The shell to use to execute an external command},
387 descr
=> q{Generate a mouse click},
390 name
=> 'FakeKeypress',
393 descr
=> q{Send a keyboard event to a window},
399 descr
=> q{Focus a window without rotating windowlist order},
405 descr
=> q{Give focus to a window},
408 name
=> 'FocusStyle',
411 descr
=> q{Configure focus and raise policy for windows},
417 descr
=> q{Execute a user defined function, see AddToFunc},
420 name
=> 'GlobalOpts',
423 descr
=> q{(obsolete, use corresponding Style * instead)},
426 name
=> 'GnomeButton',
429 descr
=> q{Pass mouse button presses on root to GNOME program},
432 name
=> 'GnomeShowDesks',
435 descr
=> q{Limit GNOME pager to the number of desks},
441 descr
=> q{Switch viewport to another desk same page},
444 name
=> 'GotoDeskAndPage',
447 descr
=> q{Switch viewport to another desk and page},
453 descr
=> q{Switch viewport to another page same desk},
456 name
=> 'HideGeometryWindow',
459 descr
=> q{Hide/show the position/size window},
462 name
=> 'HilightColor',
465 descr
=> q{(obsolete, use Style * HighlightFore/Back)},
468 name
=> 'HilightColorset',
471 descr
=> q{(obsolete, use Style * HighlightColorset)},
477 descr
=> q{(obsolete, use Style * IconFont)},
483 descr
=> q{Change iconification status of a window (minimize)},
489 descr
=> q{(obsolete, use ImagePath instead)},
492 name
=> 'IgnoreModifiers',
495 descr
=> q{Modifiers to ignore on mouse and key bindings},
501 descr
=> q{Directories to search for images},
507 descr
=> q{Do not modify the previous command return code},
513 descr
=> q{Bind or unbind a key to an fvwm action},
516 name
=> 'KillModule',
519 descr
=> q{Stops an fvwm module},
525 descr
=> q{Change the layer of a window},
528 name
=> 'LocalePath',
531 descr
=> q{Directories/domains to search for locale data},
537 descr
=> q{Lower a window within a layer},
543 descr
=> q{Toggle maximal-size status of a window},
549 descr
=> q{Display (post) a menu},
555 descr
=> q{Control appearance and behavior of a menu},
561 descr
=> q{Invoke an fvwm module},
564 name
=> 'ModuleListenOnly',
567 descr
=> q{Invoke an fvwm module},
570 name
=> 'ModulePath',
573 descr
=> q{Modify the directories to search for an fvwm module},
576 name
=> 'ModuleSynchronous',
579 descr
=> q{Invoke an fvwm module synchronously},
582 name
=> 'ModuleTimeout',
585 descr
=> q{Set timeout value for response from module},
591 descr
=> q{Bind or unbind a mouse button press to an fvwm action},
597 descr
=> q{Move a window},
600 name
=> 'MoveThreshold',
603 descr
=> q{Set number of pixels in a click and a hold vs. a drag},
606 name
=> 'MoveToDesk',
609 descr
=> q{Move a window to another desk same page},
612 name
=> 'MoveToPage',
615 descr
=> q{Move a window to another page same desk},
618 name
=> 'MoveToScreen',
621 descr
=> q{Move a window to another Xinerama screen},
627 descr
=> q{Operate on the next window matching conditions},
633 descr
=> q{Perform command if no window matches conditions},
639 descr
=> q{Do nothing (used internally)},
645 descr
=> q{Prefix that runs a command without a window context},
648 name
=> 'OpaqueMoveSize',
651 descr
=> q{Set maximum size window fvwm should move opaquely},
657 descr
=> q{Prefix to force a window context, prompted if needed},
663 descr
=> q{Exec system command interpret output as fvwm commands},
666 name
=> 'PixmapPath',
669 descr
=> q{(obsolete, use ImagePath instead)},
672 name
=> 'PlaceAgain',
675 descr
=> q{Replace a window using initial window placement logic},
678 name
=> 'PointerKey',
681 descr
=> q{Bind an action to a key based on pointer not focus},
684 name
=> 'PointerWindow',
687 descr
=> q{Operate on window under pointer if it meets conditions},
693 descr
=> q{Display (pop-up) a menu, see also Menu},
699 descr
=> q{Operate on the precious window matching conditions},
705 descr
=> q{Print information about the state of fvwm},
708 name
=> 'PropertyChange',
711 descr
=> q{Internal, used for inter-module communication},
717 descr
=> q{Exit fvwm},
720 name
=> 'QuitScreen',
723 descr
=> q{Stop managing the specified screen},
726 name
=> 'QuitSession',
729 descr
=> q{Ask session manager to shut down itself and fvwm},
735 descr
=> q{Raise a window in a layer},
738 name
=> 'RaiseLower',
741 descr
=> q{Alternately raise or lower a window in a layer},
747 descr
=> q{Read fvwm commands from a file},
750 name
=> 'ReadWriteColors',
753 descr
=> q{Used for colorset speed hacks (will be removed?)},
759 descr
=> q{Reapply styles to all windows (will be obsolete)},
762 name
=> 'RecaptureWindow',
765 descr
=> q{Reapply styles to one window (will be obsolete)},
771 descr
=> q{Cause all windows to redraw themselves},
774 name
=> 'RefreshWindow',
777 descr
=> q{Cause one window to redraw itself},
783 descr
=> q{Repeat (very unreliably) the last command, don't use},
789 descr
=> q{Cause a window to be resized},
792 name
=> 'ResizeMaximize',
795 descr
=> q{Resize a window and mark window as maximized},
798 name
=> 'ResizeMove',
801 descr
=> q{Resize and move in one operation},
804 name
=> 'ResizeMoveMaximize',
807 descr
=> q{Resize and move in one operation and mark maximized},
810 name
=> 'RestackTransients',
813 descr
=> q{Regroup the window transients in the stack},
819 descr
=> q{Restart itself or replace with another window manager},
822 name
=> 'SaveQuitSession',
825 descr
=> q{Cause session manager to save and shutdown fvwm},
828 name
=> 'SaveSession',
831 descr
=> q{Cause session manager to save the session},
834 name
=> 'ScanForWindow',
837 descr
=> q{Operate on the matching window in the given direction},
843 descr
=> q{Run an fvwm command after a delay},
849 descr
=> q{Scroll the desktop viewport},
852 name
=> 'Send_ConfigInfo',
855 descr
=> q{Internal, used for module communication},
858 name
=> 'Send_Reply',
861 descr
=> q{Internal, used for module communication},
864 name
=> 'Send_WindowList',
867 descr
=> q{Internal, used for module communication},
870 name
=> 'SendToModule',
873 descr
=> q{Send a string (action) to a module},
879 descr
=> q{Internal, used for module communication},
882 name
=> 'set_nograb_mask',
885 descr
=> q{Internal, used for module communication},
888 name
=> 'set_sync_mask',
891 descr
=> q{Internal, used for module communication},
894 name
=> 'SetAnimation',
897 descr
=> q{Control animated moves and menus},
903 descr
=> q{Set an environment variable},
909 descr
=> q{Suppress errors on command, avoid window selection},
912 name
=> 'SnapAttraction',
915 descr
=> q{Control attraction of windows during move},
921 descr
=> q{Control grid used with SnapAttraction},
927 descr
=> q{Control user defined window states},
933 descr
=> q{Change window stickyness},
936 name
=> 'StickAcrossDesks',
939 descr
=> q{Change window stickyness on a desk basis},
942 name
=> 'StickAcrossPages',
945 descr
=> q{Change window stickyness on a page basis},
951 descr
=> q{Bind a stroke to an fvwm action},
954 name
=> 'StrokeFunc',
957 descr
=> q{Record stroke and execute corresponding stroke action},
963 descr
=> q{Set attributes of windows that match a pattern},
966 name
=> 'TearMenuOff',
969 descr
=> q{Convert a menu to a window, for use in menu items},
975 descr
=> q{Execute command if conditions are met},
981 descr
=> q{Conditional switch (may be changed)},
984 name
=> 'ThisWindow',
987 descr
=> q{Operate on the context window if it meets conditions},
993 descr
=> q{Insert title into a menu},
996 name
=> 'TitleStyle',
999 descr
=> q{Control window title},
1005 descr
=> q{Remove an environment variable},
1008 name
=> 'UpdateDecor',
1011 descr
=> q{Update window decor (obsolete and not needed anymore)},
1014 name
=> 'UpdateStyles',
1017 descr
=> q{Cause styles to update while still in a function},
1023 descr
=> q{Pause until a matching window appears},
1026 name
=> 'WarpToWindow',
1029 descr
=> q{Warp the pointer to a window},
1032 name
=> 'WindowFont',
1035 descr
=> q{(obsolete, use Style * Font)},
1041 descr
=> q{Execute command for window matching the windowid},
1044 name
=> 'WindowList',
1047 descr
=> q{Display the window list as a menu to select a window},
1050 name
=> 'WindowShade',
1053 descr
=> q{Shade/unshade a window},
1056 name
=> 'WindowShadeAnimate',
1059 descr
=> q{(obsolete, use Style * WindowShadeSteps)},
1062 name
=> 'WindowStyle',
1065 descr
=> q{Set styles on the selected window},
1071 descr
=> q{Control Xinerama support},
1074 name
=> 'XineramaPrimaryScreen',
1077 descr
=> q{Identify Xinerama primary screen},
1080 name
=> 'XineramaSls',
1083 descr
=> q{Control single logical screen support},
1086 name
=> 'XineramaSlsScreens',
1089 descr
=> q{Configure layout for single logical screen},
1092 name
=> 'XineramaSlsSize',
1095 descr
=> q{Configure layout for single logical screen sizes},
1098 name
=> 'XorPixmap',
1101 descr
=> q{Use a pixmap for move/resize rubber-band},
1107 descr
=> q{Change bits used for move/resize rubber-band},
1113 descr
=> q{For debugging, send all pending requests to X server},
1116 name
=> 'XSynchronize',
1119 descr
=> q{For debugging, cause all X requests to be synchronous},
1129 FVWM::Commands - lists all available fvwm commands
1133 This class is autogenerated from the fvwm sources.
1135 It may be used to get a list of all available fvwm commands including the
1136 command name, its short description and some other command properties.
1140 use lib `fvwm-perllib dir`;
1144 my $date = strftime("%d-%b-%Y", gmtime($FVWM::Commands::TIME));
1145 my $version = $FVWM::Commands::VERS;
1146 print "The recognized commands for fvwm $version as of $date:\n\n";
1147 foreach my $command (@FVWM::Commands::LIST) {
1148 printf " %-21s - %s\n", $command->{name}, $command->{descr};
1151 =head1 PUBLIC CONSTANTS
1157 The fvwm version number at the generation time like "2.6.0" plus the info
1158 that may indicate that this is not a final version, but a cvs snapshot.
1162 The unix time of the command list generation.
1166 print "The fvwm command list found on your system was generated "
1167 . (time() - $FVWM::Commands::TIME) / 86400 . " days ago\n";
1171 The command list that is an array of hashes with keys I<name>, I<cursor>,
1172 I<descr> (string) and I<window> (boolean).
1174 I<name> may be special, like "+", "#" and "*". Other names usually contain
1175 only isalpha characters, like B<Move>, B<SendToModule>.
1177 I<cursor> may be either empty or the cursor context used in B<CursorStyle>
1178 (like "SELECT" or "MOVE"), associated with the command.
1180 I<descr> is a short one line description of the command.
1182 I<window> is true for commands that need a window.
1186 # get command names only
1187 @command_names = map { $_->{name} } @FVWM::Commands::LIST;
1193 Mikhael Goikhman <migo@homemail.com>.
1197 For more information about the commands themselves, see fvwm(1).