>>>>> "CH" == Charles Hines <chuck_hines_at_VNET.IBM.COM> writes:
>>>>> "Michael" == Michael J Carter <mcarter_at_lanl.gov> writes:
Michael> "He" says that tvtwm does a fstat() on a 'menu file', and if
Michael> it has changed, the new version is read without the need to
Michael> push a button. I must admit it is more elegant....
CH> How about this:
CH> ######################################################################
CH> Mouse 2 R MC DynamicMenu
CH> AddToMenu DMenu "Dynamic Menu" Title
CH> AddToFunc DynamicMenu "I" DestroyMenu "DMenu"
CH> + "I" Read .fvwm2rc-dynmenu
CH> + "I" Popup DMenu
CH> ######################################################################
CH> It reads the file every time, regardless of whether it changed or not,
CH> but it accomplishes basically the same thing.
Opps - forgot to include .fvwm2rc-dynmenu:
######################################################################
AddToMenu DMenu "Dynamic Menu" Title
+ "Rlogin" Module FvwmForm Rlogin
+ "QuitVerify" Module FvwmForm QuitVerify
######################################################################
Of course, it could contain whatever you want.
Chuck
--
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 Fri Apr 12 1996 - 10:31:57 BST