In addition to the typical behavior supported by FvwmWinList, this application offers the following:
PerlTkWL can also be bound to any event specifier option to be invoked later, in this case using 'Transient' as an argument will cause PerlTkWL to resemble the built-in window list.
PerlTkWL must reside in a directory that is listed in the ModulePath option of Fvwm for it to be executed by Fvwm.
PerlTkWL with TransientWL in all the names below:
Click1,
Click2 and Click3. The defaults are ``Focus,Iconify -1,Focus'' for
Click1, ``Iconify 1'' for Click2 and ``Nop'' for Click3. The actions are taken from the various commands available from fvwm,
documented in that manual page (see fvwm). Multiple commands can be specified as a comma-separated list.
alpha, iconfirst, iconlast and reverse. iconfirst
and iconlast are mutually-exclusive; using both may give unpredictable results. If alpha is specified, the list is sorted alphabetically by window name (windows
that are iconified are still sorted by their window name, so may appear to
be out of the alphabetic ordering). If either of
iconfirst or iconlast are specified, then icons are grouped separately from non-iconified
windows, each group is separately sorted, then the two group are displayed
one following the other, depending on whether first
or last was specified. Lastly, if the qualifier reverse is given, then the sorts are done in descending order (though this does not
invert the functionality of iconfirst or iconlast). The default is alpha.
text or graphic. The text
style is the familiar one, in which the window name and its geometry are
centered within the button, and iconified windows are indicated by
enclosing that string within parentheses. The graphic style places the
window name left-justified and the geometry right-justified. It indicates
iconified windows by a cloverleaf icon to the right of the geometry. If the
user enables mini-icons, then if a specified mini-icon matches for the
window it is displayed to the left of the name. The default is text.
yes,
no, true, false, 1 or .
no.
# Options to PerlTkWL module
# Set up the font to use and the colors
*PerlTkWLFont 6x10
*PerlTkWLForeground gray30
*PerlTkWLBackground AntiqueWhite
*PerlTkWLActiveForeground AntiqueWhite
*PerlTkWLActiveBackground gray30
*PerlTkWLFocusForeground Gold1
*PerlTkWLFocusBackground NavyBlue
*PerlTkWLIconForeground black
*PerlTkWLIconBackground #e2beaf
# Actions to be taken by the buttons
*PerlTkWLAction Click1 Focus,Iconify -1,Focus
*PerlTkWLAction Click2 Iconify 1
*PerlTkWLAction Click3 Module "FvwmIdent" FvwmIdent
# Where the anchor point should be
*PerlTkWLAnchor se
# Old-style 'text' mode or use graphics?
*PerlTkWLStyle graphic
# How should the list be sorted?
*PerlTkWLSortStyle alpha
# Abuse graphics even further with mini-icons?
*PerlTkWLUseMiniIcons yes
# Define the specifier-icon mappings for any apps we wish highlighted
*PerlTkWLMiniIcon tkInfo jbook1.xpm,TkMan mini.xman.xpm
*PerlTkWLMiniIcon Netscape mini.netscape.xpm
*PerlTkWLMiniIcon lrom mini.lrom.xpm
*PerlTkWLMiniIcon xmag jmag.xpm,xpaint jpaint.xpm
*PerlTkWLMiniIcon TkMail jmail.xpm,elm jmail.xpm
*PerlTkWLMiniIcon FvwmPager mini.fvwm.xpm
*PerlTkWLMiniIcon xload jgraph.xpm
*PerlTkWLMiniIcon XTerm mini.xterm.xpm,wabi win.xpm
*PerlTkWLMiniIcon hpcalc jcalc.xpm,Canvas jpaint.xpm
*PerlTkWLMiniIcon ptkmines mine.xpm
It is also coded for clarity at the expense of efficiency.