Re: FVWM: Variable sized apps in 1 dimension FvwmButtons

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sat, 1 Mar 2003 22:39:04 +0000

On 01 Mar 2003 11:30:03 -0800, Tenebrae wrote:
>
> On Sat, 1 Mar 2003, Mikhael Goikhman wrote:
>
> > On 01 Mar 2003 16:20:23 +0530, Kingsly John wrote:
> > >
> > > +++ Michael Fischer [2003-02-28 20:37:02]:
> > >
> > > > What I want is a 1 column, 4 row FvwmButtons, where
> > > > (counting from top to bottom), the sizes are
> > > >
> > > > 68x68
> > > > 68x68
> > > > 68x252
> > > > 68x68
> > >
> > > I think Fvwm requires all the buttons to be in some kind of ratio.
> > > (ie,252 is not a multiple of 68)
> >
> > Nothing like this is required. It is only that if it is a multiple of 68
> > all proportions may be reduced to 1x1 and so on, but this is optional.
> > The above may be reduced as well: 17x17, 17x63.
> >
> > I suggest to use ButtonGeometry to specify the exact size of 1x1 button.
> > For example try:
> >
> > *FvwmButtons: ButtonGeometry 4x4-0+0
> > *FvwmButtons: (17x17, ...)
> > *FvwmButtons: (17x63, ...)
>
> Ohhhh...so he could specify the geometry like:
>
> *FvwmButtons: ButtonGeometry 68x68-0+0
>
> ...and then for the larger button, he could put:
>
> *MailBox: (1x4, Swallow(UseOld,NoHints,Respawn) "gkrellm" \
> `Exec exec gkrellm`)
>
> ...and get rid of the other 68x68 geometry calls and it'll probably do
> what he wants? Well, it'd be 68x272 instead of 252, but...close enough
> for government work?

I am not sure whether this is a rhetorical question or not. Yes, it would
be close enough to the Michael's needs. My example above gives the exact
sizes. As well as the following:

  *FvwmButtons: ButtonGeometry 1x1-0+0
  *FvwmButtons: Columns 68 # it is vertical
  *FvwmButtons: (68x68, ...)
  *FvwmButtons: (68x252, ...)

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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sat Mar 01 2003 - 16:40:32 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST