Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DtDt(5)

XtAppInitialize(3X)

XtToolkitInitialize(3X)

XtCreateApplicationContext(3X)

DtInitialize(3)  —  Subroutines

NAME

DtInitialize, DtAppInitialize — initialize the Desktop Services library

SYNOPSIS

#include <Dt/Dt.h>
Boolean DtInitialize(Display ∗display,
Widget widget,
char ∗name,
char ∗tool_class)
Boolean DtAppInitialize(XtAppContext app_context,
Display ∗display,
Widget widget,
char ∗name,
char ∗tool_class)

DESCRIPTION

These functions perform the one-time initialization in the Desktop Services library.  Applications must call either DtInitialize() or DtAppInitialize() before calling any other Desktop Services library routines.

The difference between these two functions is whether app_context is specified.  DtInitialize() uses the default Intrinsic XtAppContext.

The app_context argument is the application context, display is the X display connection, widget is the application’s top-level Widget, name is the application name and tool_class is the application class. 

RETURN VALUES

Upon successful completion, DtAppInitialize() and DtInitialize() return True if the library has been correctly initialized; otherwise, they return False.

SEE ALSO

DtDt(5); XtAppInitialize(3X), XtToolkitInitialize(3X), XtCreateApplicationContext(3X). 

  —  28 Feb 1994

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