GDriveIface

Interface for creating GDrive implementations. GTypeInterface g_iface; The parent interface. changed () Signal emitted when the drive is changed. disconnected () The removed signal that 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. eject_button () Signal emitted when the physical eject button (if any) of a drive have been pressed. get_name () Returns the name for the given GDrive. get_icon () Returns a GIcon for the given GDrive. has_volumes () Returns TRUE if the GDrive has mountable volumes. get_volumes () Returns a list GList of GVolume for the GDrive. is_media_removable () Returns TRUE if the GDrive supports removal and insertion of media. has_media () Returns TRUE if the GDrive has media inserted. is_media_check_automatic () Returns TRUE if the GDrive is capabable of automatically detecting media changes. can_eject () Returns TRUE if the GDrive can eject media. can_poll_for_media () Returns TRUE if the GDrive is capable of manually polling for media change. eject () Ejects a GDrive. eject_finish () Finishes an eject operation. poll_for_media () Poll for media insertion/removal on a GDrive. poll_for_media_finish () Finishes a media poll operation. get_identifier () Returns the identifier of the given kind, or NULL if the GDrive doesn't have one. enumerate_identifiers () Returns an array strings listing the kinds of identifiers which the GDrive has. get_start_stop_type () Gets a GDriveStartStopType with details about starting/stopping the drive. Since 2.22. can_start () Returns TRUE if a GDrive can be started. Since 2.22. can_start_degraded () Returns TRUE if a GDrive can be started degraded. Since 2.22. start () Starts a GDrive. Since 2.22. start_finish () Finishes a start operation. Since 2.22. can_stop () Returns TRUE if a GDrive can be stopped. Since 2.22. stop () Stops a GDrive. Since 2.22. stop_finish () Finishes a stop operation. Since 2.22. stop_button () Signal emitted when the physical stop button (if any) of a drive have been pressed. Since 2.22. eject_with_operation () Starts ejecting a GDrive using a GMountOperation. Since 2.22. eject_with_operation_finish () Finishes an eject operation using a GMountOperation. Since 2.22.

struct GDriveIface {}

Members

Variables

canEject
int function(GDrive* drive) canEject;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
canPollForMedia
int function(GDrive* drive) canPollForMedia;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
canStart
int function(GDrive* drive) canStart;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
canStartDegraded
int function(GDrive* drive) canStartDegraded;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
canStop
int function(GDrive* drive) canStop;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
changed
void function(GDrive* drive) changed;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
disconnected
void function(GDrive* drive) disconnected;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
eject
void function(GDrive* drive, GMountUnmountFlags flags, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) eject;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ejectButton
void function(GDrive* drive) ejectButton;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ejectFinish
int function(GDrive* drive, GAsyncResult* result, GError** error) ejectFinish;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ejectWithOperation
void function(GDrive* drive, GMountUnmountFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) ejectWithOperation;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ejectWithOperationFinish
int function(GDrive* drive, GAsyncResult* result, GError** error) ejectWithOperationFinish;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
enumerateIdentifiers
char** function(GDrive* drive) enumerateIdentifiers;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
gIface
GTypeInterface gIface;
Undocumented in source.
getIcon
GIcon* function(GDrive* drive) getIcon;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getIdentifier
char* function(GDrive* drive, char* kind) getIdentifier;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getName
char* function(GDrive* drive) getName;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getStartStopType
GDriveStartStopType function(GDrive* drive) getStartStopType;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getVolumes
GList* function(GDrive* drive) getVolumes;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hasMedia
int function(GDrive* drive) hasMedia;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
hasVolumes
int function(GDrive* drive) hasVolumes;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
isMediaCheckAutomatic
int function(GDrive* drive) isMediaCheckAutomatic;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
isMediaRemovable
int function(GDrive* drive) isMediaRemovable;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
pollForMedia
void function(GDrive* drive, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) pollForMedia;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
pollForMediaFinish
int function(GDrive* drive, GAsyncResult* result, GError** error) pollForMediaFinish;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
start
void function(GDrive* drive, GDriveStartFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) start;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
startFinish
int function(GDrive* drive, GAsyncResult* result, GError** error) startFinish;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
stop
void function(GDrive* drive, GMountUnmountFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) stop;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
stopButton
void function(GDrive* drive) stopButton;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
stopFinish
int function(GDrive* drive, GAsyncResult* result, GError** error) stopFinish;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta