diff options
Diffstat (limited to 'lib/libXt/man/XtGetApplicationNameAndClass.man')
-rw-r--r-- | lib/libXt/man/XtGetApplicationNameAndClass.man | 41 |
1 files changed, 8 insertions, 33 deletions
diff --git a/lib/libXt/man/XtGetApplicationNameAndClass.man b/lib/libXt/man/XtGetApplicationNameAndClass.man index 56a06e0eb..7ce6f8a67 100644 --- a/lib/libXt/man/XtGetApplicationNameAndClass.man +++ b/lib/libXt/man/XtGetApplicationNameAndClass.man @@ -33,55 +33,30 @@ .ds Vn 2.2 .hw XtGet-Application-Name-And-Class wid-get .na -.de Ds -.nf -.\\$1D \\$2 \\$1 -.ft CW -.ps \\n(PS -.\".if \\n(VS>=40 .vs \\n(VSu -.\".if \\n(VS<=39 .vs \\n(VSp -.. -.de De -.ce 0 -.if \\n(BD .DF -.nr BD 0 -.in \\n(OIu -.if \\n(TM .ls 2 -.sp \\n(DDu -.fi -.. -.de IN \" send an index entry to the stderr -.. -.de Pn -.ie t \\$1\fB\^\\$2\^\fR\\$3 -.el \\$1\fI\^\\$2\^\fP\\$3 -.. -.de ZN -.ie t \fB\^\\$1\^\fR\\$2 -.el \fI\^\\$1\^\fP\\$2 -.. -.ny0 .TH XtGetApplicationNameAndClass __libmansuffix__ __xorgversion__ "XT FUNCTIONS" .SH NAME XtGetApplicationNameAndClass \- retrieve application name and class .SH SYNTAX +#include <X11/Intrinsic.h> .HP void XtGetApplicationNameAndClass(Display* \fIdisplay\fP, String* \fIname_return\fP, String* \fIclass_return\fP); .SH ARGUMENTS .IP \fIdisplay\fP 1i Specifies an open display connection that has been initialized with -.ZN XtDisplayInitialize . +.BR XtDisplayInitialize . .IP \fIname_return\fP 1i Returns the application name. .IP \fIclass_return\fP 1i Returns the application class. .SH DESCRIPTION -.ZN XtGetApplicationNameAndClass +.B XtGetApplicationNameAndClass returns the application name and class passed to -.ZN XtDisplayInitialize -for the specified display. If the display was never initialized or -has been closed, the result is undefined. The returned strings are +.B 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. .SH "SEE ALSO" |