summaryrefslogtreecommitdiff
path: root/lib/libXt/man/XtGetSubresources.man
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXt/man/XtGetSubresources.man')
-rw-r--r--lib/libXt/man/XtGetSubresources.man62
1 files changed, 19 insertions, 43 deletions
diff --git a/lib/libXt/man/XtGetSubresources.man b/lib/libXt/man/XtGetSubresources.man
index 76236ae00..238415125 100644
--- a/lib/libXt/man/XtGetSubresources.man
+++ b/lib/libXt/man/XtGetSubresources.man
@@ -34,54 +34,31 @@
.ds Vn 2.2
.hw XtGet-Subresources XtVa-Get-Subresources 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 XtGetSubresources __libmansuffix__ __xorgversion__ "XT FUNCTIONS"
.SH NAME
XtGetSubresources, XtVaGetSubresources \- obtain subresources
.SH SYNTAX
+#include <X11/Intrinsic.h>
.HP
-void XtGetSubresources(Widget \fIw\fP, XtPointer \fIbase\fP, String
-\fIname\fP, String \fIclass\fP, XtResourceList \fIresources\fP, Cardinal
-\fInum_resources\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP);
+void XtGetSubresources(Widget \fIw\fP,
+XtPointer \fIbase\fP,
+const char *\fIname\fP,
+const char * \fIclass\fP,
+XtResourceList \fIresources\fP, Cardinal \fInum_resources\fP,
+ArgList \fIargs\fP, Cardinal \fInum_args\fP);
.HP
-void XtVaGetSubresources(Widget \fIw\fP, XtPointer \fIbase\fP, String
-\fIname\fP, String \fIclass\fP, XtResourceList \fIresources\fP, Cardinal
-\fInum_resources\fP);
+void XtVaGetSubresources(Widget \fIw\fP,
+XtPointer \fIbase\fP,
+const char *\fIname\fP,
+const char *\fIclass\fP,
+XtResourceList \fIresources\fP, Cardinal
+\fInum_resources\fP, ...);
.SH ARGUMENTS
-.ds Al to override resources obtained from the resource database
.IP \fIargs\fP 1i
-Specifies the argument list \*(Al.
-.ds Ba written
+Specifies the argument list to override resources obtained from the resource database.
.IP \fIbase\fP 1i
Specifies the base address of the subpart data structure where the resources
-should be \*(Ba.
+should be written.
.IP \fIclass\fP 1i
Specifies the class of the subpart.
.IP \fIname\fP 1i
@@ -92,15 +69,14 @@ Specifies the number of arguments in the argument list.
Specifies the number of resources in the resource list.
.IP \fIresources\fP 1i
Specifies the resource list for the subpart.
-.ds Wi that wants resources for a subpart \
-or that identifies the resource database to search
.IP \fIw\fP 1i
-Specifies the widget \*(Wi.
+Specifies the widget that wants resources for a subpart
+or that identifies the resource database to search.
.IP \fI...\fP 1i
-Specifies the variable arguments \*(Al.
+Specifies the variable arguments to override resources obtained from the resource database.
.SH DESCRIPTION
The
-.ZN XtGetSubresources
+.B XtGetSubresources
function constructs a name/class list from the application name/class,
the name/classes of all its ancestors, and the widget itself.
Then, it appends to this list the name/class pair passed in.