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

📄 gvolume.html

📁 最新gtk中文资料集
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<td> a <a class="link" href="GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a>, or <ahref="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td><td> a <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3222058"></a><h3><a name="g-volume-eject-finish"></a>g_volume_eject_finish ()</h3><a class="indexterm" name="id3223844"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>            g_volume_eject_finish               (<a class="link" href="GVolume.html" title="GVolume">GVolume</a> *volume,                                                         <a class="link" href="GAsyncResult.html" title="GAsyncResult">GAsyncResult</a> *result,                                                         <ahref="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError">GError</a> **error);</pre><p>Finishes ejecting a volume.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>volume</code></em>&#160;:</span></p></td><td> pointer to a <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>result</code></em>&#160;:</span></p></td><td> a <a class="link" href="GAsyncResult.html" title="GAsyncResult"><span class="type">GAsyncResult</span></a>.</td></tr><tr><td><p><span class="term"><em class="parameter"><code>error</code></em>&#160;:</span></p></td><td> a <ahref="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if operation failed.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3223970"></a><h3><a name="G-VOLUME-IDENTIFIER-KIND-HAL-UDI:CAPS"></a>G_VOLUME_IDENTIFIER_KIND_HAL_UDI</h3><a class="indexterm" name="id3223982"></a><pre class="programlisting">#define G_VOLUME_IDENTIFIER_KIND_HAL_UDI "hal-udi"</pre><p>The string used to obtain a Hal UDI with <a class="link" href="GVolume.html#g-volume-get-identifier"><code class="function">g_volume_get_identifier()</code></a>.</p><p></p></div><hr><div class="refsect2" lang="en"><a name="id3224008"></a><h3><a name="G-VOLUME-IDENTIFIER-KIND-LABEL:CAPS"></a>G_VOLUME_IDENTIFIER_KIND_LABEL</h3><a class="indexterm" name="id3224021"></a><pre class="programlisting">#define G_VOLUME_IDENTIFIER_KIND_LABEL "label"</pre><p>The string used to obtain a filesystem label with <a class="link" href="GVolume.html#g-volume-get-identifier"><code class="function">g_volume_get_identifier()</code></a>.</p><p></p></div><hr><div class="refsect2" lang="en"><a name="id3224048"></a><h3><a name="G-VOLUME-IDENTIFIER-KIND-NFS-MOUNT:CAPS"></a>G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT</h3><a class="indexterm" name="id3224062"></a><pre class="programlisting">#define G_VOLUME_IDENTIFIER_KIND_NFS_MOUNT "nfs-mount"</pre><p>The string used to obtain a NFS mount with <a class="link" href="GVolume.html#g-volume-get-identifier"><code class="function">g_volume_get_identifier()</code></a>.</p><p></p></div><hr><div class="refsect2" lang="en"><a name="id3224089"></a><h3><a name="G-VOLUME-IDENTIFIER-KIND-UNIX-DEVICE:CAPS"></a>G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE</h3><a class="indexterm" name="id3224101"></a><pre class="programlisting">#define G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE "unix-device"</pre><p>The string used to obtain a Unix device path with <a class="link" href="GVolume.html#g-volume-get-identifier"><code class="function">g_volume_get_identifier()</code></a>.</p><p></p></div><hr><div class="refsect2" lang="en"><a name="id3224129"></a><h3><a name="G-VOLUME-IDENTIFIER-KIND-UUID:CAPS"></a>G_VOLUME_IDENTIFIER_KIND_UUID</h3><a class="indexterm" name="id3224142"></a><pre class="programlisting">#define G_VOLUME_IDENTIFIER_KIND_UUID "uuid"</pre><p>The string used to obtain a UUID with <a class="link" href="GVolume.html#g-volume-get-identifier"><code class="function">g_volume_get_identifier()</code></a>.</p><p></p></div><hr><div class="refsect2" lang="en"><a name="id3224169"></a><h3><a name="g-volume-enumerate-identifiers"></a>g_volume_enumerate_identifiers ()</h3><a class="indexterm" name="id3224182"></a><pre class="programlisting">char**              g_volume_enumerate_identifiers      (<a class="link" href="GVolume.html" title="GVolume">GVolume</a> *volume);</pre><p>Gets the kinds of <a class="link" href="GVolume.html#volume-identifier">identifiers</a>that <em class="parameter"><code>volume</code></em> has. Use <code class="function">g_volume_get_identifer()</code> to obtain the identifiers themselves.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>volume</code></em>&#160;:</span></p></td><td> a <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a></td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> a <ahref="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings containing  kinds of identifiers. Use <ahref="/usr/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> to free.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3224279"></a><h3><a name="g-volume-get-identifier"></a>g_volume_get_identifier ()</h3><a class="indexterm" name="id3224290"></a><pre class="programlisting">char*               g_volume_get_identifier             (<a class="link" href="GVolume.html" title="GVolume">GVolume</a> *volume,                                                         const char *kind);</pre><p>Gets the identifier of the given kind for <em class="parameter"><code>volume</code></em>. See the <a class="link" href="GVolume.html#volume-identifier">introduction</a>for more information about volume identifiers.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>volume</code></em>&#160;:</span></p></td><td> a <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a></td></tr><tr><td><p><span class="term"><em class="parameter"><code>kind</code></em>&#160;:</span></p></td><td> the kind of identifier to return</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> a newly allocated string containing the  requested identfier, or <ahref="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if the <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a>  doesn't have this kind of identifier</td></tr></tbody></table></div></div></div><div class="refsect1" lang="en"><a name="id3224399"></a><h2>Signal Details</h2><div class="refsect2" lang="en"><a name="id3224409"></a><h3><a name="GVolume-changed"></a>The <code class="literal">"changed"</code> signal</h3><a class="indexterm" name="id3224421"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GVolume.html" title="GVolume">GVolume</a> *arg0,                                                        <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data)      : Run Last</pre><p>Emitted when the volume has been changed.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td><td>user data set when the signal handler was connected.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3224472"></a><h3><a name="GVolume-removed"></a>The <code class="literal">"removed"</code> signal</h3><a class="indexterm" name="id3224485"></a><pre class="programlisting">void                user_function                      (<a class="link" href="GVolume.html" title="GVolume">GVolume</a> *arg0,                                                        <ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data)      : Run Last</pre><p>This signal is emitted when the <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> have been removed. Ifthe recipient is holding references to the object they shouldrelease them so the object can be finalized.</p><p></p><div class="variablelist"><table border="0"><col align="left" valign="top"><tbody><tr><td><p><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></p></td><td>user data set when the signal handler was connected.</td></tr></tbody></table></div></div></div><div class="refsect1" lang="en"><a name="id3224547"></a><div class="refsect2" lang="en"><a name="id3224548"></a></div><hr><div class="refsect2" lang="en"><a name="id3224549"></a></div></div></div></body></html>

⌨️ 快捷键说明

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