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, [EMAIL PROTECTED]

Attachment: pgpd1sGZHejI8.pgp
Description: PGP signature

Reply via email to