Scroll to navigation

XtGetApplicationNameAndClass(3) XT FUNCTIONS XtGetApplicationNameAndClass(3)

NAME

XtGetApplicationNameAndClass - retrieve application name and class

SYNTAX

#include <X11/Intrinsic.h>

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

ARGUMENTS

Specifies an open display connection that has been initialized with XtDisplayInitialize.
Returns the application name.
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

libXt 1.2.1 X Version 11