Re: FVWM: 2 questions?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Fri, 25 Jun 2004 16:11:21 +0000

On 25 Jun 2004 20:46:31 +0800, liushidai_at_mails.tsinghua.edu.cn wrote:
>
> I got 2 questions:

Please try to give meaningful Subject lines, this one is not.
One question per thread is good.

> (1) Does FvwmAuto support alias?
> Here is an example in FAQ 7.17
> AddToFunc StartFunction
> + I Module FvwmAuto FvwmAutohide -menter enter_handler
> Is FvwmAutohide an alias of FvwmAuto?

See another thread. Please wait for 2 weeks before reposting questions.

> (2)How to get the number of windows opened in current page?

There are several hacky ways, one of them is:

  DestroyFunc ShowNumberOfWindowsOnTheCurrentPage
  AddToFunc ShowNumberOfWindowsOnTheCurrentPage
  + I SetEnv NUMBER_OF_WINDOWS 0
  + I All (CurrentPage) PipeRead 'echo SetEnv NUMBER_OF_WINDOWS \
        $$$$(($$$$NUMBER_OF_WINDOWS + 1))'
  + I Exec xmessage 'There are $[NUMBER_OF_WINDOWS] windows'

But I don't know what is your final task, maybe it may be solved easier
without calculating the exact number of windows.

Regards,
Mikhael.
--
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 Jun 25 2004 - 11:14:07 BST

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