Path: utzoo!attcan!uunet!samsung!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!keith From: keith@hpcvlx.cv.hp.com (Keith Taylor) Newsgroups: comp.sys.hp Subject: Re: Positioning Widgets With hpwm Message-ID: <101950058@hpcvlx.cv.hp.com> Date: 28 Oct 89 05:27:35 GMT References: <90001@ge.UUCP> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 29 >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