Re: FVWM: Inline module config syntax ?

From: Walter Dnes <waltdnes_at_waltdnes.org>
Date: Fri, 18 Jan 2002 22:20:52 -0500

On Wed, Jan 16, 2002 at 08:31:22PM +0100, Dominik Vogt wrote

> its own man page (man FvwmButtons etc.). Lines beginning with an
> asterisk '*' are not handled by fvwm itself but are sent to any
> module with the proper name:
>
> *FvwmButtons: Geometry ...
>
> is sent to modules with the name "FvwmButtons".
>
> *Inline: foobar
>
> is sent to modules with the name "Inline". Since all modules
> coming with fvwm begin with "Fvwm" this is either a module
> written by someone else (you can even write a shell script as a
> module) or it is a module using an alias. Some of the modules
> allow to be started with a different name, e.g. FvwmButtons:
>
> *OtherButtons: ...
> ...
> Module FvwmButtons OtherButtons
>
> This way you can have multiple instances of the same module using
> different configuretions, but it still parses the options
> described in the module's man page.

  Let's see if I understand this. The directive...

> *FvwmButtons: (2x3, Frame 0, Swallow(UseOld,NoHints) "Inline" "Module FvwmPager Inline 0 0")

  Starts up an instance of Fvwmpager, using alias name "Inline", and
then swallows it. So the following lines...

> DestroyModuleConfig Inline: *
> *Inline: Balloons
> *Inline: Font none
> *Inline: Rows 1
> *Inline: Columns 1

 ...are actually referring to that instance of FvwmPager. Sounds logical.
Thanks for the explanation. The linkage wasn't obvious to me, which is
why I asked that question. Your answer got me to search for the word
"alias" in the fvwm2 man page, which gave the necessary details.

-- 
Walter Dnes <waltdnes_at_waltdnes.org>
If you had purchased $1000 of _at_home stock in 1999, today you would
have $1.30.  If you had purchased $1000 of beer in 1999, today you
would still have $59 in empty cans.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Jan 18 2002 - 21:20:42 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST