Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmuAdIntlzr(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

class_initialize(4)

initialize(4)

XmuCallInitializers(6)

 

NAME

XmuAddInitializer − register an application context initialization procedure. 

SYNOPSIS

#include <X11/Xmu/Initer.h>

void XmuAddInitializer(func, data)
    void (∗func)();
    caddr_t data;

Inputs

funcSpecifies the procedure to register. 

dataSpecifies private data to be passed to the procedure. 

DESCRIPTION

XmuAddInitializer() registers a procedure that will be invoked the first time the function XmuCallInitializers() is invoked on a given application context.  The procedure will be called with two arguments, the application context and the private data registered with the procedure. 

USAGE

If a widget needs to do application-context-specific initialization, it can register a function with XmuAddInitializer() in its class_initialize() method, and then call XmuCallInitializers() for the application context of each widget instance in the initialize() method. 

SEE ALSO

class_initialize(4), initialize(4),
XmuCallInitializers(6). 

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