On Sat, Jul 3, 2010 at 1:33 PM, Thomas Adam <[email protected]> wrote:
> On Sat, Jul 03, 2010 at 01:28:36PM -0700, Shaika-Dzari wrote:
>> Hello everyone,
>>
>> I want to show a number ( $[page.nx] ) and update this number in my
>> FvwmButton each time
>> I call GoToPage from my keybinding.
>>
>> Can I have some hints to do it?
>
> DestroyModuleConfig a:*
> *a: (1x1, Id "A", Title "jhkjkkj£)
>
> AddToFunc StartFunction I Module FvwmButtons a
>
> DestroyModuleConfig b:*
> *b: new_page "SendToModule a ChangeButton A Title "$[page.nx]"
>
> AddToFunc StartFunction I Module FvwmEvent b
>
> -- Thomas Adam
>
> --
> "Deep in my heart I wish I was wrong.  But deep in my heart I know I am
> not." -- Morrissey ("Girl Least Likely To" -- off of Viva Hate.)
>

Wow!

My first approach was to use a script but your solution is much more simple.

A small correction : I used $$[page.nx] instead of $[page.nx].

Thanks Thomas.

--
Shaika-Dzari
http://www.4nakama.net/

TANSTAAFL : There Ain't No Such Thing As A Free Lunch.
Robert Anson Heinlein

Reply via email to