Re: FVWM: FvwmForm, reset on source .fvwm2rc

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Thu, 14 Mar 2002 12:53:40 -0500

Victor Eijkhout <eijkhout_at_cs.utk.edu> writes:
> This is what I have (I'm just starting to play with this)
>
> DestroyFunc NameThisDesk
> AddToFunc NameThisDesk
> + "I" KillModule FvwmForm
> + "I" Module FvwmForm NameDesk
> *NameDeskLine left
> *NameDeskText "Name this desktop:"
> *NameDeskLine expand
> *NameDeskInput deskname 20 ""
> *NameDeskButton quit "OK" ^M
>
> Problem: after repeated re-sourcing of the rc file I now have a
> screen high stack of form inputs and OK buttons. How do I reset the
> definition of a form?

DestroyModuleConfig.

Using the new module command syntax:

DestroyFunc NameThisDesk
AddToFunc NameThisDesk
+ "I" KillModule FvwmForm
+ "I" Module FvwmForm NameDesk
DestroyModuleConfig NameDesk: *
*NameDesk: Line left
*NameDesk: Text "Name this desktop:"
*NameDesk: Line expand
*NameDesk: Input deskname 20 ""
*NameDesk: Button quit "OK" ^M

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
444 Hoes Lane  Room RRC 1C-214      Phone: (732) 699-5570
Piscataway, NJ 08854
--
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 Thu Mar 14 2002 - 12:00:35 GMT

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