Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wincommand(1x) [debian man page]

WinCommand(1x)						   AfterStep X11 window manager 					    WinCommand(1x)

NAME
WinCommand - AfterStep module for choosing and manipulating windows based on patterns CONFIGURATION OPTIONS
DESCRIPTION
WinCommand is a command line tool which allows you to select windows based on their name and to then manipulate them in various ways. Actions currently supported are: "center", "center jump", "iconify", "jump", "kill", "move", "resize" and "sendtodesk". DEFAULTS
The default pattern is "", meaning all windows will be selected. All other default-values depend on the action you would like WinCommand to take. If more than one action is specified, default-values are set depending on the last action specified. ACTIONS
center Place matching windows into the center of the screen. center jump: Places first window that matches into the center of the screen and jumps to it. iconify: Iconifies matching windows. jump: Jumps to the first window which matches. kill: Kills all matching windows. move: Moves all matching windows to x/y. x and y are specified using the -x and -y flags. resize: Resize all matching windows. The two parameters width and height are specified using the -width and -height flags. send_to_desk: Send all matching windows to desk specified with the -new_desk flag. OPTIONS
-all Operate on all windows which match the given pattern. This is set by default unless the action is either "jump" or "center jump". -alldesks Windows on all desks will be taken into account. This is set by default if action is either "jump" or "center jump". -desk Windows on the whole desk will be taken into account. -x/-y These are required when issuing the move-command. -width/-height These are required whenever you want to resize windows. Examples WinCommand -pattern term iconify This command will iconify all terminals. Since the specified pattern is a regular expression, something like this also works: WinCommand -pattern "(term)|(moz)" iconify This will iconify all terminals and mozilla-browser windows. WinCommand -pattern xmm jump will jump to your xmms. In this situation, it's far more advisable to use GWCommand though. It is probably not a good idea to delete windows while windows are being arranged. 3rd Berkeley Distribution AfterStep v.2.2.11 WinCommand(1x)

Check Out this Related Man Page

tk_focusNext(n) 					       Tk Built-In Commands						   tk_focusNext(n)

__________________________________________________________________________________________________________________________________________________

NAME
tk_focusNext, tk_focusPrev, tk_focusFollowsMouse - Utility procedures for managing the input focus. SYNOPSIS
tk_focusNext window tk_focusPrev window tk_focusFollowsMouse _________________________________________________________________ DESCRIPTION
tk_focusNext is a utility procedure used for keyboard traversal. It returns the "next" window after window in focus order. The focus order is determined by the stacking order of windows and the structure of the window hierarchy. Among siblings, the focus order is the same as the stacking order, with the lowest window being first. If a window has children, the window is visited first, followed by its children (recursively), followed by its next sibling. Top-level windows other than window are skipped, so that tk_focusNext never returns a window in a different top-level from window. After computing the next window, tk_focusNext examines the window's -takefocus option to see whether it should be skipped. If so, tk_focusNext continues on to the next window in the focus order, until it eventually finds a window that will accept the focus or returns back to window. tk_focusPrev is similar to tk_focusNext except that it returns the window just before window in the focus order. tk_focusFollowsMouse changes the focus model for the application to an implicit one where the window under the mouse gets the focus. After this procedure is called, whenever the mouse enters a window Tk will automatically give it the input focus. The focus command may be used to move the focus to a window other than the one under the mouse, but as soon as the mouse moves into a new window the focus will jump to that window. Note: at present there is no built-in support for returning the application to an explicit focus model; to do this you will have to write a script that deletes the bindings created by tk_focusFollowsMouse. KEYWORDS
focus, keyboard traversal, top-level Tk 4.0 tk_focusNext(n)
Man Page