On Sun, Aug 17, 2014 at 11:50:28AM +0100, Jamie Griffin wrote:
> Thanks for explaining that. So, say I create a function for it rather than
> starting the script in the startfunction, when I define the particular
> button i reference the function to get the text like this:
> 
> *Foo: 1x1, Id MyButton, Title MyDateFunction)
> 
> Would that do it, do you think?

Are you referring to something like this (assuming FvwmButtons has
already been started):

DestroyFunc SomeFunc
AddToFunc   SomeFunc
+ I SendToModule Foo ChangeButton MyButton Title $*

SomeFunc This is the text I want in the button called 'MyButton'

That would also work, yes.  Assuming that's what you meant.

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

Reply via email to