On Wed, Aug 28, 2013 at 10:29:34AM +0100, James Griffin wrote: > !-- On Wed 28.Aug'13 at 10:22:01 BST, Thomas Adam (tho...@fvwm.org), wrote: > > On 28 August 2013 10:14, James Griffin <j...@kontrol.kode5.net> wrote: > > > Hi > > > > > > I have a clock (rclock) in my tool bar which is fvwmbuttons and the clock > > > sits in its button as a square/rectangle. I wondered if there is a way to > > > get the corners of this button to be rounded. > > > > Use XShaping to do this; you can apply a pixmap mask to FvwmButtons to > > get this effect. > > > > -- Thomas Adam > > Thanks Thomas. I've had a google but not much there, could you give me an > example? -- pleeaase :-)
Is Google considered a verb nowadays? You need to define your own XPM pixmap which is rounded to however you want; use inkscape or The Gimp to produce such a file. Then you'll need to define a Colorset to be applied to the FvwmButtons instance containing this clock, such as: Colorset 12 Shape some_pixmap.xpm Then you apply that as a style to your FvwmButtons: *SomeFvwmButtonsInstance: Colorset 12 Read the FvwmTheme man page for more information. -- Thomas Adam