Re: FVWM: MoveToPage and tabular menu

From: Nicholas Paul Johnson <nickjohnson_at_virginia.edu>
Date: Wed, 12 May 2004 02:14:19 -0400 (EDT)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've tried the transient fvwm buttons solution, here is what I've found:

Because the button is pushed from within the context of GridButtons,
the MoveToDesk (and presumably similar commands) still require the user
select a window.

Also, the buttons start at +0+0, which I do not know how to fix :(

Either way, here is an example .fvwm2rc. If anyone can get it to work
better, I too would like to see it :)

# I use 8 instead of 16 desks... you may want to change it...
DestroyModuleConfig GridButtons
*GridButtons: geometry 128x64
*GridButtons: columns 4
*GridButtons: rows 2
*GridButtons: (Title "0", Action (Mouse 1) "MoveToDesk 0 0")
*GridButtons: (Title "1", Action (Mouse 1) "MoveToDesk 0 1")
*GridButtons: (Title "2", Action (Mouse 1) "MoveToDesk 0 2")
*GridButtons: (Title "3", Action (Mouse 1) "MoveToDesk 0 3")
*GridButtons: (Title "4", Action (Mouse 1) "MoveToDesk 0 4")
*GridButtons: (Title "5", Action (Mouse 1) "MoveToDesk 0 5")
*GridButtons: (Title "6", Action (Mouse 1) "MoveToDesk 0 6")
*GridButtons: (Title "7", Action (Mouse 1) "MoveToDesk 0 7")

AddToMenu Window-Ops2 "&move" Move
+ "to &page" Module FvwmButtons -transient \
GridButtons
+ "&resize" Resize
+ "r&aise" Raise
+ "&lower" Lower
+ "" Nop
+ "identi&fy" Module FvwmIdent
+ "" Nop
+ "(Un)s&hade" WindowShade
+ "(Un)&stick" Stick
+ "(Un)ma&ximize" Maximize
+ "" Nop
+ "&close" close


"I've got the I-gotta-work-at-9-am-(7-hours-from-now-edt)-blues..."
- --
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Nicholas Paul Johnson
  o nickjohnson \at\ virginia \dot\ edu
  o 3ebf10a7 subkeys.pgp.net
  o http://manjac.ath.cx/nick
  o "When all you've got is a hammer,
    everything looks like a nail.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQFAocDDfnGNDj6/EKcRAtnZAJ955G2a3Cv/qZq1jwtQh+zD1rqPHgCeOfZJ
zwwWqcRMts9Pvk6SFlx+1DM=
=KUgx
-----END PGP SIGNATURE-----


--
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 Wed May 12 2004 - 01:17:59 BST

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