Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- volumeCanEject
- volumeCanMount
- volumeEject
- volumeEjectFinish
- volumeEjectWithOperation
- volumeEjectWithOperationFinish
- volumeEnumerateIdentifiers
- volumeGetActivationRoot
- volumeGetDrive
- volumeGetIcon
- volumeGetIdentifier
- volumeGetMount
- volumeGetName
- volumeGetSortKey
- volumeGetSymbolicIcon
- volumeGetUuid
- volumeMount
- volumeMountFinish
- volumeShouldAutomount
- Signals
- newtype Volume = Volume (ForeignPtr Volume)
- noVolume :: Maybe Volume
- class GObject o => VolumeK o
- toVolume :: VolumeK o => o -> IO Volume
- data VolumeCanEjectMethodInfo
- volumeCanEject :: (MonadIO m, VolumeK a) => a -> m Bool
- data VolumeCanMountMethodInfo
- volumeCanMount :: (MonadIO m, VolumeK a) => a -> m Bool
- data VolumeEjectMethodInfo
- volumeEject :: (MonadIO m, VolumeK a, CancellableK b) => a -> [MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()
- data VolumeEjectFinishMethodInfo
- volumeEjectFinish :: (MonadIO m, VolumeK a, AsyncResultK b) => a -> b -> m ()
- data VolumeEjectWithOperationMethodInfo
- volumeEjectWithOperation :: (MonadIO m, VolumeK a, MountOperationK b, CancellableK c) => a -> [MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- data VolumeEjectWithOperationFinishMethodInfo
- volumeEjectWithOperationFinish :: (MonadIO m, VolumeK a, AsyncResultK b) => a -> b -> m ()
- data VolumeEnumerateIdentifiersMethodInfo
- volumeEnumerateIdentifiers :: (MonadIO m, VolumeK a) => a -> m [Text]
- data VolumeGetActivationRootMethodInfo
- volumeGetActivationRoot :: (MonadIO m, VolumeK a) => a -> m (Maybe File)
- data VolumeGetDriveMethodInfo
- volumeGetDrive :: (MonadIO m, VolumeK a) => a -> m Drive
- data VolumeGetIconMethodInfo
- volumeGetIcon :: (MonadIO m, VolumeK a) => a -> m Icon
- data VolumeGetIdentifierMethodInfo
- volumeGetIdentifier :: (MonadIO m, VolumeK a) => a -> Text -> m Text
- data VolumeGetMountMethodInfo
- volumeGetMount :: (MonadIO m, VolumeK a) => a -> m Mount
- data VolumeGetNameMethodInfo
- volumeGetName :: (MonadIO m, VolumeK a) => a -> m Text
- data VolumeGetSortKeyMethodInfo
- volumeGetSortKey :: (MonadIO m, VolumeK a) => a -> m Text
- data VolumeGetSymbolicIconMethodInfo
- volumeGetSymbolicIcon :: (MonadIO m, VolumeK a) => a -> m Icon
- data VolumeGetUuidMethodInfo
- volumeGetUuid :: (MonadIO m, VolumeK a) => a -> m Text
- data VolumeMountMethodInfo
- volumeMount :: (MonadIO m, VolumeK a, MountOperationK b, CancellableK c) => a -> [MountMountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()
- data VolumeMountFinishMethodInfo
- volumeMountFinish :: (MonadIO m, VolumeK a, AsyncResultK b) => a -> b -> m ()
- data VolumeShouldAutomountMethodInfo
- volumeShouldAutomount :: (MonadIO m, VolumeK a) => a -> m Bool
- type VolumeChangedCallback = IO ()
- type VolumeChangedCallbackC = Ptr () -> Ptr () -> IO ()
- data VolumeChangedSignalInfo
- afterVolumeChanged :: (GObject a, MonadIO m) => a -> VolumeChangedCallback -> m SignalHandlerId
- mkVolumeChangedCallback :: VolumeChangedCallbackC -> IO (FunPtr VolumeChangedCallbackC)
- noVolumeChangedCallback :: Maybe VolumeChangedCallback
- onVolumeChanged :: (GObject a, MonadIO m) => a -> VolumeChangedCallback -> m SignalHandlerId
- volumeChangedCallbackWrapper :: VolumeChangedCallback -> Ptr () -> Ptr () -> IO ()
- volumeChangedClosure :: VolumeChangedCallback -> IO Closure
- type VolumeRemovedCallback = IO ()
- type VolumeRemovedCallbackC = Ptr () -> Ptr () -> IO ()
- data VolumeRemovedSignalInfo
- afterVolumeRemoved :: (GObject a, MonadIO m) => a -> VolumeRemovedCallback -> m SignalHandlerId
- mkVolumeRemovedCallback :: VolumeRemovedCallbackC -> IO (FunPtr VolumeRemovedCallbackC)
- noVolumeRemovedCallback :: Maybe VolumeRemovedCallback
- onVolumeRemoved :: (GObject a, MonadIO m) => a -> VolumeRemovedCallback -> m SignalHandlerId
- volumeRemovedCallbackWrapper :: VolumeRemovedCallback -> Ptr () -> Ptr () -> IO ()
- volumeRemovedClosure :: VolumeRemovedCallback -> IO Closure
Exported types
GObject Volume | |
((~) * info (ResolveVolumeMethod t Volume), MethodInfo * info Volume p) => IsLabelProxy t (Volume -> p) | |
type ParentTypes Volume | |
type AttributeList Volume | |
type SignalList Volume |
Methods
volumeCanEject
data VolumeCanEjectMethodInfo Source
((~) * signature (m Bool), MonadIO m, VolumeK a) => MethodInfo * VolumeCanEjectMethodInfo a signature |
volumeCanEject :: (MonadIO m, VolumeK a) => a -> m Bool Source
volumeCanMount
data VolumeCanMountMethodInfo Source
((~) * signature (m Bool), MonadIO m, VolumeK a) => MethodInfo * VolumeCanMountMethodInfo a signature |
volumeCanMount :: (MonadIO m, VolumeK a) => a -> m Bool Source
volumeEject
data VolumeEjectMethodInfo Source
((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, VolumeK a, CancellableK b) => MethodInfo * VolumeEjectMethodInfo a signature |
volumeEject :: (MonadIO m, VolumeK a, CancellableK b) => a -> [MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m () Source
Deprecated: (Since version 2.22)Use g_volume_eject_with_operation() instead.
volumeEjectFinish
data VolumeEjectFinishMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, VolumeK a, AsyncResultK b) => MethodInfo * VolumeEjectFinishMethodInfo a signature |
volumeEjectFinish :: (MonadIO m, VolumeK a, AsyncResultK b) => a -> b -> m () Source
Deprecated: (Since version 2.22)Use g_volume_eject_with_operation_finish() instead.
volumeEjectWithOperation
data VolumeEjectWithOperationMethodInfo Source
((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, VolumeK a, MountOperationK b, CancellableK c) => MethodInfo * VolumeEjectWithOperationMethodInfo a signature |
volumeEjectWithOperation :: (MonadIO m, VolumeK a, MountOperationK b, CancellableK c) => a -> [MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m () Source
volumeEjectWithOperationFinish
data VolumeEjectWithOperationFinishMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, VolumeK a, AsyncResultK b) => MethodInfo * VolumeEjectWithOperationFinishMethodInfo a signature |
volumeEjectWithOperationFinish :: (MonadIO m, VolumeK a, AsyncResultK b) => a -> b -> m () Source
volumeEnumerateIdentifiers
data VolumeEnumerateIdentifiersMethodInfo Source
((~) * signature (m [Text]), MonadIO m, VolumeK a) => MethodInfo * VolumeEnumerateIdentifiersMethodInfo a signature |
volumeEnumerateIdentifiers :: (MonadIO m, VolumeK a) => a -> m [Text] Source
volumeGetActivationRoot
data VolumeGetActivationRootMethodInfo Source
((~) * signature (m (Maybe File)), MonadIO m, VolumeK a) => MethodInfo * VolumeGetActivationRootMethodInfo a signature |
volumeGetDrive
data VolumeGetDriveMethodInfo Source
((~) * signature (m Drive), MonadIO m, VolumeK a) => MethodInfo * VolumeGetDriveMethodInfo a signature |
volumeGetDrive :: (MonadIO m, VolumeK a) => a -> m Drive Source
volumeGetIcon
data VolumeGetIconMethodInfo Source
((~) * signature (m Icon), MonadIO m, VolumeK a) => MethodInfo * VolumeGetIconMethodInfo a signature |
volumeGetIcon :: (MonadIO m, VolumeK a) => a -> m Icon Source
volumeGetIdentifier
data VolumeGetIdentifierMethodInfo Source
((~) * signature (Text -> m Text), MonadIO m, VolumeK a) => MethodInfo * VolumeGetIdentifierMethodInfo a signature |
volumeGetMount
data VolumeGetMountMethodInfo Source
((~) * signature (m Mount), MonadIO m, VolumeK a) => MethodInfo * VolumeGetMountMethodInfo a signature |
volumeGetMount :: (MonadIO m, VolumeK a) => a -> m Mount Source
volumeGetName
data VolumeGetNameMethodInfo Source
((~) * signature (m Text), MonadIO m, VolumeK a) => MethodInfo * VolumeGetNameMethodInfo a signature |
volumeGetName :: (MonadIO m, VolumeK a) => a -> m Text Source
volumeGetSortKey
data VolumeGetSortKeyMethodInfo Source
((~) * signature (m Text), MonadIO m, VolumeK a) => MethodInfo * VolumeGetSortKeyMethodInfo a signature |
volumeGetSortKey :: (MonadIO m, VolumeK a) => a -> m Text Source
volumeGetSymbolicIcon
data VolumeGetSymbolicIconMethodInfo Source
((~) * signature (m Icon), MonadIO m, VolumeK a) => MethodInfo * VolumeGetSymbolicIconMethodInfo a signature |
volumeGetSymbolicIcon :: (MonadIO m, VolumeK a) => a -> m Icon Source
volumeGetUuid
data VolumeGetUuidMethodInfo Source
((~) * signature (m Text), MonadIO m, VolumeK a) => MethodInfo * VolumeGetUuidMethodInfo a signature |
volumeGetUuid :: (MonadIO m, VolumeK a) => a -> m Text Source
volumeMount
data VolumeMountMethodInfo Source
((~) * signature ([MountMountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, VolumeK a, MountOperationK b, CancellableK c) => MethodInfo * VolumeMountMethodInfo a signature |
volumeMount :: (MonadIO m, VolumeK a, MountOperationK b, CancellableK c) => a -> [MountMountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m () Source
volumeMountFinish
data VolumeMountFinishMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, VolumeK a, AsyncResultK b) => MethodInfo * VolumeMountFinishMethodInfo a signature |
volumeMountFinish :: (MonadIO m, VolumeK a, AsyncResultK b) => a -> b -> m () Source
volumeShouldAutomount
data VolumeShouldAutomountMethodInfo Source
((~) * signature (m Bool), MonadIO m, VolumeK a) => MethodInfo * VolumeShouldAutomountMethodInfo a signature |
volumeShouldAutomount :: (MonadIO m, VolumeK a) => a -> m Bool Source
Signals
Changed
type VolumeChangedCallback = IO () Source
type VolumeChangedCallbackC = Ptr () -> Ptr () -> IO () Source
afterVolumeChanged :: (GObject a, MonadIO m) => a -> VolumeChangedCallback -> m SignalHandlerId Source
onVolumeChanged :: (GObject a, MonadIO m) => a -> VolumeChangedCallback -> m SignalHandlerId Source
volumeChangedCallbackWrapper :: VolumeChangedCallback -> Ptr () -> Ptr () -> IO () Source
Removed
type VolumeRemovedCallback = IO () Source
type VolumeRemovedCallbackC = Ptr () -> Ptr () -> IO () Source
afterVolumeRemoved :: (GObject a, MonadIO m) => a -> VolumeRemovedCallback -> m SignalHandlerId Source
onVolumeRemoved :: (GObject a, MonadIO m) => a -> VolumeRemovedCallback -> m SignalHandlerId Source
volumeRemovedCallbackWrapper :: VolumeRemovedCallback -> Ptr () -> Ptr () -> IO () Source