Re: FVWM: Drag to create an xterm

From: Uwe Pross <keinFruehstuecksfleisch_at_gmx.net>
Date: Fri, 1 Apr 2005 09:41:59 +0200

Hi there,

On 31 Mar 2005 at 13:24:46 -0500, Stephen Dennison wrote:

> > AddToFunc StrokeFuncWrapper
> > + I SetEnv StrokeStart +$[pointer.x]+$[pointer.y]
> > + I StrokeFunc DrawMotion FeedBack StrokeWidth 2 EchoSequence

I have not done anything with strokes yet. But using the
StrokeFunc option I get drawn the stroke (which looks
pretty ugly) I would prefer to get drawn a recangle grid
like when using ResizeOutline. Maybe one could use another
program which starts immediately, draws the outline and is
replaced by the started program after key release.

> > I can't think of anyway to identify the geometry of the
> > drawn rectangle, ...

That's exaclty one of my point. I cannot find a way to bind
something on botton release.

> To use it, you click the middle mouse button, drag
> diagonally, release the button at any time, and click
> again to set the lower right bounds.

That's close but a bit circumstantial ;-)

Maybe one can write a new fvwm function which uses the
resizeoutline functionality and start a program on key
release.

Cheers Uwe
-- 
  ,_,   For personal reply/mail put "fvwm"
 (O,O)  in the subject.
 (   )  Otherwise your mail is discarded by a filter.
=-"-"-= http://www.tu-chemnitz.de/~uwp
--
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 Fri Apr 01 2005 - 01:43:07 BST

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