On 16 May 2002 15:31:33 -0400, Francis Litterio wrote: > > I'm using FVWM 2.5.1, and I need a way to change the pixmap displayed on > one of the buttons in FvwmButtons. I suppose I can do: > > DestroyModuleConfig FvwmButtons* > > and then rebuild the FvwmButtons configuration from scratch, and then do > > KillModule FvwmButtons > Module FvwmButtons > > But that seems excessive (not to mention likely to be visually > disturbing). > > Does anyone know of a mechanism to change button pixmaps on the fly > within FvwmButtons?
Well, in fvwm-2.5.1 it is possible, but not documented yet: SendToModule FvwmButtons Title <button-num> <new-title> Numbering of <button-num> starts from 0. It also may be in +x+y form. The syntax may be changed later. I would use a bit different syntax: SendToModule FvwmButtons Change <button-num> Title <new-title> Because this syntax would be open for "Add" and "Delete" messages too. You may dynamically change "Icon" too, just like "Title". Regards, Mikhael. -- 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]