Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!riley From: riley@batcomputer.tn.cornell.edu (Daniel S. Riley) Newsgroups: comp.sys.amiga.tech Subject: Re: 1.4 Wish: Revamped sizing gadget Message-ID: <9088@batcomputer.tn.cornell.edu> Date: 19 Oct 89 02:17:59 GMT References: <4714@amiga.UUCP> <778@jc3b21.UUCP> Reply-To: riley@tcgould.tn.cornell.edu (Daniel S. Riley) Organization: Cornell Theory Center, Cornell University, Ithaca NY Lines: 36 In some article or another, somebody wrote: >> )> Close Back | Size >> )> +-----------------------------------------------------------------+ >> )> |()| Title |//|\\|oO| >> )> |-----------------------------------------------------------------| > > I've puzzled over how this scheme would work myself. I guess you >would grab the sizing gadget and be able to move the top and right borders >to resize the window. So if you wanted to make the window taller you'd >have to drag it down first. Is that right? The DECwindows window manager for X11 (which no one seems to particularly like, mostly because it's a hog), has a scheme like this. There's no close gadget, and the iconize gadget is in the upper left corner. The upper right corner has the depth-arrangement and size gadgets. The default behavior of the depth-arrangement is window-to-back, while a click anywhere else in the window does a window-to-front, but this can be changed (for each window or the default can be changed) so that the depth-arrangement gadget brings the window-to-front, unless it's already there, in which case it does a window to back, and clicking elsewhere in the window set the focus but does not bring the window to the front. The size gadget works like this: you click on the size gadget, hold the left button down, and move the mouse out of the window. Whatever edge you cross follows the mouse. If you want to resize the lower right corner, hit the resize gadget and drag the mouse out the right border and down past the bottom border, and the corner follows the mouse. There's special case code for when the window is at the edge of the screen which lets you still resize the window, though you lose a bit of flexibility. Other X11 window managers may have similar schemes--I know some of the other ones have similar gadgets, but I haven't tried out all the various window managers. -Dan Riley (riley@tcgould.tn.cornell.edu, cornell!batcomputer!riley) -Wilson Lab, Cornell U.