⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.docbook

📁 knetfilter-3.3.0.tar Linux
💻 DOCBOOK
📖 第 1 页 / 共 2 页
字号:
<varlistentry><term><menuchoice><shortcut><keycombo><keycap>Ctrl</keycap><keycap>n</keycap></keycombo></shortcut><guimenu>File</guimenu><guimenuitem>New</guimenuitem></menuchoice></term><listitem><para><action>Creates a new document</action></para></listitem></varlistentry><varlistentry><term><menuchoice><shortcut><keycombo><keycap>Ctrl</keycap><keycap>s</keycap></keycombo></shortcut><guimenu>File</guimenu><guimenuitem>Save</guimenuitem></menuchoice></term><listitem><para><action>Saves the document</action></para></listitem></varlistentry><varlistentry><term><menuchoice><shortcut><keycombo><keycap>Ctrl</keycap><keycap>q</keycap></keycombo></shortcut><guimenu>File</guimenu><guimenuitem>Quit</guimenuitem></menuchoice></term><listitem><para><action>Quits</action> &kapp;</para></listitem></varlistentry></variablelist></para></sect2><!-- fixed text for the help menu -->&help.menu;</sect1></chapter><chapter id="developers"><title>Developer's Guide to Kapp</title><!-- (OPTIONAL) A Programming/Scripting reference chapter should beused for apps that use plugins or that provide their own scripting hooksand/or development libraries. --><para>Programming &kapp; plugins is a joy to behold. Just read through the next66 pages of API's to learn how!</para><!-- Use refentries to describe APIs.  Refentries are fairly complicated and youshould consult the docbook reference for further details. The example below wastaken from that reference and shortened a bit for readability. --><refentry id="re-1007-unmanagechildren-1"><refmeta><refentrytitle>XtUnmanageChildren</refentrytitle><refmiscinfo>Xt - Geometry Management</refmiscinfo></refmeta><refnamediv><refname>XtUnmanageChildren</refname><refpurpose>remove a list of children from a parent widget's managed list.</refpurpose><indexterm id="ix-1007-unmanagechildren-1"><primary>widgets</primary><secondary>removing</secondary></indexterm><indexterm id="ix-1007-unmanagechildren-2"><primary>XtUnmanageChildren</primary></indexterm></refnamediv><refsynopsisdiv><refsynopsisdivinfo><date>4 March 1996</date></refsynopsisdivinfo><synopsis>void XtUnmanageChildren(<replaceable parameter>children</replaceable>, <replaceable parameter>num_children</replaceable>)    WidgetList <replaceable parameter>children</replaceable>;    Cardinal <replaceable parameter>num_children</replaceable>;</synopsis><refsect2 id="r2-1007-unmanagechildren-1"><title>Inputs</title><variablelist><varlistentry><term><replaceable 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 parameter>num_children</replaceable></term><listitem><para>Specifies the number of elements in <replaceable 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 parameter>children</replaceable> array must havethe same parent.</para><para>See the &ldquo;Algorithm&rdquo; 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 &kapp;?</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>&kapp;</para><para>Program copyright 1997 John Q. Hacker <email>jqh@kde.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 1999 George N. Ugnacious <email>gnu@kde.org</email></para><para>Translations done by:<itemizedlist><listitem><para>Babel D. Fish <email>babelfish@kde.org</email> (Sanskrit)</para></listitem></itemizedlist></para>&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>&documentation.index;</book><!--Local Variables:sgml-minimize-attributes: nilsgml-general-insert-case: lowerEnd:-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -