summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Dew <marcoz@osource.org>2011-10-22 21:58:41 -0600
committerMatt Dew <marcoz@osource.org>2011-10-22 21:58:41 -0600
commit8c333cf479c6d04139aaadf55da96f3552636125 (patch)
tree3fb94b8e8b33c42fa1a1650f9facacc5f1b2d963
parent79fe16648036ba248ffe61cb2fbf507600ac1b78 (diff)
updated appF.xml
-rw-r--r--specs/appF.xml72
1 files changed, 8 insertions, 64 deletions
diff --git a/specs/appF.xml b/specs/appF.xml
index a3f5bd8..da62596 100644
--- a/specs/appF.xml
+++ b/specs/appF.xml
@@ -1,57 +1,6 @@
-<!-- .\" $Xorg: appF,v 1.3 2000/08/17 19:42:49 cpqbld Exp $ -->
-<!-- .\" Copyright \(co 1985, 1986, 1987, 1988, 1991, 1994 -->
-<!-- .\" X Consortium -->
-<!-- .\" -->
-<!-- .\" Permission is hereby granted, free of charge, to any person obtaining -->
-<!-- .\" a copy of this software and associated documentation files (the -->
-<!-- .\" "Software"), to deal in the Software without restriction, including -->
-<!-- .\" without limitation the rights to use, copy, modify, merge, publish, -->
-<!-- .\" distribute, sublicense, and/or sell copies of the Software, and to -->
-<!-- .\" permit persons to whom the Software is furnished to do so, subject to -->
-<!-- .\" the following conditions: -->
-<!-- .\" -->
-<!-- .\" The above copyright notice and this permission notice shall be included -->
-<!-- .\" in all copies or substantial portions of the Software. -->
-<!-- .\" -->
-<!-- .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -->
-<!-- .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -->
-<!-- .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -->
-<!-- .\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR -->
-<!-- .\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -->
-<!-- .\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -->
-<!-- .\" OTHER DEALINGS IN THE SOFTWARE. -->
-<!-- .\" -->
-<!-- .\" Except as contained in this notice, the name of the X Consortium shall -->
-<!-- .\" not be used in advertising or otherwise to promote the sale, use or -->
-<!-- .\" other dealings in this Software without prior written authorization -->
-<!-- .\" from the X Consortium. -->
-<!-- .\" -->
-<!-- .\" Copyright \(co 1985, 1986, 1987, 1988, 1991, 1994 -->
-<!-- .\" Digital Equipment Corporation, Maynard, Massachusetts. -->
-<!-- .\" -->
-<!-- .\" Permission to use, copy, modify and distribute this documentation for any -->
-<!-- .\" purpose and without fee is hereby granted, provided that the above copyright -->
-<!-- .\" notice appears in all copies and that both that copyright notice and this -->
-<!-- .\" permission notice appear in supporting documentation, and that the name of -->
-<!-- .\" Digital not be used in in advertising or publicity pertaining -->
-<!-- .\" to distribution of the software without specific, written prior permission. -->
-<!-- .\" Digital makes no representations about the suitability of the -->
-<!-- .\" software described herein for any purpose. -->
-<!-- .\" It is provided ``as is'' without express or implied warranty. -->
-<!-- .\" -->
-<!-- .bp -->
-\&
-<!-- .sp 1 -->
-<!-- .ce 3 -->
-\s+1<function>Appendix F</function>\s-1
-
-\s+1<function>Resource Configuration Management</function>\s-1
-<!-- .sp 2 -->
+<appendix id='Resource_Configuration_Management'>
+<title>Resource Configuration Management</title>
<para>
-<!-- .LP -->
-<!-- .XS -->
-<!-- <function>Appendix F \(em Resource Configuration Management</function> -->
-<!-- .XE -->
Setting and changing resources in X applications can be difficult for
both the application programmer and the end user. \fBResource
Configuration Management (RCM)\fP addresses this problem by changing
@@ -62,8 +11,8 @@ file is required; the application does not need to be restarted for the
new resource values to take effect; and the change
occurs immediately.
</para>
+
<para>
-<!-- .LP -->
The main difference between <function>RCM</function> and the <function>Editres</function>
protocol is that the <function>RCM</function>
customizing hooks reside in the <function>Intrinsics</function> and thus are linked with
@@ -75,8 +24,8 @@ use Motif. Also, the <function>EditRes</function> protocol uses ClientMessage,
whereas the
<function>RCM</function> <function>Intrinsics</function> hooks use <function>PropertyNotify</function> events.
</para>
+
<para>
-<!-- .LP -->
X Properties and the <function>PropertyNotify</function> events are used
to implement <function>RCM</function> and
allow on-the-fly resource customization. When the X Toolkit is
@@ -88,15 +37,15 @@ and
<function>_XtAppCreateShell</function>
register a <function>PropertyNotify</function> event handler to handle these properties.
</para>
+
<para>
-<!-- .LP -->
A customization tool uses the <emphasis remap='I'>Custom Init</emphasis> property to <emphasis remap='I'>ping</emphasis> an
application to get the application's toplevel window. When the
application's property notify event handler is invoked, the handler
deletes the property. No data is transferred in this property.
</para>
+
<para>
-<!-- .LP -->
A customization tool uses the <emphasis remap='I'>Custom Data</emphasis> property to tell an
application that it should change a resource's value. The data in
the property contains the length of the resource name (the number
@@ -133,7 +82,6 @@ The resource value
</listitem>
</itemizedlist>
<para>
-<!-- .LP -->
When setting the application's resource, the event handler calls
functions to walk the application's widget tree, determining which
widgets are affected by the resource string, and then applying the value
@@ -144,16 +92,12 @@ each level in the widget tree a resource part is tested for a match.
When the entire resource string has been matched, the value is applied
to the widget or widgets.
</para>
+
<para>
-<!-- .LP -->
Before a value is set on a widget, it is first determined if the last
part of the resource is a valid resource for that widget. It must also
add the resource to the application's resource database and then query
it using specific resource strings that is builds from the widget
information.
-
-
-
</para>
-</chapter>
-</book>
+</appendix>