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