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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? glib-commandline-option-parser.html

?? glid編寫實例
?? HTML
?? 第 1 頁 / 共 5 頁
字號:
<p>Error domain for option parsing. Errors in this domain willbe from the <a href="glib-Commandline-option-parser.html#GOptionError"><span class="type">GOptionError</span></a> enumeration. See <a href="glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for information on error domains.</p></div><hr><div class="refsect2" lang="en"><a name="id3063585"></a><h3><a name="GOptionArgFunc"></a>GOptionArgFunc ()</h3><a class="indexterm" name="id3063596"></a><pre class="programlisting"><a href="glib-Basic-Types.html#gboolean">gboolean</a>    (*GOptionArgFunc)               (const <a href="glib-Basic-Types.html#gchar">gchar</a> *option_name,                                             const <a href="glib-Basic-Types.html#gchar">gchar</a> *value,                                             <a href="glib-Basic-Types.html#gpointer">gpointer</a> data,                                             <a href="glib-Error-Reporting.html#GError">GError</a> **error);</pre><p>The type of function to be passed as callback for <code class="literal">G_OPTION_ARG_CALLBACK</code>options.</p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>option_name</code></em>&#160;:</span></td><td>The name of the option being parsed. This will be either a   single dash followed by a single letter (for a short name) or two dashes  followed by a long option name.</td></tr><tr><td><span class="term"><em class="parameter"><code>value</code></em>&#160;:</span></td><td>The value to be parsed.</td></tr><tr><td><span class="term"><em class="parameter"><code>data</code></em>&#160;:</span></td><td>User data added to the <a href="glib-Commandline-option-parser.html#GOptionGroup"><span class="type">GOptionGroup</span></a> containing the option when it  was created with <a href="glib-Commandline-option-parser.html#g-option-group-new"><code class="function">g_option_group_new()</code></a></td></tr><tr><td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td><td>A return location for errors. The error code <code class="literal">G_OPTION_ERROR_FAILED</code>  is intended to be used for errors in <a href="glib-Commandline-option-parser.html#GOptionArgFunc"><span class="type">GOptionArgFunc</span></a> callbacks.</td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td><td><code class="literal">TRUE</code> if the option was successfully parsed, <code class="literal">FALSE</code> if an error   occurred</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3063774"></a><h3><a name="GOptionContext"></a>GOptionContext</h3><a class="indexterm" name="id3063785"></a><pre class="programlisting">typedef struct _GOptionContext GOptionContext;</pre><p>A <span class="structname">GOptionContext</span> struct defines which optionsare accepted by the commandline option parser. The struct has only private fields and should not be directly accessed.</p></div><hr><div class="refsect2" lang="en"><a name="id3063807"></a><h3><a name="g-option-context-new"></a>g_option_context_new ()</h3><a class="indexterm" name="id3063818"></a><pre class="programlisting"><a href="glib-Commandline-option-parser.html#GOptionContext">GOptionContext</a>* g_option_context_new        (const <a href="glib-Basic-Types.html#gchar">gchar</a> *parameter_string);</pre><p>Creates a new option context.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>parameter_string</code></em>&#160;:</span></td><td> a string which is displayed in   the first line of <code class="option">--help</code> output, after    <code class="literal"><em class="replaceable"><code>programname</code></em> [OPTION...]</code></td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td><td> a newly created <a href="glib-Commandline-option-parser.html#GOptionContext"><span class="type">GOptionContext</span></a>, which must be   freed with <a href="glib-Commandline-option-parser.html#g-option-context-free"><code class="function">g_option_context_free()</code></a> after use.</td></tr></tbody></table></div><p>Since  2.6</p></div><hr><div class="refsect2" lang="en"><a name="id3063917"></a><h3><a name="g-option-context-free"></a>g_option_context_free ()</h3><a class="indexterm" name="id3063928"></a><pre class="programlisting">void        g_option_context_free           (<a href="glib-Commandline-option-parser.html#GOptionContext">GOptionContext</a> *context);</pre><p>Frees context and all the groups which have been added to it.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>context</code></em>&#160;:</span></td><td> a <a href="glib-Commandline-option-parser.html#GOptionContext"><span class="type">GOptionContext</span></a> </td></tr></tbody></table></div><p>Since  2.6</p></div><hr><div class="refsect2" lang="en"><a name="id3063991"></a><h3><a name="g-option-context-parse"></a>g_option_context_parse ()</h3><a class="indexterm" name="id3064002"></a><pre class="programlisting"><a href="glib-Basic-Types.html#gboolean">gboolean</a>    g_option_context_parse          (<a href="glib-Commandline-option-parser.html#GOptionContext">GOptionContext</a> *context,                                             <a href="glib-Basic-Types.html#gint">gint</a> *argc,                                             <a href="glib-Basic-Types.html#gchar">gchar</a> ***argv,                                             <a href="glib-Error-Reporting.html#GError">GError</a> **error);</pre><p>Parses the command line arguments, recognizing optionswhich have been added to <em class="parameter"><code>context</code></em>. A side-effect of calling this function is that <a href="glib-Miscellaneous-Utility-Functions.html#g-set-prgname"><code class="function">g_set_prgname()</code></a> will becalled.</p><p>If the parsing is successful, any parsed arguments areremoved from the array and <em class="parameter"><code>argc</code></em> and <em class="parameter"><code>argv</code></em> are updated accordingly. A '--' option is stripped from <em class="parameter"><code>argv</code></em>unless there are unparsed options before and after it, or some of the options after it start with '-'. In case of an error, <em class="parameter"><code>argc</code></em> and <em class="parameter"><code>argv</code></em> are left unmodified. </p><p>If automatic <code class="option">--help</code> support is enabled(see <a href="glib-Commandline-option-parser.html#g-option-context-set-help-enabled"><code class="function">g_option_context_set_help_enabled()</code></a>), and the <em class="parameter"><code>argv</code></em> array contains one of the recognized help options,this function will produce help output to stdout andcall <code class="literal">exit (0)</code>.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>context</code></em>&#160;:</span></td><td> a <a href="glib-Commandline-option-parser.html#GOptionContext"><span class="type">GOptionContext</span></a></td></tr><tr><td><span class="term"><em class="parameter"><code>argc</code></em>&#160;:</span></td><td> a pointer to the number of command line arguments.</td></tr><tr><td><span class="term"><em class="parameter"><code>argv</code></em>&#160;:</span></td><td> a pointer to the array of command line arguments.</td></tr><tr><td><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></td><td> a return location for errors </td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td><td> <code class="literal">TRUE</code> if the parsing was successful,               <code class="literal">FALSE</code> if an error occurred</td></tr></tbody></table></div><p>Since  2.6</p></div><hr><div class="refsect2" lang="en"><a name="id3064243"></a><h3><a name="g-option-context-set-help-enabled"></a>g_option_context_set_help_enabled ()</h3><a class="indexterm" name="id3064255"></a><pre class="programlisting">void        g_option_context_set_help_enabled                                            (<a href="glib-Commandline-option-parser.html#GOptionContext">GOptionContext</a> *context,                                             <a href="glib-Basic-Types.html#gboolean">gboolean</a> help_enabled);</pre><p>Enables or disables automatic generation of <code class="option">--help</code> output. By default, <a href="glib-Commandline-option-parser.html#g-option-context-parse"><code class="function">g_option_context_parse()</code></a> recognizes<code class="option">--help</code>, <code class="option">-?</code>, <code class="option">--help-all</code>and <code class="option">--help-</code><em class="replaceable"><code>groupname</code></em> and createssuitable output to stdout.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>context</code></em>&#160;:</span></td><td> a <a href="glib-Commandline-option-parser.html#GOptionContext"><span class="type">GOptionContext</span></a></td></tr><tr><td><span class="term"><em class="parameter"><code>help_enabled</code></em>&#160;:</span></td><td> <code class="literal">TRUE</code> to enable <code class="option">--help</code>, <code class="literal">FALSE</code> to disable it</td></tr></tbody></table></div><p>Since  2.6</p></div><hr><div class="refsect2" lang="en"><a name="id3064388"></a><h3><a name="g-option-context-get-help-enabled"></a>g_option_context_get_help_enabled ()</h3><a class="indexterm" name="id3064400"></a><pre class="programlisting"><a href="glib-Basic-Types.html#gboolean">gboolean</a>    g_option_context_get_help_enabled                                            (<a href="glib-Commandline-option-parser.html#GOptionContext">GOptionContext</a> *context);</pre><p>Returns whether automatic <code class="option">--help</code> generationis turned on for <em class="parameter"><code>context</code></em>. See <a href="glib-Commandline-option-parser.html#g-option-context-set-help-enabled"><code class="function">g_option_context_set_help_enabled()</code></a>.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><span class="term"><em class="parameter"><code>context</code></em>&#160;:</span></td><td> a <a href="glib-Commandline-option-parser.html#GOptionContext"><span class="type">GOptionContext</span></a></td></tr><tr><td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td><td> <code class="literal">TRUE</code> if automatic help generation is turned on.</td></tr></tbody></table></div><p>Since  2.6</p></div><hr><div class="refsect2" lang="en"><a name="id3064501"></a><h3><a name="g-option-context-set-ignore-unknown-options"></a>g_option_context_set_ignore_unknown_options ()</h3><a class="indexterm" name="id3064514"></a><pre class="programlisting">void        g_option_context_set_ignore_unknown_options                                            (<a href="glib-Commandline-option-parser.html#GOptionContext">GOptionContext</a> *context,                                             <a href="glib-Basic-Types.html#gboolean">gboolean</a> ignore_unknown);</pre><p>Sets whether to ignore unknown options or not. If an argument is ignored, it is left in the <em class="parameter"><code>argv</code></em> array after parsing. By default, 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品伦理精品一区| 亚洲国产精品一区二区www在线 | 91精品午夜视频| 国产亚洲精品久| 天天影视网天天综合色在线播放| 国产精品一二三四区| 欧美日韩亚州综合| 国产精品久久久久久久久图文区| 免费观看久久久4p| 91福利精品第一导航| 欧美激情综合五月色丁香| 日韩精品电影在线| 在线影视一区二区三区| 国产精品久久看| 国产一二三精品| 欧美一级一区二区| 亚洲国产视频在线| 日本精品裸体写真集在线观看| 国产夜色精品一区二区av| 日本在线不卡视频一二三区| 97久久人人超碰| 欧美精品一区二区在线观看| 日韩vs国产vs欧美| 91麻豆精品国产91久久久使用方法| 国产精品欧美经典| 成人免费视频免费观看| 国产色产综合色产在线视频| 久久99日本精品| 欧美xxxxxxxx| 韩国v欧美v亚洲v日本v| 日韩精品中午字幕| 蜜乳av一区二区| 日韩欧美在线观看一区二区三区| 亚洲成人在线网站| 欧美日韩视频第一区| 亚洲一区二区三区四区的| 色久优优欧美色久优优| 亚洲青青青在线视频| 色婷婷激情综合| 亚洲最大成人网4388xx| 色噜噜狠狠一区二区三区果冻| 亚洲猫色日本管| 在线观看国产91| 日韩黄色小视频| 亚洲精品一区二区三区精华液| 国产在线精品视频| 国产欧美精品一区二区三区四区| 高清不卡在线观看| 亚洲男人的天堂网| 精品视频在线免费| 精品一区二区三区在线播放视频| 精品国产1区二区| 国产激情视频一区二区三区欧美 | 欧美日韩久久久| 日韩中文字幕1| 亚洲精品在线电影| 99精品视频在线观看| 亚洲最新视频在线观看| 日韩欧美电影一二三| 国产成人免费在线观看不卡| 亚洲人成网站在线| 日韩一区二区免费在线观看| 国产伦精品一区二区三区在线观看 | 国产精品视频观看| 在线免费观看日韩欧美| 丝袜亚洲另类丝袜在线| 久久免费看少妇高潮| 色综合天天做天天爱| 亚洲va欧美va人人爽| 久久综合九色综合97婷婷女人| bt欧美亚洲午夜电影天堂| 亚洲电影一级片| 国产亚洲成aⅴ人片在线观看 | 欧美一区永久视频免费观看| 韩日精品视频一区| 亚洲一区二区高清| 久久免费电影网| 欧美日韩国产系列| 成人av网站在线观看免费| 亚洲一区av在线| 国产日产欧美精品一区二区三区| 欧美性猛片xxxx免费看久爱| 国产精品一二三| 午夜视频一区在线观看| 国产精品私人自拍| 日韩欧美国产一二三区| 一本到三区不卡视频| 国产麻豆成人精品| 免费观看日韩av| 亚洲亚洲人成综合网络| 中文在线一区二区| 欧美电影免费观看高清完整版在线 | 欧美一区二区三区四区在线观看 | 欧美专区在线观看一区| 国产精品456露脸| 美国毛片一区二区三区| 亚洲小说春色综合另类电影| 欧美国产激情二区三区| 精品国产免费人成电影在线观看四季| 色伊人久久综合中文字幕| 国产精品一色哟哟哟| 老司机精品视频线观看86| 一区二区三区免费网站| 亚洲欧美怡红院| 久久久精品一品道一区| 欧美成人a∨高清免费观看| 欧美美女激情18p| 日本福利一区二区| 91成人在线精品| 成人av午夜电影| 99在线精品一区二区三区| 成人一级视频在线观看| 国产精品一区二区果冻传媒| 捆绑调教美女网站视频一区| 天堂午夜影视日韩欧美一区二区| 亚洲自拍偷拍图区| 亚洲国产精品久久久久婷婷884| 亚洲欧美韩国综合色| 国产精品久久久久aaaa| 国产精品美女久久福利网站 | 欧美一区二区播放| 3d成人动漫网站| 日韩视频永久免费| www欧美成人18+| 久久久国际精品| 中文一区二区在线观看| 国产精品久久福利| 伊人婷婷欧美激情| 午夜欧美大尺度福利影院在线看| 亚洲国产中文字幕| 美洲天堂一区二卡三卡四卡视频| 美女一区二区视频| 国产尤物一区二区| av不卡在线播放| 精品视频全国免费看| 欧美一区二区精品| 精品国产自在久精品国产| 国产无人区一区二区三区| 国产精品久久影院| 亚洲一本大道在线| 精品一区二区三区免费毛片爱| 激情成人午夜视频| 成人黄色av网站在线| 欧洲一区在线观看| 日韩一区二区三区在线观看| 久久久一区二区| 一区二区三区中文免费| 久久精品国产亚洲高清剧情介绍| 国产成人8x视频一区二区| 欧洲国内综合视频| 日韩免费观看高清完整版 | 精品国产一二三区| 中文字幕不卡一区| 亚洲成人动漫av| 国产成人8x视频一区二区| 欧美三级视频在线观看| 久久精品夜色噜噜亚洲a∨| 亚洲色图在线视频| 毛片av一区二区| 99国内精品久久| 精品久久久久香蕉网| 亚洲美女免费在线| 国产精品亚洲成人| 欧美女孩性生活视频| 国产欧美一区在线| 日韩高清不卡一区| 99久久精品免费| 精品国产一区a| 亚洲成a人v欧美综合天堂下载| 国产99久久久精品| 日韩欧美一区二区在线视频| 中文字幕一区二区三区不卡在线| 免费观看一级欧美片| 在线日韩国产精品| 国产欧美一区二区在线| 蜜桃91丨九色丨蝌蚪91桃色| 色先锋久久av资源部| 久久久久久久国产精品影院| 天天爽夜夜爽夜夜爽精品视频| 91亚洲男人天堂| 国产三级精品视频| 久久激五月天综合精品| 欧美色图激情小说| 亚洲色图制服丝袜| 成人免费高清在线观看| 2023国产一二三区日本精品2022| 视频一区国产视频| 欧美无人高清视频在线观看| 综合欧美亚洲日本| 国产99精品视频| 久久久国产综合精品女国产盗摄| 日本美女视频一区二区| 欧美日韩国产天堂| 亚洲一区二区免费视频| 日本韩国欧美一区二区三区| 国产精品国产三级国产普通话99 | 久久综合色婷婷| 久久国产精品99精品国产| 日韩视频在线永久播放| 青青草伊人久久|