On Thu, May 13, 2004 at 08:10:45PM +0100, Ukpong Ukpong wrote:
> Just wondering how do you invoke it, been tryiing to figure it but getting 
> not where !!


Oh, sorry.

I invoke it from my WindowOps menu at present:

AddToMenu Window-Ops    "Window Ops"            Title           
...
+                       "(Un)Maximize"          Maximize
+                       ""                      Nop
+                       "Send to &Page..."      SendWindowTopage
+                       "Delete"                Delete
...


I'm thinking of also assigning it to button 8, but haven't designed a
suitable vector button yet.  (Though I have ideas.)



> 
> 
> > 
> > Oh, at any rate, here's my final code, for anyone else's reference who
> > might care to use it:
> > 
> > DestroyFunc .
> > AddToFunc .
> > + I SendToModule FvwmPerl preprocess -c -- $*
> > 
> > DestroyFunc SendWindowToPage
> > AddToFunc SendWindowToPage
> > + I SetEnv LAST_WIN_ID $[w.id]
> > + I . FvwmButtons -g 
> > 144x96+%{$[pointer.x]-$[page.nx]*36-34}%+%{$[pointer.y]-$[page.ny]*24-20}% 
> > -transient GridButtons
> > 
> > DestroyFunc MoveLastWindowToPage
> > AddToFunc MoveLastWindowToPage
> > + I WindowId $[LAST_WIN_ID] MoveToPage $0 $1
> > 
> > DestroyModuleConfig GridButtons
> > #*GridButtons: geometry 144x96
> > *GridButtons: columns 4
> > *GridButtons: rows 4
> > *GridButtons: (Title "0",  Action "MoveLastWindowToPage 0 0")
> > *GridButtons: (Title "1",  Action "MoveLastWindowToPage 1 0")
> > *GridButtons: (Title "2",  Action "MoveLastWindowToPage 2 0")
> > *GridButtons: (Title "3",  Action "MoveLastWindowToPage 3 0")
> > *GridButtons: (Title "4",  Action "MoveLastWindowToPage 0 1")
> > ....
> > *GridButtons: (Title "15", Action "MoveLastWindowToPage 3 3")
> > 
> > 
> > This creates a 4x4 button panel, essentially the same size as my pager,
> > which pops up under the mouse pointer with the button representing the
> > current page under the pointer, thus making all the adjacent pages the
> > shortest mouse movement away.
> > 
> > 
> > 
> > 
> 

-- 
 .*********  Fight Back!  It may not be just YOUR life at risk.  *********.
 : phil stracchino : unix ronin : renaissance man : mystic zen biker geek :
 :  [EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED]  :
 :   2000 CBR929RR, 1991 VFR750F3 (foully murdered), 1986 VF500F (sold)   :
 :    Linux Now!   ...Because friends don't let friends use Microsoft.    :
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to