XtGetApplicationNameAndClass - Man Page

retrieve application name and class

Syntax

#include <X11/Intrinsic.h>

void XtGetApplicationNameAndClass(Display* display, String* name_return, String* class_return);

Arguments

display

Specifies an open display connection that has been initialized with XtDisplayInitialize.

name_return

Returns the application name.

class_return

Returns the application class.

Description

XtGetApplicationNameAndClass returns the application name and class passed to XtDisplayInitialize for the specified display. If the display was never initialized or has been closed, the result is undefined. The returned strings are owned by the Intrinsics and must not be modified or freed by the caller.

See Also

XtDisplayInitialize(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface

Info

libXt 1.3.0 X Version 11 XT FUNCTIONS