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

📄 gdrive.html

📁 最新gtk中文资料集
💻 HTML
📖 第 1 页 / 共 4 页
字号:
</td></tr><tr><td><p><span class="term"><em class="structfield"><code>disconnected</code></em>&#160;()</span></p></td><td> The removed signal that is emitted when the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> have been disconnected. If the recipient is holding references to the object they should release them so the object can be finalized.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>eject_button</code></em>&#160;()</span></p></td><td> Signal emitted when the physical eject button (if any) of a drive have been pressed.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>get_name</code></em>&#160;()</span></p></td><td> Returns the name for the given <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>get_icon</code></em>&#160;()</span></p></td><td> Returns a <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> for the given <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>has_volumes</code></em>&#160;()</span></p></td><td> Returns <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> has mountable volumes.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>get_volumes</code></em>&#160;()</span></p></td><td> Returns a list <ahref="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a> for the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>is_media_removable</code></em>&#160;()</span></p></td><td> Returns <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> supports removal and insertion of media.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>has_media</code></em>&#160;()</span></p></td><td> Returns <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> has media inserted.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>is_media_check_automatic</code></em>&#160;()</span></p></td><td> Returns <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> is capabable of automatically detecting media changes.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>can_eject</code></em>&#160;()</span></p></td><td> Returns <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> can eject media.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>can_poll_for_media</code></em>&#160;()</span></p></td><td> Returns <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> is capable of manually polling for media change.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>eject</code></em>&#160;()</span></p></td><td> Ejects a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>eject_finish</code></em>&#160;()</span></p></td><td> Finishes an eject operation.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>poll_for_media</code></em>&#160;()</span></p></td><td> Poll for media insertion/removal on a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>poll_for_media_finish</code></em>&#160;()</span></p></td><td> Finishes a media poll operation.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>get_identifier</code></em>&#160;()</span></p></td><td> Returns the identifier of the given kind, 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="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> doesn't have one.</td></tr><tr><td><p><span class="term"><em class="structfield"><code>enumerate_identifiers</code></em>&#160;()</span></p></td><td> Returns an array strings listing the kinds   of identifiers which the <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a> has.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3228607"></a><h3><a name="g-drive-get-name"></a>g_drive_get_name ()</h3><a class="indexterm" name="id3228619"></a><pre class="programlisting">char*               g_drive_get_name                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre><p>Gets the name of <em class="parameter"><code>drive</code></em>.</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>drive</code></em>&#160;:</span></p></td><td> a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> a string containing <em class="parameter"><code>drive</code></em>'s name. The returned     string should be freed when no longer needed.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3228700"></a><h3><a name="g-drive-get-icon"></a>g_drive_get_icon ()</h3><a class="indexterm" name="id3228712"></a><pre class="programlisting"><a class="link" href="GIcon.html" title="GIcon">GIcon</a>*              g_drive_get_icon                    (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre><p>Gets the icon for <em class="parameter"><code>drive</code></em>.</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>drive</code></em>&#160;:</span></p></td><td> a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> <a class="link" href="GIcon.html" title="GIcon"><span class="type">GIcon</span></a> for the <em class="parameter"><code>drive</code></em>.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3228799"></a><h3><a name="g-drive-has-volumes"></a>g_drive_has_volumes ()</h3><a class="indexterm" name="id3228811"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>            g_drive_has_volumes                 (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre><p>Check if <em class="parameter"><code>drive</code></em> has any mountable volumes.</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>drive</code></em>&#160;:</span></p></td><td> a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</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> if the <em class="parameter"><code>drive</code></em> contains volumes, <ahref="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3228909"></a><h3><a name="g-drive-get-volumes"></a>g_drive_get_volumes ()</h3><a class="indexterm" name="id3228921"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList">GList</a>*              g_drive_get_volumes                 (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre><p>Get a list of mountable volumes for <em class="parameter"><code>drive</code></em>.</p><p>The returned list should be freed with <ahref="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a>, afterits elements have been unreffed with <ahref="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</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>drive</code></em>&#160;:</span></p></td><td> a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</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-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> containing any <a class="link" href="GVolume.html" title="GVolume"><span class="type">GVolume</span></a>s on the given <em class="parameter"><code>drive</code></em>.</td></tr></tbody></table></div></div><hr><div class="refsect2" lang="en"><a name="id3229039"></a><h3><a name="g-drive-can-eject"></a>g_drive_can_eject ()</h3><a class="indexterm" name="id3229052"></a><pre class="programlisting"><ahref="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean">gboolean</a>            g_drive_can_eject                   (<a class="link" href="GDrive.html" title="GDrive">GDrive</a> *drive);</pre><p>Checks if a drive can be ejected.</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>drive</code></em>&#160;:</span></p></td><td> pointer to a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td><td> <a

⌨️ 快捷键说明

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