[comp.sys.hp] Positioning Widgets With hpwm

rbent@ge.UUCP (Ray Bentz) (10/24/89)

I am running HP-UX 3.1 on an 835 Turbo SRX using X11.

I have an application with a few topLevelShellWidgetClass
widgets that are movable by the user (using hpwm).

Is there any way (ie. any resource) to tell hpwm not to 
display the "origin/size echo window" that appears in the
middle of the screen (maybe *showEchoWindow: FALSE)?

In this application, the user doesn't care about the pixel
location of his window, he just wants to move the window
out of the way.

I've tried uwm and twm, neither have this echo "feature",
but the window frame movement isn't as smooth as hpwm's.

Thanks in advance...

Ray Bentz
GE Aerospace
Government Electronic Systems Department
Mail Stop 132-202
Borton Landing Road
Moorestown, NJ  08060
(609)866-6022

chan@hpfcmgw.HP.COM (Chan Benson) (10/26/89)

> Is there any way (ie. any resource) to tell hpwm not to 
> display the "origin/size echo window" that appears in the
> middle of the screen (maybe *showEchoWindow: FALSE)?

I couldn't find anything in the man page, so it looks like
the answer is no. 

Mwm however has a showFeedback resource that would seem to
do the trick. Mwm will be part of the forthcoming 7.0
release of HP-UX.

			-- Chan Benson
			HP Fort Collins

keith@hpcvlx.cv.hp.com (Keith Taylor) (10/28/89)

>I have an application with a few topLevelShellWidgetClass
>widgets that are movable by the user (using hpwm).
>
>Is there any way (ie. any resource) to tell hpwm not to 
>display the "origin/size echo window" that appears in the
>middle of the screen (maybe *showEchoWindow: FALSE)?
>

A couple of options you might consider:

1. Turn off interactivePlacement (a little drastic, perhaps).

2. Give your windows ``user'' position hints in WM_NORMAL_HINTS
   (set the USSize flag). Hpwm will interpret this to mean that
   the user has set the location of the window (e.g. from the
   command line) and interactive placement will not be done.

3. If you have a ``primary'' window, then make your other top level
   windows ``secondary'' to this window by setting the WM_TRANSIENT_FOR
   property. Interactive placement is done on primary windows, but not
   on secondary windows. (Note: windows related like this will be
   minimized together.)

Hope this helps. (OK, so it's more than a couple options!)


Keith M. Taylor
Hewlett-Packard
Corvallis, Oregon