Home
Authors History
Donations Cats
News
News FVWM Logo
Logo Competition
Features
Features
Download
Download
Icons and Sounds
Screenshots
Desktop Screenshots Menu Screenshots
Window Decor Screenshots Vectorbuttons
Documentation
Documentation Man pages
FAQ Developer Info
Mailing Lists
Mailing Lists
Links
Links
Customize
 
 Official FVWM Home Page plain theme

FVWM - Perl library - FVWM::Commands


FVWM::Commands

Section: FVWM Perl library (3)
Updated: 2005-08-24
Source: FVWM/Commands.pm
This page contents - Return to main index
 

NAME

FVWM::Commands - lists all available FVWM commands  

DESCRIPTION

This class is autogenerated from the fvwm sources.

It may be used to get a list of all available FVWM commands including the command name, its short description and some other command properties.  

USAGE

    use lib `fvwm-perllib dir`;
    use FVWM::Commands;
    use POSIX;

    my $date = strftime("%d-%b-%Y", gmtime($FVWM::Commands::TIME));
    my $version = $FVWM::Commands::VERS;
    print "The recognized commands for fvwm $version as of $date:\n\n";
    foreach my $command (@FVWM::Commands::LIST) {
        printf "  %-21s - %s\n", $command->{name}, $command->{descr};
    }
 

PUBLIC CONSTANTS

$VERS
The fvwm version number at the generation time like ``2.6.0'' plus the info that may indicate that this is not a final version, but a cvs snapshot.
$TIME
The unix time of the command list generation.

Example:

    print "The FVWM command list found on your system was generated "
        . (time() - $FVWM::Commands::TIME) / 86400 . " days ago\n";
@LIST
The command list that is an array of hashes with keys name, cursor, descr (string) and window (boolean).

name may be special, like ``+'', ``#'' and ``*''. Other names usually contain only isalpha characters, like Move, SendToModule.

cursor may be either empty or the cursor context used in CursorStyle (like ``SELECT'' or ``MOVE''), associated with the command.

descr is a short one line description of the command.

window is true for commands that need a window.

Example:

    # get command names only
    @commandNames = map { $_->{name} } @FVWM::Commands::LIST;
 

AUTHOR

Mikhael Goikhman <migo@homemail.com>.  

SEE ALSO

For more information about the commands themselves, see fvwm(1).


 

Index

NAME
DESCRIPTION
USAGE
PUBLIC CONSTANTS
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 00:51:24 GMT, August 27, 2005

Last modified on August 26, 2005