VolumeImpl
The VolumeImpl type represents a native instance of the Volume interface.
Constructors
Functions
Given @connection to communicate with a proxy (eg, a #GSocketConnection that is connected to the proxy server), this does the necessary handshake to connect to @proxy_address, and if required, wraps the #GIOStream to handle proxy payload.
Asynchronous version of g_proxy_connect().
See g_proxy_connect().
Ejects a volume. This is an asynchronous operation, and is finished by calling g_volume_eject_finish() with the @volume and #GAsyncResult returned in the @callback.
Finishes ejecting a volume. If any errors occurred during the operation,
Ejects a volume. This is an asynchronous operation, and is finished by calling g_volume_eject_with_operation_finish() with the @volume and #GAsyncResult data returned in the @callback.
Finishes ejecting a volume. If any errors occurred during the operation,
Gets the kinds of #volume-identifiers that @volume has. Use g_volume_get_identifier() to obtain the identifiers themselves.
Gets the activation root for a #GVolume if it is known ahead of mount time. Returns null otherwise. If not null and if @volume is mounted, then the result of g_mount_get_root() on the #GMount object obtained from g_volume_get_mount() will always either be equal or a prefix of what this function returns. In other words, in code
Gets the identifier of the given kind for @volume. See the #volume-identifiers for more information about volume identifiers.
Gets the sort key for @volume, if any.
Gets the symbolic icon for @volume.
Mounts a volume. This is an asynchronous operation, and is finished by calling g_volume_mount_finish() with the @volume and #GAsyncResult returned in the @callback.
Finishes mounting a volume. If any errors occurred during the operation,
This signal is emitted when the #GVolume have been removed. If the recipient is holding references to the object they should release them so the object can be finalized.
Returns whether the volume should be automatically mounted.
Some proxy protocols expect to be passed a hostname, which they will resolve to an IP address themselves. Others, like SOCKS4, do not allow this. This function will return false if @proxy is implementing such a protocol. When false is returned, the caller should resolve the destination hostname first, and then pass a #GProxyAddress containing the stringified IP address to g_proxy_connect() or g_proxy_connect_async().