Patrick K. wrote:
...
> In effect it would look like a sliding drawer of sort.
If you really do want to kill the fbServers module you could kill the
window rather than the module (Next [fbServers] Close).
But what you are describing sounds just like a subpanel in HP-VUE and
CDE. Have a look at FvwmCDE (can't remeber the URL, try the mailing list
archives). If that can't do it you can fake it with two FvwmButtons as
you describe but there is no need to kill and restart the sliding
drawer, instead you could just iconify it and set style options so that
the icon doesn't appear. e.g.
Style fbServers Sticky, CirculateSkip, CirculateIconSkip, \
StaysOnTop, NoIcon, StartIconic
and a function like the following called from the button in fb1
AddToFunc Servers "I" Echo "Doing Servers"
+ "I" None [fbServers CirculateHit CirculateHitIcon] FvwmButtons
fbServers
+ "I" None [fbServers CirculateHit CirculateHitIcon] Wait fbServers
+ "I" Next [fbServers CirculateHit CirculateHitIcon] Iconify
This is from memory of a function I used to use when I was a sysadmin so
it may need tweaking 8-). It won't do the funky sliding in and out that
CDE does but that could be done by replacing the Iconify with a function
that tests for the existence of an iconified fbServers and branches to
do either (raise fb1, raise fbServers, deiconify fbServers, AnimatedMove
fbServers out) or (raise fb1, AnimatedMove fbServers in, iconify
fbServers) but you'll need fvwm2.0.46 with the AnimatedMove patch or
2.0.47
Cheers,
Tim.
--
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 Jul 31 1998 - 03:09:45 BST