XtGetApplicationNameAndClass(3xt)XT FUNCTIONSXtGetApplicationNameAndClass(3xt)NAMEXtGetApplicationNameAndClass - retrieve application name and class
SYNTAX
cc [ flag... ] file... -lXt [ library... ]
void XtGetApplicationNameAndClass(Display* display, String*
name_return, String* class_return);
ARGUMENTS
display Specifies an open display connection that has been initial‐
ized with XtDisplayInitialize.
name_return
Returns the application name.
class_return
Returns the application class.
DESCRIPTIONXtGetApplicationNameAndClass 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 ALSOXtDisplayInitialize(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬───────────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼───────────────────────────────────┤
│Availability │x11/library/toolkit/libxt │
├─────────────────────────────┼───────────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼───────────────────────────────────┤
│MT-Level │See XtToolkitThreadInitialize(3XT) │
└─────────────────────────────┴───────────────────────────────────┘
X Version 11 libXt 1.0.8XtGetApplicationNameAndClass(3xt)