2013/8/13 James Griffin <j...@kontrol.kode5.net> > > In my Dock at the bottom of my screen I have some panels to open browsers > and other stuff. I'd like to have a panel that opens up and lists the > contents of my Documents directory in my $HOME. Obviously, the contents > of this directory will change as I add and remove items from it so, the > panel would need to be able to work in a way that it updates the > contents when pressed. > > I saw a nice example using FuncFvwmMenuDirectory for a *.jpg folder, on > the fvwm site, usually used in menus. I do, in fact use > fvwm-menu-directory in my menu for my documents directory and others too. > But, I'd like use a similar way to implement this into FvwmButtons > panels. > > Has anyone done this and able to explain how I might be able to do it? > > Thanks, Jamie.
You can open the menu with a click like *FvwmButtons: (Title "your_text", ActionOnPress, Action (Mouse 1) `Menu YourFvwmMenu`) I use this in some FvwmButtons in Fvwm-Nightshade like G2likeTopBar or VerticalPanel. Thomas