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

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

?? option.sgml

?? GLIB-C的最新源代碼
?? SGML
?? 第 1 頁 / 共 2 頁
字號:
<!-- ##### SECTION Title ##### -->Commandline option parser<!-- ##### SECTION Short_Description ##### -->parses commandline options<!-- ##### SECTION Long_Description ##### --><para>The GOption commandline parser is intended to be a simpler replacement for thepopt library. It supports short and long commandline options, as shown in the following example:</para><para><literal>testtreemodel -r 1 --max-size 20 --rand --display=:1.0 -vb -- file1 file2</literal></para><para>The example demonstrates a number of features of the GOption commandline parser<itemizedlist><listitem><para>  Options can be single letters, prefixed by a single dash. Multiple  short options can be grouped behind a single dash.</para></listitem><listitem><para>  Long options are prefixed by two consecutive dashes.</para></listitem><listitem><para>  Options can have an extra argument, which can be a number, a string or a filename.  For long options, the extra argument can be appended with an equals sign after the  option name.</para></listitem><listitem><para>  Non-option arguments are returned to the application as rest arguments.</para></listitem><listitem><para>  An argument consisting solely of two dashes turns off further parsing, any remaining  arguments (even those starting with a dash) are returned to the application as rest   arguments.</para></listitem></itemizedlist></para><para>Another important feature of GOption is that it can automatically generate nicelyformatted help output. Unless it is explicitly turned off with g_option_context_set_help_enabled(), GOption will recognize the <option>--help</option>, <option>-?</option>, <option>--help-all</option>and <option>--help-</option><replaceable>groupname</replaceable> options (where <replaceable>groupname</replaceable> is the name of a #GOptionGroup) and write a text similar to the one shown in the following example to stdout.</para><informalexample><screen>Usage:  testtreemodel [OPTION...] - test tree model performanceHelp Options:  -?, --help               Show help options  --help-all               Show all help options  --help-gtk               Show GTK+ OptionsApplication Options:  -r, --repeats=N          Average over N repetitions  -m, --max-size=M         Test up to 2^M items  --display=DISPLAY        X display to use  -v, --verbose            Be verbose  -b, --beep               Beep when done     --rand                   Randomize the data</screen></informalexample><para>GOption groups options in #GOptionGroup<!-- -->s, which makes it easy toincorporate options from multiple sources. The intended use for this isto let applications collect option groups from the libraries it uses,add them to their #GOptionContext, and parse all options by a single callto g_option_context_parse(). See gtk_get_option_group() for an example.</para><para>If an option is declared to be of type string or filename, GOption takescare of converting it to the right encoding; strings are returned in UTF-8,filenames are returned in the GLib filename encoding.</para><para>Here is a complete example of setting up GOption to parse the examplecommandline above and produce the example help output.</para><informalexample><programlisting>static gint repeats = 2;static gint max_size = 8;static gboolean verbose = FALSE;static gboolean beep = FALSE;static gboolean rand = FALSE;static GOptionEntry entries[] = {  { "repeats", 'r', 0, G_OPTION_ARG_INT, &amp;repeats, "Average over N repetitions", "N" },  { "max-size", 'm', 0, G_OPTION_ARG_INT, &amp;max_size, "Test up to 2^M items", "M" },  { "verbose", 'v', 0, G_OPTION_ARG_NONE, &amp;verbose, "Be verbose", NULL },  { "beep", 'b', 0, G_OPTION_ARG_NONE, &amp;beep, "Beep when done", NULL },  { "rand", 0, 0, G_OPTION_ARG_NONE, &amp;rand, "Randomize the data", NULL },  { NULL }};int main (int argc, char *argv[]){  GError *error = NULL;  GOptionContext *context;  context = g_option_context_new ("- test tree model performance");  g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);  g_option_context_add_group (context, gtk_get_option_group (TRUE));  g_option_context_parse (context, &amp;argc, &amp;argv, &amp;error);    /* ... */}</programlisting></informalexample><!-- ##### SECTION See_Also ##### --><para></para><!-- ##### SECTION Stability_Level ##### --><!-- ##### ENUM GOptionError ##### --><para>Error codes returned by option parsing.</para>@G_OPTION_ERROR_UNKNOWN_OPTION: An option was not known to the parser.  This error will only be reported, if the parser hasn't been instructed  to ignore unknown options, see g_option_context_set_ignore_unknown_options().@G_OPTION_ERROR_BAD_VALUE: A value couldn't be parsed.@G_OPTION_ERROR_FAILED: A #GOptionArgFunc callback failed.<!-- ##### MACRO G_OPTION_ERROR ##### --><para>Error domain for option parsing. Errors in this domain willbe from the #GOptionError enumeration. See #GError for information on error domains.</para><!-- ##### USER_FUNCTION GOptionArgFunc ##### --><para>The type of function to be passed as callback for %G_OPTION_ARG_CALLBACKoptions.</para>@option_name: 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.@value: The value to be parsed.@data: User data added to the #GOptionGroup containing the option when it  was created with g_option_group_new()@error: A return location for errors. The error code %G_OPTION_ERROR_FAILED  is intended to be used for errors in #GOptionArgFunc callbacks.@Returns: %TRUE if the option was successfully parsed, %FALSE if an error   occurred, in which case @error should be set with g_set_error()<!-- ##### STRUCT GOptionContext ##### --><para>A <structname>GOptionContext</structname> struct defines which optionsare accepted by the commandline option parser. The struct has only private fields and should not be directly accessed.</para><!-- ##### FUNCTION g_option_context_new ##### --><para></para>@parameter_string: @Returns: <!-- ##### FUNCTION g_option_context_set_summary ##### --><para></para>@context: @summary: <!-- ##### FUNCTION g_option_context_get_summary ##### --><para></para>@context: @Returns: <!-- ##### FUNCTION g_option_context_set_description ##### --><para></para>@context: @description: <!-- ##### FUNCTION g_option_context_get_description ##### --><para></para>@context: @Returns: <!-- ##### USER_FUNCTION GTranslateFunc ##### --><para>The type of functions which are used to translate user-visiblestrings, for <option>--help</option> output.</para>@str: the untranslated string@data: user data specified when installing the function, e.g.  in g_option_group_set_translate_func()@Returns: a translation of the string for the current locale.  The returned string is owned by GLib and must not be freed.<!-- ##### FUNCTION g_option_context_set_translate_func ##### --><para></para>@context: @func: @data: @destroy_notify: <!-- ##### FUNCTION g_option_context_set_translation_domain ##### --><para></para>@context: @domain: <!-- ##### FUNCTION g_option_context_free ##### --><para></para>@context: <!-- ##### FUNCTION g_option_context_parse ##### --><para></para>@context: @argc: @argv: @error: @Returns: <!-- ##### FUNCTION g_option_context_set_help_enabled ##### --><para></para>@context: @help_enabled: <!-- ##### FUNCTION g_option_context_get_help_enabled ##### --><para></para>@context: @Returns: <!-- ##### FUNCTION g_option_context_set_ignore_unknown_options ##### --><para>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99国产欧美另类久久久精品| 色综合一个色综合亚洲| 日产欧产美韩系列久久99| 亚洲一区二区三区三| 五月天国产精品| 日韩av一二三| 国产一区二区电影| 国产大陆亚洲精品国产| 国产成人一级电影| 在线一区二区三区四区五区| 欧美另类videos死尸| 欧美一级免费大片| 久久久精品蜜桃| 亚洲小说春色综合另类电影| 日韩精品电影在线观看| 激情久久五月天| 成人午夜免费av| 欧美日韩三级一区| 欧美激情在线一区二区| 天天色图综合网| 成人的网站免费观看| 欧美一区二区三区日韩| 亚洲欧美日韩在线播放| 日本亚洲电影天堂| 色综合久久久久久久| 日韩亚洲欧美在线| 国产精品人成在线观看免费| 一个色综合av| av电影天堂一区二区在线 | 亚洲视频免费看| 精品亚洲porn| 这里只有精品免费| 日韩精品国产精品| 91日韩一区二区三区| 亚洲影视在线播放| 国产成人av一区| 在线不卡中文字幕| 亚洲一区二区三区四区不卡| 成人一区二区三区视频在线观看 | 一区二区三区在线视频播放| 精久久久久久久久久久| 欧美在线免费视屏| 亚洲精品视频一区二区| 国产精品小仙女| 国产日韩欧美精品一区| 韩国精品久久久| 久久九九久久九九| 国产69精品久久久久777| 2023国产精品| 国内成+人亚洲+欧美+综合在线 | 亚洲欧美电影一区二区| 国产午夜亚洲精品理论片色戒 | 亚洲图片激情小说| 99免费精品在线| 国产精品高清亚洲| 99精品欧美一区二区蜜桃免费| 国产精品麻豆99久久久久久| 丰满亚洲少妇av| 国产精品乱码一区二区三区软件 | 91精品国产91综合久久蜜臀| 亚洲h在线观看| 精品成人在线观看| 高清不卡一区二区在线| 亚洲青青青在线视频| 在线看日韩精品电影| 秋霞午夜av一区二区三区| 国产精品久久久久久久久动漫| 91日韩精品一区| 天堂va蜜桃一区二区三区 | 精品少妇一区二区| 成人午夜碰碰视频| 奇米在线7777在线精品| 久久久久青草大香线综合精品| 色先锋aa成人| 国产在线日韩欧美| 一区二区三区在线观看欧美| 日韩欧美一区二区三区在线| 99视频在线观看一区三区| 亚洲一区二区美女| 欧美激情一区二区三区蜜桃视频| 欧美日韩一区二区三区免费看 | 色爱区综合激月婷婷| 成人午夜免费视频| 老司机午夜精品| 一区二区三区在线影院| 国产欧美日韩久久| 日韩欧美中文字幕制服| 91麻豆高清视频| 国产精品综合av一区二区国产馆| 天天综合网 天天综合色| 国产精品妹子av| 久久久夜色精品亚洲| 日韩欧美色综合| 欧美日韩在线播放三区四区| 色www精品视频在线观看| 寂寞少妇一区二区三区| 午夜精品福利在线| 亚洲成在人线免费| 一区二区三区不卡在线观看| 成人欧美一区二区三区| 亚洲欧美区自拍先锋| 亚洲精品乱码久久久久久日本蜜臀| 亚洲高清免费在线| 亚洲蜜臀av乱码久久精品| 国产精品久久久久久久岛一牛影视| 久久蜜桃av一区精品变态类天堂 | 日韩写真欧美这视频| 欧美老年两性高潮| 制服视频三区第一页精品| 欧美久久久久久蜜桃| 欧美日韩久久一区二区| 欧美精品乱码久久久久久| 欧美日韩不卡视频| 欧美精品vⅰdeose4hd| 精品日韩欧美在线| 国产欧美一区二区在线| 国产情人综合久久777777| 亚洲欧洲精品一区二区三区| 国产精品国模大尺度视频| 一二三四区精品视频| 亚洲va国产天堂va久久en| 热久久国产精品| av激情成人网| 欧美一级在线视频| 亚洲欧美偷拍三级| 精品伊人久久久久7777人| 成人精品视频一区| 欧美日韩国产一二三| 日韩天堂在线观看| 亚洲成人一二三| 成人av手机在线观看| 777色狠狠一区二区三区| 国产精品久久久久久久久免费丝袜 | 不卡一区二区在线| 欧美久久久久中文字幕| 亚洲一区在线免费观看| 国产精品久久免费看| 午夜精品久久久| 91在线观看下载| 久久久精品2019中文字幕之3| 亚洲视频一区二区在线观看| 国产精品中文欧美| 欧美成人综合网站| 日韩精品国产精品| 欧美日本精品一区二区三区| 国产精品成人午夜| 国产精品自在欧美一区| 日韩欧美一区二区视频| 视频一区视频二区在线观看| 91香蕉视频黄| 日韩毛片精品高清免费| 国产精品123区| 国产午夜精品一区二区三区视频| 日本欧美在线看| 日韩一区二区三区电影| 国产九色精品成人porny| 欧美另类高清zo欧美| 《视频一区视频二区| 国产乱码精品一区二区三| 欧美午夜精品久久久久久超碰| 亚洲欧洲精品天堂一级| 国产福利不卡视频| 国产精品国产三级国产三级人妇| 国产福利精品导航| 成人欧美一区二区三区在线播放| av一区二区三区| 亚洲一区二区三区爽爽爽爽爽 | 日韩av在线发布| 久久日一线二线三线suv| 国产麻豆视频一区| 一个色综合网站| 欧美mv和日韩mv的网站| 国产成人在线免费| 香蕉影视欧美成人| 久久综合色播五月| 欧美视频精品在线| 成人综合激情网| 日本va欧美va瓶| 亚洲色图制服丝袜| 在线观看日韩av先锋影音电影院| 亚洲电影在线免费观看| 欧美一区二区三区四区在线观看| 麻豆精品国产91久久久久久| 久久久亚洲精品一区二区三区 | 亚洲视频在线一区观看| 777午夜精品免费视频| 成人免费观看视频| 精品一区二区三区影院在线午夜| 久久99九九99精品| 中文字幕欧美国产| 国产亚洲欧美中文| 欧美不卡一区二区三区四区| 色综合天天综合网天天狠天天| 国产成人综合自拍| 国产在线视频精品一区| 欧美a一区二区| 午夜成人免费电影| 一区二区三区中文字幕在线观看| 国产午夜亚洲精品午夜鲁丝片| 日韩一级成人av|