XmuAddInitializer(X3xmu) X Version 11 (Release 6.1)


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


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.