Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ OlPrtclActn(3W) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought



OlWMProtocolAction(3W)           UNIX System V           OlWMProtocolAction(3W)


NAME
      OlWMProtocolAction - simulates a response to any window manager's
      protocol messages

SYNOPSIS
      void OlWMProtocolAction(w, st, action)
              Widget               w;
              OlWMProtocolVerify * st;
              OlDefine             action;


      where:

              typedef struct {
                  int        msgtype;        /* type of WM msg */
                  XEvent *   xevent;
              } OlWMProtocolVerify;


DESCRIPTION
      This routine can be used to simulate a response to any window manager's
      protocol messages.  The OlWMProtocolVerify field msgtype is an integer
      constant indicating the type of protocol message which invoked the
      callback and has a range of values of:

              OL_WM_TAKE_FOCUS
              OL_WM_SAVE_YOURSELF
              OL_WM_DELETE_WINDOW


      The w parameter must be a widget that is a subclass of the VendorShell.
      Otherwise, no action will be taken.

      The action parameter can be:

      OLQUIT:  quit the application immediately.

      OLDEFAULTACTION:  perform the action that is appropriate for each
      subclass of VendorShell.

      OLDESTROY:  destroy the shell widget.

      OLDISMISS:  dismiss or unmap the shell widget.

SEE ALSO
      "Shell Resources" in section 2 of the OPEN LOOK Programmer's Reference
      Manual







10/89                                                                    Page 1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026