Re: FVWM: notes on FvwmScript

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Sun, 3 Oct 2004 04:56:27 +0200

On Sat, Oct 02, 2004 at 08:36:15PM -0400, Rouben Rostamian wrote:
> This afternoon I played some with the FvwmScript module as
> it comes with Fvwm 2.5.11. I noticed several inaccuracies
> in the documentation plus one thing that seems to be a bug.
> I have included my notes below.

Thanks for the help.

> --- errata in the documentation ----------------------------------
[snip]

Corrected.

> --- a bug -------------------------------------------------------
>
> It appears that a "for-loop" insists that its lower index be 1.
> The following does not work:
>
> For $i=4 To 9 Do

Fixed.

> --- two suggestions for enhancement -----------------------------

Unfortunately, I can't help with that, but I would accept a patch.

> 1.
> Currently we have several Get* functions, such as GetValue,
> GetHilight, etc. A GetIcon is missing. (GetIcon id) should
> return the `Icon' field of a ItemDraw or PushButton widget.
>
> 2.
> It would be nice to get FvwmScript's variables to be interpreted
> in all context.
>
> For instance, if we have:
>
> Init
> Begin
> Set $w=48
> End
>
> then in the definition of the following widget, $w is not recognized:
>
> Widget 3
> Property
> Size $w $w ##### PROBLEM: we expect $w to be 48 here but it is not
> Position 10 10
> Type ItemDraw
> Icon mypixmap.xpm
> End

Ciao

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de


--
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 Sun Oct 03 2004 - 18:41:12 BST

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