Re: FVWM: MoveToPage and tabular menu

From: Ukpong Ukpong <ukpongu1_at_cs.man.ac.uk>
Date: Thu, 13 May 2004 20:10:45 +0100 (BST)

Just wondering how do you invoke it, been tryiing to figure it but getting
not where !!


>
> 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.
>
>
>
>

--
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 Thu May 13 2004 - 14:13:38 BST

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