Discussion:
FVWM: Dynamic Panels to view contents of directories - i.e. Documents
James Griffin
2013-08-13 08:45:31 UTC
Permalink
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.
--
James Griffin: jmz at kontrol.kode5.net

A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38
Thomas Funk
2013-08-13 09:18:43 UTC
Permalink
Post by James Griffin
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
James Griffin
2013-08-13 09:26:37 UTC
Permalink
========Tue 13.Aug'13 at 11:18:43 +0200, Thomas Funk========
Post by Thomas Funk
Post by James Griffin
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
Thanks Thomas. I'll try that. I had seen examples like this but hadn't
tried as they didn't appear to be quite what I was looking for - simply
because I wanted the "panel" to be like the FvwmButtons Dock it is spawn
from. I suppose it's a bit like the Mac OS X Documents and Downloads
icons on its dock, where the items "popup" when you click on it.

Your suggestion sounds good, I'll give it a go. Thank you for replying
and helping.

Jamie.
--
James Griffin: jmz at kontrol.kode5.net

[A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38]
Loading...