On 5 Jun, Neil Zanella wrote:
> And is it possible to have different FvwmButtons applications, say two,
> on the same desktop.
Yup. I do it all the time. I have one instance called
"TaskBarButtons" (my task bar) and another one called "XtermButtons".
You just simply need to call the buttons some name:
Module FvwmButtons XtermButtons
and then give the properties by name:
*XtermButtonsFore Black
*XtermButtonsBack #c0c0c0
*XtermButtonsFont -*-helvetica-medium-r-normal-*-*-70-*-*-*-*-*-*
*XtermButtonsGeometry -1-31
*XtermButtonsColumns 4
*XtermButtons(4x8, Swallow "Fvwm Pager" "FvwmPager 0 3")
*XtermButtons(Size 34 10, Title system1,
Action 'Exec rsh sys1 /usr/bin/X11/xterm -ls -display $HOSTDISPLAY')
*XtermButtons(Size 34 10, Title sys2,
Action 'Exec rsh sys1 /usr/bin/X11/xterm -ls -display $HOSTDISPLAY')
*XtermButtons(Size 34 10, Title sys3,
Action 'Exec rsh sys1 /usr/bin/X11/xterm -ls -display $HOSTDISPLAY')
*XtermButtons(Size 34 10, Title quit,
Action 'Next [CirculateHit "XtermButtons"] Close')
This gives a nice little button block that consists of a pager and
four buttons underneath it, including a QUIT button that causes the
XtermButtons to close. The geometry (-1-31) makes it sit on the
bottom right corner, just above my TaskBarButtons.
> Also, can FvwmButtons launch another FvwmButtons onto the desktop, ie.
> can we have nested FvwmButtons?
A button on FvwmButtons can launch another set of buttons.
For instance:
*XtermButtons(Size 34 10, Title "Other...",
Action 'Module FvwmButtons OtherButtons')
Or, a set of buttons can be included within a set of buttons using the
"Container" keyword. See the man page for FvwmButtons that comes with
fvwm-2.0.46.
--
(void) lar3ry(); gensch_at_zk3.dec.com
"Sometimes it happens. People just explode. Natural causes."
--
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 Jun 05 1998 - 07:51:27 BST