Re: FVWM: Copying

From: Mikhael Goikhman <migo_at_cortext.co.il>
Date: Fri, 04 Aug 2000 06:38:40 +0300

On 03 Aug 2000 00:38:49 +0400, Peter Novodvorsky wrote:
>
> How can I copy contents of one Menu to another.
> I mean, I made menus 'menu1' and 'menu2'. Then I filled
> menu1 with something. How can i copy all contents of menu1 to menu2, so
> i can delete menu1?

You can't copy menu items dynamically as of now.

If you simply need a way to avoid a duplication, you can create a function
to add to your menus and call it several times:

  AddToFunc AddBrowserItemsToMenu
  + I AddToMenu $0 "%mini/www.xpm%Mozilla" Exec exec mozilla
  + I AddToMenu $0 "%mini/www.xpm%Galeon" Exec exec galeon
  + I AddToMenu $0 "%mini/www.xpm%Lynx" Exec exec xterm -n lynx -e lynx
  + I AddToMenu $0 "" Nop

  AddBrowserItemsToMenu MyMenu1
  AddBrowserItemsToMenu MyMenu2

Regards,
Mikhael.
--
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 Fri Aug 04 2000 - 08:16:54 BST

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