RGtk2 (version 2.20.31)

gDrivePollForMedia: gDrivePollForMedia

Description

Asynchronously polls drive to see if media has been inserted or removed.

Usage

gDrivePollForMedia(object, cancellable = NULL, callback, user.data = NULL)

Arguments

object
cancellable
optional GCancellable object, NULL to ignore.
callback
user.data
user data to pass to callback

Details

When the operation is finished, callback will be called. You can then call gDrivePollForMediaFinish to obtain the result of the operation.