source: trunk/MagicSoft/AMC/activemirrorcontrol/doc/en/index.docbook@ 9384

Last change on this file since 9384 was 3403, checked in by merck, 21 years ago
initial check-in of AMC software
File size: 16.4 KB
Line 
1<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook V3.1-Based Variant V1.0//EN" [
2 <!ENTITY kappname "&activemirrorcontrol;" -- replace activemirrorcontrol here -->
3 <!ENTITY % addindex "IGNORE">
4 <!ENTITY % English "INCLUDE" -- change language only here -->
5 <!ENTITY % ents PUBLIC "-//KDE//ENTITIES Documentation V2.0//EN">
6 %ents;
7 <!-- Do not define any other entities; instead, use the entities
8 from kde-genent.entities and $LANG/user.entities. -->
9]>
10<!-- kdoctemplate v0.8 October 1 1999
11 Minor update to "Credits and Licenses" section on August 24, 2000
12 Removed "Revision history" section on 22 January 2001 -->
13
14<!--
15This template was designed by: David Rugge davidrugge@mindspring.com
16with lots of help from: Eric Bischoff ebisch@cybercable.tm.fr
17and Frederik Fouvry fouvry@sfs.nphil.uni-tuebingen.de
18of the KDE DocBook team.
19
20You may freely use this template for writing any sort of KDE documentation.
21If you have any changes or improvements, please let us know.
22
23In the future, we may want to change from SGML-based DocBook to XML-based
24DocBook. To make this change easier, please be careful :
25- in XML, the case of the <tags> and attributes is relevant ;
26- also, quote all attributes.
27
28Please don't forget to remove all these comments in your final documentation,
29thanks ;-).
30-->
31
32<!-- ................................................................ -->
33
34<!-- The language must NOT be changed here. -->
35
36<book lang="&language;">
37
38<!-- This header contains all of the meta-information for the document such
39as Authors, publish date, the abstract, and Keywords -->
40
41<bookinfo>
42<title>The ActiveMirrorControl Handbook</title>
43
44<authorgroup>
45<author>
46<firstname>George</firstname>
47<othername>N.</othername>
48<surname>Ugnacious</surname>
49<affiliation>
50<address><email>gnu@kde.org</email></address>
51</affiliation>
52</author>
53</authorgroup>
54
55
56<copyright>
57<year>1999</year>
58<year>2000</year>
59<holder>George N. Ugnacious</holder>
60</copyright>
61<!-- Translators: put here the copyright notice of the translation -->
62<!-- Put here the FDL notice. Read the explanation in fdl-notice.docbook
63 and in the FDL itself on how to use it. -->
64<legalnotice>&FDLNotice;</legalnotice>
65
66<!-- Date and version information of the documentation
67Don't forget to include this last date and this last revision number, we
68need them for translation coordination !
69Please respect the format of the date (DD/MM/YYYY) and of the version
70(V.MM.LL), it could be used by automation scripts.
71Do NOT change these in the translation. -->
72
73<date>03/04/1999</date>
74<releaseinfo>1.01.00</releaseinfo>
75
76<!-- Abstract about this handbook -->
77
78<abstract>
79<para>
80&activemirrorcontrol; is an application specially designed to do nothing you would
81ever want.
82</para>
83</abstract>
84
85<!-- This is a set of Keywords for indexing by search engines.
86Please at least include KDE, the KDE package it is in, the name
87 of your application, and a few relevant keywords. -->
88
89<keywordset>
90<keyword>KDE</keyword>
91<keyword>kdeutils</keyword>
92<keyword>ActiveMirrorControl</keyword>
93<keyword>nothing</keyword>
94<keyword>nothing else</keyword>
95</keywordset>
96
97</bookinfo>
98
99<!-- The contents of the documentation begin here. Label
100each chapter so with the id attribute. This is necessary for two reasons: it
101allows you to easily reference the chapter from other chapters of your
102document, and if there is no ID, the name of the generated HTML files will vary
103from time to time making it hard to manage for maintainers and for the CVS
104system. Any chapter labelled (OPTIONAL) may be left out at the author's
105discretion. Other chapters should not be left out in order to maintain a
106consistent documentation style across all KDE apps. -->
107
108<chapter id="introduction">
109<title>Introduction</title>
110
111<!-- The introduction chapter contains a brief introduction for the
112application that explains what it does and where to report
113problems. Basically a long version of the abstract. Don't include a
114revision history. (see installation appendix comment) -->
115
116<para>
117&activemirrorcontrol; is a program that lets you do absolutely nothing. Please report
118any problems or feature requests to the KDE mailing lists.
119</para>
120</chapter>
121
122<chapter id="using-activemirrorcontrol">
123<title>Using ActiveMirrorControl</title>
124
125<!-- This chapter should tell the user how to use your app. You should use as
126many sections (Chapter, Sect1, Sect3, etc...) as is necessary to fully document
127your application. -->
128
129<para>
130
131<!-- Note that all graphics should be in .png format. Use no gifs because of
132patent issues. -->
133
134<screenshot>
135<screeninfo>Here's a screenshot of &activemirrorcontrol;</screeninfo>
136 <mediaobject>
137 <imageobject>
138 <imagedata fileref="screenshot.png" format="PNG">
139 </imageobject>
140 <imageobject>
141 <imagedata fileref="screenshot.eps" format="EPS">
142 </imageobject>
143 <textobject>
144 <phrase>Screenshot</phrase>
145 </textobject>
146 </mediaobject>
147</screenshot>
148</para>
149
150
151<sect1 id="activemirrorcontrol-features">
152<title>More ActiveMirrorControl features</title>
153
154<para>It slices! It dices! and it comes with a free toaster!</para>
155<para>
156The Squiggle Tool <guiicon><inlinemediaobject>
157 <imageobject>
158 <imagedata fileref="squiggle.png" format="PNG">
159 </imageobject>
160 <imageobject>
161 <imagedata fileref="squiggle.eps" format="EPS">
162 </imageobject>
163 <textobject>
164 <phrase>Squiggle</phrase>
165 </textobject>
166</inlinemediaobject></guiicon> is used to draw squiggly lines all over
167the &activemirrorcontrol; main window. It's not a bug, it's a feature!
168</para>
169
170</sect1>
171</chapter>
172
173<chapter id="commands">
174<title>Command Reference</title>
175
176<!-- (OPTIONAL, BUT RECOMMENDED) This chapter should list all of the
177application windows and their menubar and toolbar commands for easy reference.
178Also include any keys that have a special function but have no equivalent in the
179menus or toolbars. This may not be necessary for small apps or apps with no tool
180or menu bars. -->
181
182<sect1 id="activemirrorcontrol-mainwindow">
183<title>The main ActiveMirrorControl window</title>
184<para></para>
185
186<sect2>
187<title>The File Menu</title>
188<para>
189<variablelist>
190<varlistentry>
191<term><menuchoice>
192<shortcut>
193<keycombo><keycap>Ctrl</keycap><keycap>n</keycap></keycombo>
194</shortcut>
195<guimenu>File</guimenu>
196<guimenuitem>New</guimenuitem>
197</menuchoice></term>
198<listitem><para><action>Creates a new document</action></para></listitem>
199</varlistentry>
200<varlistentry>
201<term><menuchoice>
202<shortcut>
203<keycombo><keycap>Ctrl</keycap><keycap>s</keycap></keycombo>
204</shortcut>
205<guimenu>File</guimenu>
206<guimenuitem>Save</guimenuitem>
207</menuchoice></term>
208<listitem><para><action>Saves the document</action></para></listitem>
209</varlistentry>
210<varlistentry>
211<term><menuchoice>
212<shortcut>
213<keycombo><keycap>Ctrl</keycap><keycap>q</keycap></keycombo>
214</shortcut>
215<guimenu>File</guimenu>
216<guimenuitem>Quit</guimenuitem>
217</menuchoice></term>
218<listitem><para><action>Quits</action> &activemirrorcontrol;</para></listitem>
219</varlistentry>
220</variablelist>
221</para>
222
223</sect2>
224
225</sect1>
226</chapter>
227
228<chapter id="developers">
229<title>Developer's Guide to ActiveMirrorControl</title>
230
231<!-- (OPTIONAL) A Programming/Scripting reference chapter should be
232used for apps that use plugins or that provide their own scripting hooks
233and/or development libraries. -->
234
235<para>
236Programming &activemirrorcontrol; plugins is a joy to behold. Just read through the next
23766 pages of API's to learn how!
238</para>
239
240<!-- Use refentries to describe APIs. Refentries are fairly complicated and you
241should consult the docbook reference for further details. The example below was
242taken from that reference and shortened a bit for readability. -->
243
244<refentry id="re-1007-unmanagechildren-1">
245<refmeta>
246<refentrytitle>XtUnmanageChildren</refentrytitle>
247<refmiscinfo>Xt - Geometry Management</refmiscinfo>
248</refmeta>
249<refnamediv>
250<refname>XtUnmanageChildren
251</refname>
252<refpurpose>remove a list of children from a parent widget's managed list.
253</refpurpose>
254<indexterm id="ix-1007-unmanagechildren-1"><primary>widgets</primary><secondary>removing</secondary></indexterm>
255<indexterm id="ix-1007-unmanagechildren-2"><primary>XtUnmanageChildren</primary></indexterm>
256</refnamediv>
257<refsynopsisdiv>
258<refsynopsisdivinfo>
259<date>4 March 1996</date>
260</refsynopsisdivinfo>
261<synopsis>
262void XtUnmanageChildren(<replaceable parameter>children</replaceable>, <replaceable parameter>num_children</replaceable>)
263 WidgetList <replaceable parameter>children</replaceable>;
264 Cardinal <replaceable parameter>num_children</replaceable>;
265</synopsis>
266
267<refsect2 id="r2-1007-unmanagechildren-1">
268<title>Inputs</title>
269<variablelist>
270<varlistentry>
271<term><replaceable parameter>children</replaceable>
272</term>
273<listitem>
274<para>Specifies an array of child widgets. Each child must be of
275class RectObj or any subclass thereof.
276</para>
277</listitem>
278</varlistentry>
279<varlistentry>
280<term><replaceable parameter>num_children</replaceable>
281</term>
282<listitem>
283<para>Specifies the number of elements in <replaceable parameter>children</replaceable>.
284</para>
285</listitem>
286</varlistentry>
287</variablelist>
288</refsect2></refsynopsisdiv>
289
290<refsect1 id="r1-1007-unmanagechildren-1">
291<title>Description
292</title>
293<para><function>XtUnmanageChildren()</function> unmaps the specified widgets
294and removes them from their parent's geometry management.
295The widgets will disappear from the screen, and (depending
296on its parent) may no longer have screen space allocated for
297them.
298</para>
299<para>Each of the widgets in the <replaceable parameter>children</replaceable> array must have
300the same parent.
301</para>
302<para>See the &ldquo;Algorithm&rdquo; section below for full details of the
303widget unmanagement procedure.
304</para>
305</refsect1>
306
307<refsect1 id="r1-1007-unmanagechildren-2">
308<title>Usage</title>
309<para>Unmanaging widgets is the usual method for temporarily
310making them invisible. They can be re-managed with
311<function>XtManageChildren()</function>.
312</para>
313<para>You can unmap a widget, but leave it under geometry
314management by calling <function>XtUnmapWidget()</function>. You can
315destroy a widget's window without destroying the widget by
316calling <function>XtUnrealizeWidget()</function>. You can destroy a
317widget completely with <function>XtDestroyWidget()</function>.
318</para>
319<para>If you are only going to unmanage a single widget, it is
320more convenient to call <function>XtUnmanageChild()</function>. It is
321often more convenient to call <function>XtUnmanageChild()</function>
322several times than it is to declare and initialize an array
323of widgets to pass to <function>XtUnmanageChildren()</function>. Calling
324<function>XtUnmanageChildren()</function> is more efficient, however,
325because it only calls the parent's <function>change_managed()</function>
326method once.
327</para>
328</refsect1>
329
330<refsect1 id="r1-1007-unmanagechildren-3">
331<title>Algorithm
332</title>
333<para><function>XtUnmanageChildren()</function> performs the following:
334</para>
335<variablelist>
336<varlistentry>
337<term>-
338</term>
339<listitem>
340<para>Ignores the child if it already is unmanaged or is being
341destroyed.
342</para>
343</listitem>
344</varlistentry>
345<varlistentry>
346<term>-
347</term>
348<listitem>
349<para>Otherwise, if the child is realized, it makes it nonvisible
350by unmapping it.
351</para>
352</listitem>
353</varlistentry>
354</variablelist>
355<para>
356</para>
357</refsect1>
358
359<refsect1 id="r1-1007-unmanagechildren-4">
360<title>Structures</title>
361<para>The <type>WidgetList</type> type is simply an array of widgets:
362</para>
363<screen id="sc-1007-unmanagechildren-1">typedef Widget *WidgetList;
364</screen>
365</refsect1>
366</refentry>
367
368</chapter>
369
370<chapter id="faq">
371<title>Questions and Answers</title>
372
373<!-- (OPTIONAL but recommended) This chapter should include all of the silly
374(and not-so-silly) newbie questions that fill up your mailbox. This chapter
375should be reserved for BRIEF questions and answers! If one question uses more
376than a page or so then it should probably be part of the
377"Using this Application" chapter instead. You should use links to
378cross-reference questions to the parts of your documentation that answer them.
379This is also a great place to provide pointers to other FAQ's if your users
380must do some complicated configuration on other programs in order for your
381application work. -->
382
383&reporting.bugs;
384&updating.documentation;
385
386<qandaset id="faqlist">
387<qandaentry>
388<question>
389<para>My Mouse doesn't work. How do I quit &activemirrorcontrol;?</para>
390</question>
391<answer>
392<para>You silly goose! Check out the <link linkend="commands">Commands
393Section</link> for the answer.</para>
394</answer>
395</qandaentry>
396<qandaentry>
397<question>
398<para>Why can't I twiddle my documents?</para>
399</question>
400<answer>
401<para>You can only twiddle your documents if you have the foobar.lib
402installed.</para>
403</answer>
404</qandaentry>
405</qandaset>
406</chapter>
407
408<chapter id="credits">
409
410<!-- Include credits for the programmers, documentation writers, and
411contributors here. The license for your software should then be included below
412the credits with a reference to the appropriate license file included in the KDE
413distribution. -->
414
415<title>Credits and License</title>
416
417<para>
418&activemirrorcontrol;
419</para>
420<para>
421Program copyright 1997 John Q. Hacker <email>jqh@kde.org</email>
422</para>
423<para>
424Contributors:
425<itemizedlist>
426<listitem><para>Konqui the KDE Dragon <email>konqui@kde.org</email></para>
427</listitem>
428<listitem><para>Tux the Linux Penguin <email>tux@linux.org</email></para>
429</listitem>
430</itemizedlist>
431</para>
432
433<para>
434Documentation copyright 1999 George N. Ugnacious <email>gnu@kde.org</email>
435</para>
436<para>
437Translations done by:
438<itemizedlist>
439<listitem>
440<para>Babel D. Fish <email>babelfish@kde.org</email> (Sanskrit)</para>
441</listitem>
442</itemizedlist>
443</para>
444
445&underFDL; <!-- FDL: do not remove -->
446
447<!-- Determine which license your application is licensed under,
448 and delete all the remaining licenses below:
449
450 (NOTE: All documentation are licensed under the FDL,
451 regardless of what license the application uses) -->
452
453&underGPL; <!-- GPL License -->
454&underBSDLicense; <!-- BSD License -->
455&underArtisticLicense; <!-- BSD Artistic License -->
456&underX11License; <!-- X11 License -->
457
458</chapter>
459
460<appendix id="installation">
461<title>Installation</title>
462
463<sect1 id="getting-activemirrorcontrol">
464<title>How to obtain ActiveMirrorControl</title>
465
466<para>
467&activemirrorcontrol; is part of the KDE project
468<ulink url="http://www.kde.org">http://www.kde.org</ulink>.
469&activemirrorcontrol; can be found in the kdeutils package on
470<ulink url="ftp://ftp.kde.org/pub/kde/">ftp://ftp.kde.org/pub/kde/</ulink>, the
471main ftp site of the KDE project. </para>
472</sect1>
473
474<sect1 id="requirements">
475<title>Requirements</title>
476
477<!--
478List any special requirements for your application here. This should include:
479.Libraries or other software that is not included in kdesupport,
480kdelibs, or kdebase.
481.Hardware requirements like amount of RAM, disk space, graphics card
482capabilities, screen resolution, special expansion cards, etc.
483.Operating systems the app will run on. If your app is designed only for a
484specific OS, (you wrote a graphical LILO configurator for example) put this
485information here.
486-->
487
488<para>
489In order to successfully use &activemirrorcontrol;, you need KDE 1.1. Foobar.lib is required
490in order to support the advanced &activemirrorcontrol; features. &activemirrorcontrol; uses about 5 megs of
491memory to run, but this may vary depending on your platform and
492configuration.
493</para>
494
495<para>
496All required libraries as well as &activemirrorcontrol; itself can be found
497on <ulink url="ftp://ftp.activemirrorcontrol.org">The &activemirrorcontrol; home page</ulink>.
498</para>
499
500<!-- For a list of updates, you may refer to the application web site
501or the ChangeLog file, or ... -->
502<para>
503You can find a list of changes at <ulink
504url="http://apps.kde.org/activemirrorcontrol">http://apps.kde.org/activemirrorcontrol</ulink>.
505</para>
506</sect1>
507
508<sect1 id="compilation">
509<title>Compilation and installation</title>
510
511<para>
512In order to compile and install KApp on your system, type the following in the base
513directory of the Icon Editor distribution:
514<screen width="40">
515<prompt>%</prompt> <userinput>./configure</userinput>
516<prompt>%</prompt> <userinput>make</userinput>
517<prompt>%</prompt> <userinput>make install</userinput>
518</screen>
519</para>
520
521<para>Since KApp uses autoconf and automake you should have not trouble compiling it.
522Should you run into problems please report them to the KDE mailing lists.</para>
523
524</sect1>
525
526<sect1 id="configuration">
527<title>Configuration</title>
528
529<para>Don't forget to tell your system to start the <filename>dtd</filename>
530dicer-toaster daemon first, or KApp won't work !</para>
531
532</sect1>
533
534</appendix>
535
536&documentation.index;
537</book>
538<!--
539Local Variables:
540mode: sgml
541sgml-minimize-attributes: nil
542sgml-general-insert-case: lower
543End:
544-->
Note: See TracBrowser for help on using the repository browser.