On Mon Mar 25, 96, at 14:50:04, Chuck wrote:
>Actually, you can pretty much do this right now (although it may not
>be an entirely elegant solution).
>
>To add to an existing menu on the fly, you can just call AddToMenu.
>To recreate it you can call DestroyMenu, and then AddToMenu.
I'm new to the list but I do have a comment to make along
these lines...
I have organised (well almost) my ~/.fvwm2rc so that it is a
minimal file, which reads a set of files from ~/.fvwm which define
functions, styles, keymaps, menus, modules and buttons (for
FvwmButtons module definitions, since I have a number of them!). I
had intended to make use of the read command to enable me to implement
a 'reconfig' command, which would allow me to change configuration but
not have to do a restart, which takes ages, since all the modules have
to be restarted, and very likely only one has been modified.
However I ran into a problem... While I could start a Menu
afresh (i.e. implemented a function NewMenu which destroys the old
instance first) there was now way to implement a NewFunc, which
resulted in all my functions being doubled up...
So why isn't there a corresponding DestroyFunc command? And
infact it would make sense (or it seems so to me) that this should
exist and it maintains the orthogonality of the command syntax?
Things that are created can be destroyed. On a similar note,
orthogonality would suggest that perhaps KillModule should be
DestroyModule?
So again why is there no way to destroy an existing function
definition?
I also second the suggestion of an FVWMHOME environment
variable.
Fergal.
--
Fergal Mc Carthy, Digital, Ballybrit, Galway. fergal_at_ilo.dec.com
Technical Computing Group System Administrator. Ph: +353-91-754149
http://tc-www.ilo.dec.com/~fergal DTN: 822-4149
"a key to the understanding of all religion is that a god's
idea of amusement is Snakes and Ladders with greased rungs."
- Terry Pratchett, Wyrd Sisters
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Mar 25 1996 - 15:43:21 GMT