On Wed, May 29, 2002 at 09:22:16PM +0000, Mikhael Goikhman wrote: > On 29 May 2002 20:59:58 +0000, Mikhael Goikhman wrote: > > > > SendToModule FvwmButtons ChangeButton <button-id> Title/Icon <value> > > > > <button-id> may be as it is now, number starting from 0 or "+x+y". > > I will also add a syntax similar to "2/3" meaning the button number 3 > > in the container number 2. Should the syntax start counting from 0 or 1? > > One addition. Id will be optionally specified in any button, i.e.: > > *FvwmButtons: (Id current_time, Title 14:00) > > SendToModule FvwmButtons ChangeButton current_time Title 14:01
I wonder if there is a better method than the "SendToModule" stuff with a different syntax for all modules. It shouldn't be too difficult to ose the usual "*<ModuleName>: ..." syntax, e.g. *FvwmButtons: (<button id>, Icon foo.xpm, Title "bar") or at least SendToModule FvwmButtons '*FvwmButtons: ...' It might simplify parsing and save users the effort to learn a completely new syntax. Bye Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]