Solaris Common Desktop Environment: Programmer's Guide

To Initialize the Desktop Services Library

  1. Use the DtInitialize() function to initialize the Desktop Services Library.

    DtInitialize(*display,widget,*name,*tool_class)

    DtInitialize() uses the default Intrinsic XtAppContext. The API provides an additional function, DtAppInitialize() to use when your application must specify an app_context:

    DtAppInitialize(app_context,*display,widget,*name, tool_class)

DtInitialize() Example

The following code segment shows how the example program actions.c uses DtInitialize().