亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? z77.html

?? gtk_text program sample&eg
?? HTML
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>  <head>    <title>      Argument Parsing with popt    </title>    <meta name="GENERATOR" content=    "Modular DocBook HTML Stylesheet Version 1.45">    <link rel="HOME" title="GTK+ / Gnome Application Development"    href="ggad.html">    <link rel="UP" title="Gnome Application Basics" href=     "cha-startup.html">    <link rel="PREVIOUS" title="Internationalization" href=     "sec-i18n.html">    <link rel="NEXT" title="Saving Configuration Information" href=     "z79.html">  </head>  <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink=   "#840084" alink="#0000FF">    <div class="NAVHEADER">      <table width="100%" border="0" bgcolor="#ffffff" cellpadding=       "1" cellspacing="0">        <tr>          <th colspan="4" align="center">            <font color="#000000" size="2">GTK+ / Gnome Application            Development</font>          </th>        </tr>        <tr>          <td width="25%" bgcolor="#ffffff" align="left">            <a href="sec-i18n.html"><font color="#0000ff" size="2">            <b>&lt;&lt;&lt; Previous</b></font></a>          </td>          <td width="25%" colspan="2" bgcolor="#ffffff" align=           "center">            <font color="#0000ff" size="2"><b><a href="ggad.html">            <font color="#0000ff" size="2"><b>            Home</b></font></a></b></font>          </td>          <td width="25%" bgcolor="#ffffff" align="right">            <a href="z79.html"><font color="#0000ff" size="2"><b>            Next &gt;&gt;&gt;</b></font></a>          </td>        </tr>      </table>    </div>    <div class="SECT1">      <h1 class="SECT1">        <a name="Z77">Argument Parsing with <tt class=        "APPLICATION">popt</tt></a>      </h1>      <p>        Gnome uses a powerful option-parsing library called <tt        class="APPLICATION">popt</tt>. <tt class="APPLICATION">        popt</tt> handles all the default Gnome options---to see        the default options, pass the <tt class="APPLICATION">        --help</tt> option to any Gnome application. You can add a        "<tt class="APPLICATION">popt</tt> table" with your custom        options. To do so, replace <tt class="FUNCTION">        gnome_init()</tt> with the <tt class="FUNCTION">        gnome_init_with_popt_table()</tt> variant (<a href=         "z77.html#FL-INITWITHPOPT">Figure 3</a>).      </p>      <div class="FIGURE">        <a name="FL-INITWITHPOPT"></a>        <div class="FUNCSYNOPSIS">          <a name="FL-INITWITHPOPT.SYNOPSIS"></a>          <table border="0" bgcolor="#E0E0E0" width="100%">            <tr>              <td><pre class="FUNCSYNOPSISINFO">#include &lt;libgnomeui/gnome-init.h&gt;</pre>              </td>            </tr>          </table>          <p>            <code><code class="FUNCDEF">int <tt class="FUNCTION">            gnome_init_with_popt_table</tt></code>(const char* <tt            class="PARAMETER"><i>app_id</i></tt>, const char* <tt            class="PARAMETER"><i>app_version</i></tt>, int <tt            class="PARAMETER"><i>argc</i></tt>, char** <tt class=             "PARAMETER"><i>argv</i></tt>, const struct poptOption*            <tt class="PARAMETER"><i>options</i></tt>, int <tt            class="PARAMETER"><i>flags</i></tt>, poptContext* <tt            class="PARAMETER"><i>return_ctx</i></tt>);</code>          </p>        </div>        <p>          <b>Figure 3. Init with Argument Parsing</b>        </p>      </div>      <p>        A <tt class="APPLICATION">popt</tt> table is simply an        array of <span class="STRUCTNAME">struct poptOption</span>,        defined as follows:      </p>      <table border="0" bgcolor="#E0E0E0" width="100%">        <tr>          <td><pre class="PROGRAMLISTING">&#13;struct poptOption {  const char* longName;  char shortName;           int argInfo;            void* arg;                int val;                  char* descrip;           char* argDescrip;       };&#13;</pre>          </td>        </tr>      </table>      <p>        The first two components are the long and short names for        the option; for example, <span class="STRUCTNAME">        "help"</span> and <span class="STRUCTNAME">'h'</span> would        correspond to command-line options <tt class="APPLICATION">        --help</tt> and <tt class="APPLICATION">-h</tt>. These can        be <span class="STRUCTNAME">NULL</span> and <tt class=         "APPLICATION">'\0'</tt> respectively, if you want only one        name for the option.      </p>      <p>        The <span class="STRUCTNAME">arginfo</span> member tells        what kind of table entry this is. Here are the possible        values:      </p>      <ul>        <li>          <p>            <span class="STRUCTNAME">POPT_ARG_NONE</span> means the            option is a simple switch, it takes no argument. &#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">POPT_ARG_STRING</span> means            the option takes a string argument, as in <tt class=             "APPLICATION">--geometry="300x300+50+100"</tt>.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">POPT_ARG_INT</span> means the            option takes an <span class="STRUCTNAME">int</span>            argument, as in <tt class="APPLICATION">            --columns=10</tt>.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">POPT_ARG_LONG</span> means the            option takes a <span class="STRUCTNAME">long</span>            argument.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">POPT_ARG_INCLUDE_TABLE</span>            means that this <span class="STRUCTNAME">struct            poptOption</span> does not specify an option, but            rather another <tt class="APPLICATION">popt</tt> table            to be included.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">POPT_ARG_CALLBACK</span> means            that this <span class="STRUCTNAME">struct            poptOption</span> does not specify an option, but            rather a callback function to be used for parsing            options in this table. This kind of entry should be at            the beginning of your table.&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">POPT_ARG_INTL_DOMAIN</span>            means that this <span class="STRUCTNAME">struct            poptOption</span> specifies the translation domain for            this table and any subtables.&#13;          </p>        </li>      </ul>      <p>        The meaning of <span class="STRUCTNAME">arg</span> depends        on the <span class="STRUCTNAME">arginfo</span> member. For        options that take an argument, <span class="STRUCTNAME">        arg</span> should point to a variable of the argument type.        <tt class="APPLICATION">popt</tt> will fill the pointed-to        variable with the argument. For <span class="STRUCTNAME">        POPT_ARG_NONE</span>, <span class="STRUCTNAME">*arg</span>        is set to <span class="STRUCTNAME">TRUE</span> if the        option is found on the command line. In all cases, <span        class="STRUCTNAME">arg</span> may be <span class=        "STRUCTNAME">NULL</span>, causing <tt class="APPLICATION">        popt</tt> to ignore it.      </p>      <p>        For <span class="STRUCTNAME">POPT_ARG_INCLUDE_TABLE</span>,        <span class="STRUCTNAME">arg</span> points to the table to        include; for <span class="STRUCTNAME">        POPT_ARG_CALLBACK</span>, it points to the callback to        invoke; for <span class="STRUCTNAME">        POPT_ARG_INTL_DOMAIN</span> it should be the translation        domain string.      </p>      <p>        The <span class="STRUCTNAME">val</span> member serves as an        identifier for each option. Typically it isn't that useful        in Gnome applications, but if you use a callback it will be        available in the callback. If you aren't going to use it,        set it to <span class="STRUCTNAME">0</span>.      </p>      <p>        The final two members are used to automatically generate        output for the <tt class="APPLICATION">--help</tt> option.        <span class="STRUCTNAME">descrip</span> describes an        option; <span class="STRUCTNAME">argDescrip</span>        describes the argument to that option, if applicable. For        example, the help for the <tt class="APPLICATION">        --display</tt> option looks like this:      </p>      <table border="0" bgcolor="#E0E0E0" width="100%">        <tr>          <td><pre class="PROGRAMLISTING">&#13;  --display=DISPLAY                X display to use&#13;</pre>          </td>        </tr>      </table>      <p>        Here <span class="STRUCTNAME">argDescrip</span> is "<tt        class="APPLICATION">DISPLAY</tt>" and <span class=         "STRUCTNAME">descrip</span> is "<tt class="APPLICATION">X        display to use</tt>." Remember to mark these two strings        for translation.      </p>      <p>        <span class="STRUCTNAME">descrip</span> has a slightly        different meaning for <span class="STRUCTNAME">        POPT_ARG_INCLUDE_TABLE</span>; in this case it titles a        "group" of options in the help output. For example, "<tt        class="APPLICATION">Help options</tt>" in the following        output:      </p>      <table border="0" bgcolor="#E0E0E0" width="100%">        <tr>          <td><pre class="PROGRAMLISTING">&#13;Help options  -?, --help                   Show this help message  --usage                      Display brief usage message&#13;</pre>          </td>        </tr>      </table>      <p>        If you place an entry of type <span class="STRUCTNAME">        POPT_ARG_CALLBACK</span> at the beginning of a <tt class=         "APPLICATION">popt</tt> table, a user-defined callback will        be invoked with information about each option found on the        command line. Here is the type your callback is expected to        have:      </p>      <table border="0" bgcolor="#E0E0E0" width="100%">        <tr>          <td><pre class="PROGRAMLISTING">&#13;typedef void (*poptCallbackType)(poptContext con,                                  enum poptCallbackReason reason,                                         const struct poptOption* opt,                                  const char* arg,                                  void* data);&#13;</pre>          </td>        </tr>      </table>      <p>        The opaque <span class="STRUCTNAME">poptContext</span>        object contains all of <tt class="APPLICATION">popt</tt>'s        state. This makes it possible to use <tt class=        "APPLICATION">popt</tt> more than once in the same program,        or parse more than one set of options simultaneously. You        can also extract information about the current parsing        state from the <span class="STRUCTNAME">poptContext</span>,        using functions provided by <tt class="APPLICATION">        popt</tt>.      </p>      <p>        Possible <span class="STRUCTNAME">poptCallbackReason</span>        values are:      </p>      <ul>        <li>          <p>            <span class="STRUCTNAME">            POPT_CALLBACK_REASON_PRE</span>&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">            POPT_CALLBACK_REASON_POST</span>&#13;          </p>        </li>        <li>          <p>            <span class="STRUCTNAME">            POPT_CALLBACK_REASON_OPTION</span>&#13;          </p>        </li>      </ul>      <p>        Your callback is called once for each option found on the        command line with <span class="STRUCTNAME">        POPT_CALLBACK_REASON_OPTION</span> as the <span class=         "STRUCTNAME">reason</span> argument. If you request, it can        also be called before and after argument parsing. In these        cases <span class="STRUCTNAME">reason</span> will be <span        class="STRUCTNAME">POPT_CALLBACK_REASON_PRE</span> or <span        class="STRUCTNAME">POPT_CALLBACK_REASON_POST</span>. To        specify that you want your callback to be called before or

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产色爱av资源综合区| 婷婷综合五月天| 精品99一区二区| 在线播放/欧美激情| 欧美日本精品一区二区三区| 欧美中文一区二区三区| 色av一区二区| 一本大道综合伊人精品热热| 色诱亚洲精品久久久久久| 99热国产精品| 欧美伊人久久久久久午夜久久久久| 色综合天天综合| 日本高清视频一区二区| 91福利区一区二区三区| 欧美日韩三级一区二区| 欧美精品精品一区| 日韩精品一区二区三区蜜臀| 久久久久久97三级| 国产情人综合久久777777| 日本一区二区成人| 国产精品二区一区二区aⅴ污介绍| 中文字幕一区在线观看视频| 亚洲卡通欧美制服中文| 一区二区三区四区国产精品| 视频一区二区三区入口| 蜜桃视频在线观看一区| 国产九色sp调教91| 91免费视频大全| 欧美精品乱码久久久久久按摩| 欧美一区二区精品| 国产欧美日韩三区| 亚洲精品久久7777| 麻豆精品蜜桃视频网站| 粉嫩高潮美女一区二区三区| 成人动漫av在线| 欧美美女网站色| 亚洲精品在线观看视频| 国产精品黄色在线观看| 亚洲国产欧美日韩另类综合| 毛片一区二区三区| 成人h动漫精品| 欧美精品久久99久久在免费线 | 一区二区中文字幕在线| 一片黄亚洲嫩模| 久久疯狂做爰流白浆xx| av电影一区二区| 欧美一区二区播放| 国产精品嫩草影院com| 亚洲成人精品一区二区| 国产一区二区三区| 欧美在线不卡一区| 国产清纯在线一区二区www| 亚洲国产精品天堂| 国产高清在线精品| 欧美系列亚洲系列| 中文字幕久久午夜不卡| 三级不卡在线观看| 成人激情图片网| 日韩一区和二区| 一区二区三区四区高清精品免费观看| 久久电影网站中文字幕| 在线观看成人小视频| 精品久久99ma| 亚洲精品久久久蜜桃| 国产精品99久久久久久宅男| 欧美日韩亚洲综合| 国产精品乱码一区二区三区软件| 丝袜美腿亚洲一区| 91猫先生在线| 国产亚洲综合色| 午夜精品久久久久久不卡8050| 成人爱爱电影网址| 精品女同一区二区| 天天av天天翘天天综合网色鬼国产| av在线播放不卡| 久久午夜老司机| 亚洲电影视频在线| 91美女片黄在线观看| 欧美国产欧美亚州国产日韩mv天天看完整| 婷婷六月综合网| 色婷婷av一区二区三区gif | 天天综合色天天综合| 成人av影视在线观看| 精品sm捆绑视频| 美国av一区二区| 91精品国产色综合久久ai换脸| 亚洲美女屁股眼交3| 粉嫩aⅴ一区二区三区四区| 精品蜜桃在线看| 蜜臂av日日欢夜夜爽一区| 欧美日韩成人综合在线一区二区| 亚洲色图欧美在线| 99久久精品免费观看| 国产精品私人影院| 国产白丝精品91爽爽久久| 欧美成人艳星乳罩| 免费在线欧美视频| 欧美一级精品在线| 美女网站色91| 欧美成人a视频| 蜜臀av性久久久久蜜臀aⅴ| 777久久久精品| 日本色综合中文字幕| 91精品久久久久久蜜臀| 日韩精品国产精品| 制服丝袜在线91| 免费成人美女在线观看.| 91精品久久久久久久久99蜜臂| 图片区日韩欧美亚洲| 91麻豆精品国产91久久久使用方法 | 国产成人综合网| 亚洲国产高清在线观看视频| 粗大黑人巨茎大战欧美成人| 欧美激情资源网| 成人av综合在线| 亚洲精品国产一区二区精华液 | 依依成人综合视频| 91精彩视频在线| 五月激情丁香一区二区三区| 91精品国产aⅴ一区二区| 日韩高清电影一区| 日韩欧美在线网站| 国产在线精品一区二区| 亚洲国产精品成人综合| 91在线免费播放| 亚洲午夜久久久久久久久久久| 欧美精品在线一区二区三区| 久久av老司机精品网站导航| 国产亚洲女人久久久久毛片| 不卡高清视频专区| 亚洲精品成a人| 91麻豆精品91久久久久久清纯| 久久91精品国产91久久小草| 国产视频911| 色综合久久久网| 日韩国产一二三区| 久久久精品2019中文字幕之3| 波多野结衣亚洲| 亚洲不卡av一区二区三区| 欧美一区二区福利在线| 国产福利一区在线观看| 一区二区三区四区不卡视频| 日韩三级中文字幕| 成人性生交大片免费看中文| 午夜在线电影亚洲一区| 久久先锋影音av| 黄页视频在线91| 激情亚洲综合在线| 日韩成人dvd| 手机精品视频在线观看| 国产精品亚洲成人| 成人欧美一区二区三区| 91精品视频网| 成年人网站91| 麻豆国产欧美一区二区三区| 亚洲丝袜自拍清纯另类| 9191久久久久久久久久久| 国产白丝精品91爽爽久久| 亚洲国产欧美一区二区三区丁香婷| 精品盗摄一区二区三区| 色琪琪一区二区三区亚洲区| 极品少妇xxxx偷拍精品少妇| 一区二区三区不卡在线观看| wwwwww.欧美系列| 欧美亚洲禁片免费| 高清在线不卡av| 日本美女一区二区三区视频| 亚洲免费观看在线观看| 久久综合九色综合97婷婷女人| 欧美日韩在线三区| av一区二区三区四区| 精品影院一区二区久久久| 一区二区三区高清不卡| 欧美国产成人在线| 精品久久久影院| 欧美精品久久久久久久久老牛影院| 99视频超级精品| 国产在线看一区| 视频在线观看一区二区三区| 亚洲天堂免费在线观看视频| 久久久精品免费免费| 日韩一区二区在线看| 欧美日韩一区二区三区免费看| 色综合色综合色综合| 成人免费高清在线| 国产精品一卡二卡在线观看| 免费精品视频在线| 亚洲成人免费视| 亚洲一区二区三区在线看| 国产精品久久夜| 欧美韩国日本一区| 久久久久久97三级| 久久综合久色欧美综合狠狠| 欧美一区二区三区在线观看| 欧美四级电影在线观看| 不卡视频在线观看| 成人动漫一区二区在线| 成人中文字幕电影| 粉嫩嫩av羞羞动漫久久久 | jlzzjlzz亚洲女人18|