X Version 11 (Release 6.1)

XmuAddInitializer(X3xmu)


XmuAddInitializer -- register procedure

Synopsis

cc . . . -lXmu

#include <X11/Xmu/Initer.h>

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

void XmuCallInitializers(app_con) XtAppContext app_con;

Arguments


func
Specifies the procedure to register.

data
Specifies private data for the procedure.

app_con
Specifies the application context to initialize.

Description

The XmuAddInitializer function registers a procedure to be invoked the first time XmuCallInitializers is called on a given application context.

The XmuCallInitializers function calls each of the procedures that have been registered with XmuAddInitializer, if this is the first time the application context has been passed to XmuCallInitializers; otherwise, this function does nothing.

References

Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004