GNU Info

Info Node: (sawfish.info)Destroying Windows

(sawfish.info)Destroying Windows


Next: Shading Windows Prev: Showing and Hiding Windows Up: Windows
Enter node , (file) or (file)node

Destroying Windows
==================

   There are several methods through which X11 client windows may be
removed from the display. These differ in the level "politeness" they
show the window and its owning application.

 - Command: delete-window window
     Delete WINDOW, i.e. send a `WM_DELETE_WINDOW' client-message if
     possible, or just kill the associated X11 client if not.  WINDOW
     may be a window object or a numeric window id.

 - Command: delete-window-safely window
     If the application owning WINDOW supports it, send a
     `WM_DELETE_WINDOW' message to WINDOW. Otherwise just emit a beep.

 - Command: destroy-window window
     Destroy WINDOW without giving the owning application any warning.
     WINDOW may be a window object or a numeric window id.

 - Function: x-kill-client window
     Force a close down of the X11 client that created the window
     specified by WINDOW (a window object, or numeric id).

   When a managed window is destroyed, the `destroy-notify-hook' will
subsequently be invoked (Note: Standard Hooks).


automatically generated by info2www version 1.2.2.9