gi-gio-0.2.46.15: Gio bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Interfaces.Drive

Contents

Description

 

Synopsis

Exported types

newtype Drive Source

Constructors

Drive (ForeignPtr Drive) 

Instances

GObject Drive 
((~) * info (ResolveDriveMethod t Drive), MethodInfo * info Drive p) => IsLabelProxy t (Drive -> p) 
type ParentTypes Drive 
type AttributeList Drive 
type SignalList Drive 

class GObject o => DriveK o Source

Instances

Methods

driveCanEject

data DriveCanEjectMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, DriveK a) => MethodInfo * DriveCanEjectMethodInfo a signature 

driveCanEject :: (MonadIO m, DriveK a) => a -> m Bool Source

driveCanPollForMedia

data DriveCanPollForMediaMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, DriveK a) => MethodInfo * DriveCanPollForMediaMethodInfo a signature 

driveCanStart

data DriveCanStartMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, DriveK a) => MethodInfo * DriveCanStartMethodInfo a signature 

driveCanStart :: (MonadIO m, DriveK a) => a -> m Bool Source

driveCanStartDegraded

data DriveCanStartDegradedMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, DriveK a) => MethodInfo * DriveCanStartDegradedMethodInfo a signature 

driveCanStop

data DriveCanStopMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, DriveK a) => MethodInfo * DriveCanStopMethodInfo a signature 

driveCanStop :: (MonadIO m, DriveK a) => a -> m Bool Source

driveEject

data DriveEjectMethodInfo Source

Instances

((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, DriveK a, CancellableK b) => MethodInfo * DriveEjectMethodInfo a signature 

driveEject :: (MonadIO m, DriveK a, CancellableK b) => a -> [MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m () Source

Deprecated: (Since version 2.22)Use g_drive_eject_with_operation() instead.

driveEjectFinish

data DriveEjectFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, DriveK a, AsyncResultK b) => MethodInfo * DriveEjectFinishMethodInfo a signature 

driveEjectFinish :: (MonadIO m, DriveK a, AsyncResultK b) => a -> b -> m () Source

Deprecated: (Since version 2.22)Use g_drive_eject_with_operation_finish() instead.

driveEjectWithOperation

driveEjectWithOperationFinish

driveEnumerateIdentifiers

driveGetIcon

data DriveGetIconMethodInfo Source

Instances

((~) * signature (m Icon), MonadIO m, DriveK a) => MethodInfo * DriveGetIconMethodInfo a signature 

driveGetIcon :: (MonadIO m, DriveK a) => a -> m Icon Source

driveGetIdentifier

data DriveGetIdentifierMethodInfo Source

Instances

((~) * signature (Text -> m Text), MonadIO m, DriveK a) => MethodInfo * DriveGetIdentifierMethodInfo a signature 

driveGetName

data DriveGetNameMethodInfo Source

Instances

((~) * signature (m Text), MonadIO m, DriveK a) => MethodInfo * DriveGetNameMethodInfo a signature 

driveGetName :: (MonadIO m, DriveK a) => a -> m Text Source

driveGetSortKey

data DriveGetSortKeyMethodInfo Source

Instances

((~) * signature (m Text), MonadIO m, DriveK a) => MethodInfo * DriveGetSortKeyMethodInfo a signature 

driveGetStartStopType

driveGetSymbolicIcon

data DriveGetSymbolicIconMethodInfo Source

Instances

((~) * signature (m Icon), MonadIO m, DriveK a) => MethodInfo * DriveGetSymbolicIconMethodInfo a signature 

driveGetVolumes

data DriveGetVolumesMethodInfo Source

Instances

((~) * signature (m [Volume]), MonadIO m, DriveK a) => MethodInfo * DriveGetVolumesMethodInfo a signature 

driveHasMedia

data DriveHasMediaMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, DriveK a) => MethodInfo * DriveHasMediaMethodInfo a signature 

driveHasMedia :: (MonadIO m, DriveK a) => a -> m Bool Source

driveHasVolumes

data DriveHasVolumesMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, DriveK a) => MethodInfo * DriveHasVolumesMethodInfo a signature 

driveIsMediaCheckAutomatic

driveIsMediaRemovable

data DriveIsMediaRemovableMethodInfo Source

Instances

((~) * signature (m Bool), MonadIO m, DriveK a) => MethodInfo * DriveIsMediaRemovableMethodInfo a signature 

drivePollForMedia

data DrivePollForMediaMethodInfo Source

Instances

((~) * signature (Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, DriveK a, CancellableK b) => MethodInfo * DrivePollForMediaMethodInfo a signature 

drivePollForMediaFinish

data DrivePollForMediaFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, DriveK a, AsyncResultK b) => MethodInfo * DrivePollForMediaFinishMethodInfo a signature 

driveStart

data DriveStartMethodInfo Source

Instances

((~) * signature ([DriveStartFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, DriveK a, MountOperationK b, CancellableK c) => MethodInfo * DriveStartMethodInfo a signature 

driveStartFinish

data DriveStartFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, DriveK a, AsyncResultK b) => MethodInfo * DriveStartFinishMethodInfo a signature 

driveStartFinish :: (MonadIO m, DriveK a, AsyncResultK b) => a -> b -> m () Source

driveStop

data DriveStopMethodInfo Source

Instances

((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, DriveK a, MountOperationK b, CancellableK c) => MethodInfo * DriveStopMethodInfo a signature 

driveStopFinish

data DriveStopFinishMethodInfo Source

Instances

((~) * signature (b -> m ()), MonadIO m, DriveK a, AsyncResultK b) => MethodInfo * DriveStopFinishMethodInfo a signature 

driveStopFinish :: (MonadIO m, DriveK a, AsyncResultK b) => a -> b -> m () Source

Signals

Changed

type DriveChangedCallbackC = Ptr () -> Ptr () -> IO () Source

Disconnected

EjectButton

type DriveEjectButtonCallbackC = Ptr () -> Ptr () -> IO () Source

StopButton

type DriveStopButtonCallbackC = Ptr () -> Ptr () -> IO () Source