>There is a 'Destroy' for destroying an app, a 'DestroyMenu' for removing
>and re-creating menus, but is there a possibility there could also be a
>'DestroyFunc' such that One could theoretically destroy all functions but
>the current one, some silly stub function that has all the 'DestroyFunc' 's in
>it, then for people like me who keep funcs in a separate file, say
>'Read ~/.fvwm/fvwm-funcs' and the 'name' to this menuitem be: 'Re-read funcs'?
DestroyMenu will also Destroy a function, so you could have a
maximize function:
AddToFunc Maximize-Func "M" Maximize 0 100
+ "C" Maximize 0 80
+ "D" Maximize
and a menu item which reconfigures your maximize button
AddToMenu Window-Ops "Reconfigure Maximize Button" read newmax
and newmax is a file which containts
DestroyMenu MaximizeFunc
AddToMenu Maximize-Func "I" Maximize 100 100
Note that it is also legitimate to destroy and reload menus this way; just
don't destroy the menu/function that you're currently working with.
Rob
--
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 Nov 06 1995 - 08:00:24 GMT