aboutsummaryrefslogtreecommitdiff
path: root/libXaw/specs/TextCustom.xml
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-03-25 10:41:05 +0000
committermarha <marha@users.sourceforge.net>2011-03-25 10:41:05 +0000
commit272e57235cd60a2e65ac8258d96a02eb3939b687 (patch)
tree789d74bd6ec1cc468f1f81aab97d4e4dfdb2d5c5 /libXaw/specs/TextCustom.xml
parentb39f063f74bf0163eaf34db03134f226d18142ec (diff)
downloadvcxsrv-272e57235cd60a2e65ac8258d96a02eb3939b687.tar.gz
vcxsrv-272e57235cd60a2e65ac8258d96a02eb3939b687.tar.bz2
vcxsrv-272e57235cd60a2e65ac8258d96a02eb3939b687.zip
git update until 25 Mar 2011
xserver fontconfig glproto libXau libXft libXmu libfontenc libxcb mesa mkfontscale pixman randrproto xkeyboard-config xtrans xwininfo updated following packages: xproto-7.0.21 xineramaproto-1.2.1 libXt-1.1.1 libxkbfile-1.0.7 libXpm-3.5.9 libXfont-1.4.3 libXaw-1.0.9 bdftopcf-1.0.3 encodings-1.0.4 fixesproto-5.0 font-adobe-100dpi-1.0.3 font-adobe-75dpi-1.0.3 font-adobe-utopia-100dpi-1.0.4 font-adobe-utopia-75dpi-1.0.4 font-adobe-utopia-type1-1.0.4 font-alias-1.0.3 font-arabic-misc-1.0.3 font-bh-100dpi-1.0.3 font-bh-75dpi-1.0.3 font-bh-lucidatypewriter-100dpi-1.0.3 font-bh-lucidatypewriter-75dpi-1.0.3 font-bh-ttf-1.0.3 font-bh-type1-1.0.3 font-bitstream-100dpi-1.0.3 font-bitstream-75dpi-1.0.3 font-bitstream-speedo-1.0.2 font-bitstream-type1-1.0.3 font-cronyx-cyrillic-1.0.3 font-cursor-misc-1.0.3 font-daewoo-misc-1.0.3 font-dec-misc-1.0.3 font-ibm-type1-1.0.3 font-isas-misc-1.0.3 font-jis-misc-1.0.3 font-micro-misc-1.0.3 font-misc-cyrillic-1.0.3 font-misc-ethiopic-1.0.3 font-misc-meltho-1.0.3 font-misc-misc-1.1.2 font-mutt-misc-1.0.3 font-schumacher-misc-1.1.2 font-screen-cyrillic-1.0.4 font-sony-misc-1.0.3 font-sun-misc-1.0.3 font-util-1.2.0 font-winitzki-cyrillic-1.0.3 font-xfree86-type1-1.0.4
Diffstat (limited to 'libXaw/specs/TextCustom.xml')
-rw-r--r--libXaw/specs/TextCustom.xml123
1 files changed, 123 insertions, 0 deletions
diff --git a/libXaw/specs/TextCustom.xml b/libXaw/specs/TextCustom.xml
new file mode 100644
index 000000000..7ca2d5f78
--- /dev/null
+++ b/libXaw/specs/TextCustom.xml
@@ -0,0 +1,123 @@
+<sect1 id="Customizing_the_Text_Widget">
+<title>Customizing the Text Widget</title>
+<para>
+<!-- .LP -->
+<!-- .XS -->
+<!-- Customizing the Text Widget -->
+<!-- .XE -->
+<!-- .IN "Text widget" "customizing" "@DEF@" -->
+</para>
+<para>
+<!-- .LP -->
+The remainder of this chapter will describe customizing the Text
+widget. The Text widget may be customized by subclassing, or by
+creating new sources and sinks. Subclassing is described in
+detail in Chapter 7; this section will describe only those things that
+are specific to the Text widget. Attributes of the Text widget base
+class and creating new sources and sinks will be discussed.
+</para>
+<para>
+<!-- .LP -->
+The Text widget is made up of a number of different pieces, with the
+Text widget as the base widget class. It and the AsciiText widget are
+the only true "widgets" in the Text widget family. The other pieces
+(sources and sinks) are X Toolkit objects and have no window
+associated with them. No source or sink is useful unless assigned to
+a Text widget.
+</para>
+<para>
+<!-- .LP -->
+Each of the following pieces of the Text widget has a specific purpose,
+and will be, or has been, discussed in detail in this chapter:
+<!-- .IN "Text widget" "" -->
+</para>
+<para>
+<variablelist>
+ <varlistentry>
+ <term><function>Text</function></term>
+ <listitem>
+ <para>
+This is the glue that binds everything else together. This widget reads
+the text data from the source, and displays the information in the sink.
+All translations and actions are handled in the Text widget itself.
+ </para>
+ </listitem>
+ </varlistentry>
+<!-- .IN "TextSink object" "" -->
+ <varlistentry>
+ <term><function>TextSink</function></term>
+ <listitem>
+ <para>
+This object is responsible for displaying and clearing the drawing area.
+It also reports the configuration of the window that contains the
+drawing area. The TextSink does not have its own window; instead it does
+its drawing on the Text widget's window.
+ </para>
+ </listitem>
+ </varlistentry>
+<!-- .IN "TextSrc object" "" -->
+ <varlistentry>
+ <term><function>TextSrc</function></term>
+ <listitem>
+ <para>
+This object is responsible for reading, editing and searching through the
+text buffer.
+ </para>
+ </listitem>
+ </varlistentry>
+<!-- .IN "AsciiSink object" "" -->
+ <varlistentry>
+ <term><function>AsciiSink</function></term>
+ <listitem>
+ <para>
+This object is a subclass of the TextSink and knows how to display
+ASCII text. Support has been added to display any 8-bit character set, given
+the font.
+ </para>
+ </listitem>
+ </varlistentry>
+<!-- .IN "MultiSink object" "" -->
+ <varlistentry>
+ <term><function>MultiSink</function></term>
+ <listitem>
+ <para>
+This object is a subclass of the TextSink and knows how to display
+font sets.
+ </para>
+ </listitem>
+ </varlistentry>
+<!-- .IN "AsciiSrc object" "" -->
+ <varlistentry>
+ <term><function>AsciiSrc</function></term>
+ <listitem>
+ <para>
+This object is a subclass of the TextSrc and knows how to read strings
+and files.
+ </para>
+ </listitem>
+ </varlistentry>
+<!-- .IN "MultiSrc object" "" -->
+ <varlistentry>
+ <term><function>MultiSrc</function></term>
+ <listitem>
+ <para>
+This object is a subclass of the TextSrc and knows how to read strings
+and multibyte files, converting them to wide characters based on locale.
+ </para>
+ </listitem>
+ </varlistentry>
+<!-- .IN "AsciiText widget" "" -->
+ <varlistentry>
+ <term><function>AsciiText</function></term>
+ <listitem>
+ <para>
+This widget is a subclass of the Text widget. When created, the AsciiText
+automatically creates and attaches either an AsciiSrc and AsciiSink, or a
+MultiSrc and MultiSink, to itself. The AsciiText provides the simplest
+interface to the Athena Text widgets.
+ </para>
+ </listitem>
+ </varlistentry>
+</variablelist>
+</para>
+</sect1>