Dynamic menus (was FVWM: Nested 'PipeRead' commands)

From: <romildo_at_uber.com.br>
Date: Sat, 25 Oct 2003 20:27:22 -0200

On Sat, Oct 25, 2003 at 12:15:35PM +0000, Mikhael Goikhman wrote:
> On 25 Oct 2003 08:10:39 -0200, romildo_at_uber.com.br wrote:
> >
> > I am going to try to adapt the icewm-menu-gnome2 program
> > from IceWM to dynamically generate Gnome2 menus for FVWM.
> [...]
> Or use dynamical submenu features to call your script again on submenus.
> [...]

I have done some changes to the icewm-menu-gnome2 and now
I have a version supporting FVWM menus.

I would like that someone take a look at the way I have
done it and make comments, as I do not have much
experience with FVWM.

In my FVWM configuration file I have the following:

#----------------------------------------------------------------
DestroyMenu RootMenu
AddToMenu RootMenu
+ "Gnome" Popup GnomeMenu

AddToMenu GnomeMenu "Gnome" Title
+ DynamicPopupAction Function GnomeMenuF

AddToFunc GnomeMenuF
+ I DestroyMenu GnomeMenu recreate GnomeMenu
+ I AddToMenu GnomeMenu "Gnome" Title
+ I PipeRead '/var/tmp/icewm-1.2/src/icewm-menu-gnome2 --wm fvwm --name GnomeMenu --list /usr/share/gnome/vfolders'
#----------------------------------------------------------------

The output of the command executed with PipeRead above, in
my Gentoo Linux system, is attached to this message.

Any comments?

Romildo
-- 
Prof. José Romildo Malaquias        romildo_at_uber.com.br
Departamento de Computação       malaquias_at_iceb.ufop.br
Univ. Federal de Ouro Preto  http://uber.com.br/romildo


--
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 Sat Oct 25 2003 - 17:29:06 BST

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