📄 index.docbook
字号:
<synopsis>void XtUnmanageChildren(<replaceable class="parameter">children</replaceable>, <replaceable class="parameter">num_children</replaceable>) WidgetList <replaceable class="parameter">children</replaceable>; Cardinal <replaceable class="parameter">num_children</replaceable>;</synopsis><refsect2 id="r2-1007-unmanagechildren-1"><title>Inputs</title><variablelist><varlistentry><term><replaceable class="parameter">children</replaceable></term><listitem><para>Specifies an array of child widgets. Each child must be ofclass RectObj or any subclass thereof.</para></listitem></varlistentry><varlistentry><term><replaceable class="parameter">num_children</replaceable></term><listitem><para>Specifies the number of elements in <replaceable class="parameter">children</replaceable>.</para></listitem></varlistentry></variablelist></refsect2></refsynopsisdiv><refsect1 id="r1-1007-unmanagechildren-1"><title>Description</title><para><function>XtUnmanageChildren()</function> unmaps the specified widgetsand removes them from their parent's geometry management.The widgets will disappear from the screen, and (dependingon its parent) may no longer have screen space allocated forthem.</para><para>Each of the widgets in the <replaceable class="parameter">children</replaceable> array must havethe same parent.</para><para>See the “Algorithm” section below for full details of thewidget unmanagement procedure.</para></refsect1><refsect1 id="r1-1007-unmanagechildren-2"><title>Usage</title><para>Unmanaging widgets is the usual method for temporarilymaking them invisible. They can be re-managed with<function>XtManageChildren()</function>.</para><para>You can unmap a widget, but leave it under geometrymanagement by calling <function>XtUnmapWidget()</function>. You candestroy a widget's window without destroying the widget bycalling <function>XtUnrealizeWidget()</function>. You can destroy awidget completely with <function>XtDestroyWidget()</function>.</para><para>If you are only going to unmanage a single widget, it ismore convenient to call <function>XtUnmanageChild()</function>. It isoften more convenient to call <function>XtUnmanageChild()</function>several times than it is to declare and initialize an arrayof widgets to pass to <function>XtUnmanageChildren()</function>. Calling<function>XtUnmanageChildren()</function> is more efficient, however,because it only calls the parent's <function>change_managed()</function>method once.</para></refsect1><refsect1 id="r1-1007-unmanagechildren-3"><title>Algorithm</title><para><function>XtUnmanageChildren()</function> performs the following:</para><variablelist><varlistentry><term>-</term><listitem><para>Ignores the child if it already is unmanaged or is beingdestroyed.</para></listitem></varlistentry><varlistentry><term>-</term><listitem><para>Otherwise, if the child is realized, it makes it nonvisibleby unmapping it.</para></listitem></varlistentry></variablelist><para></para></refsect1><refsect1 id="r1-1007-unmanagechildren-4"><title>Structures</title><para>The <type>WidgetList</type> type is simply an array of widgets:</para><screen id="sc-1007-unmanagechildren-1">typedef Widget *WidgetList;</screen></refsect1></refentry></chapter><chapter id="faq"><title>Questions and Answers</title><!-- (OPTIONAL but recommended) This chapter should include all of the silly(and not-so-silly) newbie questions that fill up your mailbox. This chaptershould be reserved for BRIEF questions and answers! If one question uses morethan a page or so then it should probably be part of the"Using this Application" chapter instead. You should use links tocross-reference questions to the parts of your documentation that answer them.This is also a great place to provide pointers to other FAQ's if your usersmust do some complicated configuration on other programs in order for yourapplication work. -->&reporting.bugs;&updating.documentation;<qandaset id="faqlist"><qandaentry><question><para>My Mouse doesn't work. How do I quit &ksensors;?</para></question><answer><para>You silly goose! Check out the <link linkend="commands">CommandsSection</link> for the answer.</para></answer></qandaentry><qandaentry><question><para>Why can't I twiddle my documents?</para></question><answer><para>You can only twiddle your documents if you have the foobar.libinstalled.</para></answer></qandaentry></qandaset></chapter><chapter id="credits"><!-- Include credits for the programmers, documentation writers, andcontributors here. The license for your software should then be included belowthe credits with a reference to the appropriate license file included in the KDEdistribution. --><title>Credits and License</title><para>&ksensors;</para><para>Program copyright 2003 noname <email>s@s.org</email></para><para>Contributors:<itemizedlist><listitem><para>Konqui the KDE Dragon <email>konqui@kde.org</email></para></listitem><listitem><para>Tux the Linux Penguin <email>tux@linux.org</email></para></listitem></itemizedlist></para><para>Documentation copyright 2003 noname <email>s@s.org</email></para><!-- TRANS:CREDIT_FOR_TRANSLATORS -->&underFDL; <!-- FDL: do not remove --><!-- Determine which license your application is licensed under, and delete all the remaining licenses below: (NOTE: All documentation are licensed under the FDL, regardless of what license the application uses) -->&underGPL; <!-- GPL License -->&underBSDLicense; <!-- BSD License -->&underArtisticLicense; <!-- BSD Artistic License -->&underX11License; <!-- X11 License --></chapter><appendix id="installation"><title>Installation</title><sect1 id="getting-ksensors"><title>How to obtain &ksensors;</title><!-- This first entity contains boiler plate for applications that arepart of KDE CVS. You should remove it if you are releasing yourapplication --> &install.intro.documentation;</sect1><sect1 id="requirements"><title>Requirements</title><!--List any special requirements for your application here. This should include:.Libraries or other software that is not included in kdesupport,kdelibs, or kdebase..Hardware requirements like amount of RAM, disk space, graphics cardcapabilities, screen resolution, special expansion cards, etc..Operating systems the app will run on. If your app is designed only for aspecific OS, (you wrote a graphical LILO configurator for example) put thisinformation here.--><para>In order to successfully use &ksensors;, you need &kde; 1.1. Foobar.lib isrequired in order to support the advanced &ksensors; features. &ksensors; usesabout 5 megs of memory to run, but this may vary depending on yourplatform and configuration.</para><para>All required libraries as well as &ksensors; itself can be foundon <ulink url="ftp://ftp.ksensors.org">The &ksensors; home page</ulink>.</para><!-- For a list of updates, you may refer to the application web siteor the ChangeLog file, or ... --><para>You can find a list of changes at <ulinkurl="http://apps.kde.org/ksensors">http://apps.kde.org/ksensors</ulink>.</para></sect1><sect1 id="compilation"><title>Compilation and Installation</title><!-- This entity contains the boilerplate text for standard --><!-- compilation instructions. If your application requires any --><!-- special handling, remove it, and replace with your own text. -->&install.compile.documentation;</sect1><sect1 id="configuration"><title>Configuration</title><para>Don't forget to tell your system to start the <filename>dtd</filename>dicer-toaster daemon first, or &ksensors; won't work !</para></sect1></appendix>&documentation.index;</book><!--Local Variables:mode: sgmlsgml-minimize-attributes:nilsgml-general-insert-case:lowersgml-indent-step:0sgml-indent-data:nilEnd:vim:tabstop=2:shiftwidth=2:expandtab -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -