DriveImpl
Constructors
Functions
Checks if a drive can be polled for media changes.
Checks if a drive can be started degraded.
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().
Asynchronously ejects a drive.
Finishes ejecting a drive.
Ejects a drive. This is an asynchronous operation, and is finished by calling g_drive_eject_with_operation_finish() with the @drive and #GAsyncResult data returned in the @callback.
Finishes ejecting a drive. If any errors occurred during the operation,
Gets the kinds of identifiers that @drive has. Use g_drive_get_identifier() to obtain the identifiers themselves.
Gets the identifier of the given kind for @drive. The only identifier currently available is %G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE.
Gets the sort key for @drive, if any.
Gets a hint about how a drive can be started/stopped.
Gets the icon for @drive.
Get a list of mountable volumes for @drive.
Check if @drive has any mountable volumes.
Checks if @drive is capable of automatically detecting media changes.
Checks if the @drive supports removable media.
Checks if the #GDrive and/or its media is considered removable by the user. See g_drive_is_media_removable().
This signal is emitted when the #GDrive have been disconnected. If the recipient is holding references to the object they should release them so the object can be finalized.
Emitted when the physical eject button (if any) of a drive has been pressed.
Emitted when the physical stop button (if any) of a drive has been pressed.
Asynchronously polls @drive to see if media has been inserted or removed.
Finishes an operation started with g_drive_poll_for_media() on a drive.
Asynchronously starts a drive.
Finishes starting a drive.
Asynchronously stops a drive.
Finishes stopping a drive.
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().