GVolumeIface

Interface for implementing operations for mountable volumes. GTypeInterface g_iface; The parent interface. changed () Changed signal that is emitted when the volume's state has changed. removed () The removed signal that 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. get_name () Gets a string containing the name of the GVolume. get_icon () Gets a GIcon for the GVolume. get_uuid () Gets the UUID for the GVolume. The reference is typically based on the file system UUID for the mount in question and should be considered an opaque string. Returns NULL if there is no UUID available. get_drive () Gets a GDrive the volume is located on. Returns NULL if the GVolume is not associated with a GDrive. get_mount () Gets a GMount representing the mounted volume. Returns NULL if the GVolume is not mounted. can_mount () Returns TRUE if the GVolume can be mounted. can_eject () Checks if a GVolume can be ejected. mount_fn () Mounts a given GVolume. GVolume implementations must emit the "aborted" signal before completing a mount operation that is aborted while awaiting input from the user through a GMountOperation instance. mount_finish () Finishes a mount operation. eject () Ejects a given GVolume. eject_finish () Finishes an eject operation. get_identifier () Returns the identifier of the given kind, or NULL if the GVolume doesn't have one. enumerate_identifiers () Returns an array strings listing the kinds of identifiers which the GVolume has. should_automount () Returns TRUE if the GVolume should be automatically mounted. get_activation_root () Returns the activation root for the GVolume if it is known in advance or NULL if it is not known. eject_with_operation () Starts ejecting a GVolume using a GMountOperation. Since 2.22. eject_with_operation_finish () Finishes an eject operation using a GMountOperation. Since 2.22. get_sort_key () Gets a key used for sorting GVolume instance or NULL if no such key exists. Since 2.32. get_symbolic_icon () Gets a symbolic GIcon for the GVolume. Since 2.34.

struct GVolumeIface {}

Members

Variables

canEject
int function(GVolume* volume) canEject;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
canMount
int function(GVolume* volume) canMount;
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(GVolume* volume) changed;
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(GVolume* volume, 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.
ejectFinish
int function(GVolume* volume, 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(GVolume* volume, 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(GVolume* volume, 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(GVolume* volume) 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.
getActivationRoot
GFile* function(GVolume* volume) getActivationRoot;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getDrive
GDrive* function(GVolume* volume) getDrive;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getIcon
GIcon* function(GVolume* volume) 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(GVolume* volume, 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.
getMount
GMount* function(GVolume* volume) getMount;
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(GVolume* volume) getName;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getSortKey
char* function(GVolume* volume) getSortKey;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getSymbolicIcon
GIcon* function(GVolume* volume) getSymbolicIcon;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
getUuid
char* function(GVolume* volume) getUuid;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
mountFinish
int function(GVolume* volume, GAsyncResult* result, GError** error) mountFinish;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
mountFn
void function(GVolume* volume, GMountMountFlags flags, GMountOperation* mountOperation, GCancellable* cancellable, GAsyncReadyCallback callback, void* userData) mountFn;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
removed
void function(GVolume* volume) removed;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
shouldAutomount
int function(GVolume* volume) shouldAutomount;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta