re46.html 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>&lt;%GLibOptionFlags&gt;: </title>
  6. <meta name="generator" content="DocBook XSL Stylesheets V1.79.2">
  7. <link rel="home" href="index.html" title="">
  8. <link rel="up" href="ch01.html" title="GLib">
  9. <link rel="prev" href="re45.html" title="&lt;%GLibOptionError&gt;">
  10. <link rel="next" href="re47.html" title="&lt;GOptionGroup&gt;">
  11. <meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
  12. <link rel="stylesheet" href="style.css" type="text/css">
  13. </head>
  14. <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
  15. <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
  16. <td width="100%" align="left" class="shortcuts"></td>
  17. <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
  18. <td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
  19. <td><a accesskey="p" href="re45.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
  20. <td><a accesskey="n" href="re47.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
  21. </tr></table>
  22. <div class="refentry">
  23. <a name="id-1.1.47"></a><div class="titlepage"></div>
  24. <div class="refnamediv">
  25. <h2>&lt;%GLibOptionFlags&gt;</h2>
  26. <p>&lt;%GLibOptionFlags&gt;</p>
  27. </div>
  28. <div class="refsect1">
  29. <a name="id-1.1.47.2"></a><h2>Description</h2>
  30. <p>Flags which modify individual options.</p>
  31. </div>
  32. <div class="refsect1">
  33. <a name="id-1.1.47.3"></a><h2>Members</h2>
  34. <div class="refsect2">
  35. <a name="id-1.1.47.3.2"></a><h3>none</h3>
  36. <p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_NONE</code></span></em></p>
  37. <p>No flags. Since: 2.42.</p>
  38. </div>
  39. <div class="refsect2">
  40. <a name="id-1.1.47.3.3"></a><h3>hidden</h3>
  41. <p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_HIDDEN</code></span></em></p>
  42. <p>The option doesn't appear in <code class="code">--help</code> output.</p>
  43. </div>
  44. <div class="refsect2">
  45. <a name="id-1.1.47.3.4"></a><h3>in-main</h3>
  46. <p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_IN_MAIN</code></span></em></p>
  47. <p>The option appears in the main section of the
  48. <code class="code">--help</code> output, even if it is defined in a group.</p>
  49. </div>
  50. <div class="refsect2">
  51. <a name="id-1.1.47.3.5"></a><h3>reverse</h3>
  52. <p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_REVERSE</code></span></em></p>
  53. <p>For options of the <code class="constant">G_OPTION_ARG_NONE</code> kind, this
  54. flag indicates that the sense of the option is reversed.</p>
  55. </div>
  56. <div class="refsect2">
  57. <a name="id-1.1.47.3.6"></a><h3>no-arg</h3>
  58. <p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_NO_ARG</code></span></em></p>
  59. <p>For options of the <code class="constant">G_OPTION_ARG_CALLBACK</code> kind,
  60. this flag indicates that the callback does not take any argument
  61. (like a <code class="constant">G_OPTION_ARG_NONE</code> option). Since 2.8</p>
  62. </div>
  63. <div class="refsect2">
  64. <a name="id-1.1.47.3.7"></a><h3>filename</h3>
  65. <p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_FILENAME</code></span></em></p>
  66. <p>For options of the <code class="constant">G_OPTION_ARG_CALLBACK</code>
  67. kind, this flag indicates that the argument should be passed to the
  68. callback in the GLib filename encoding rather than UTF-8. Since 2.8</p>
  69. </div>
  70. <div class="refsect2">
  71. <a name="id-1.1.47.3.8"></a><h3>optional-arg</h3>
  72. <p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_OPTIONAL_ARG</code></span></em></p>
  73. <p>For options of the <code class="constant">G_OPTION_ARG_CALLBACK</code>
  74. kind, this flag indicates that the argument supply is optional.
  75. If no argument is given then data of <code class="constant">GOptionParseFunc</code> will be
  76. set to NULL. Since 2.8</p>
  77. </div>
  78. <div class="refsect2">
  79. <a name="id-1.1.47.3.9"></a><h3>noalias</h3>
  80. <p class="remark"><em><span class="remark">alias <code class="code">G_OPTION_FLAG_NOALIAS</code></span></em></p>
  81. <p>This flag turns off the automatic conflict
  82. resolution which prefixes long option names with <code class="code">groupname-</code> if
  83. there is a conflict. This option should only be used in situations
  84. where aliasing is necessary to model some legacy commandline interface.
  85. It is not safe to use this option, unless all option groups are under
  86. your direct control. Since 2.8.</p>
  87. </div>
  88. </div>
  89. </div>
  90. <div class="footer">
  91. <hr>Generated by GTK-Doc V1.33.1</div>
  92. </body>
  93. </html>