Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ OlRegisterDynamicCallback(3W) — OpenWindows V2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

OlUnregisterDynamicCallback(3)

OlCallDynamicCallbacks(3)

OlGetApplicationResources(3)

OlRegisterDynamicCallback(3W)  —  MISC. REFERENCE MANUAL PAGES

Dynamic Settings

NAME

 OlRegisterDynamicCallback

SYNOPSIS

#include <Dynamic.h>
 ...
extern void OlRegisterDynamicCallback(CB, data)
void (∗CB)();
caddr_t data;

DESCRIPTION

The OlRegisterDynamicCallback procedure is used to add a function to the list of registered callbacks to be called whenever the procedure OlCallDynamicCallbacks is invoked.  The OlCallDynamicCallback procedure is invoked whenever the RESOURCE_MANAGER property of the Root Window is updated and after the dynamic resources registered using the OlGetApplicationResources have been refreshed.  The OlCallDynamicCallbacks procedure may also be called directly by either the application or other routines in the widget libraries.  The callbacks registered are guaranteed to be called in FIFO order of registration and will be called as

 (∗CB)(data);

SEE ALSO

OlUnregisterDynamicCallback(3), OlCallDynamicCallbacks(3) OlGetApplicationResources(3)

Sun Release 4.0  —  Last change:

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