protocol(3W)
NAME
OlWMProtocolAction− simulates a response to any window manager’s protocol messages
SYNOPSIS
#include ,Xol/OpenLook.h
. . .
void OlWMProtocolAction(
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:
OL_QUIT: quit the application immediately.
OL_DEFAULTACTION: perform the action that is appropriate for each subclass of VendorShell.
OL_DESTROY: destroy the shell widget.
OL_DISMISS: dismiss or unmap the shell widget.
Version 3.0.1 — Last change: June 92