gi-gio-2.0.6: 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.Mount

Contents

Description

 

Synopsis

Exported types

newtype Mount Source #

Constructors

Mount (ForeignPtr Mount) 

Instances

GObject Mount Source # 
IsObject Mount Source # 
IsMount Mount Source # 
((~) * info (ResolveMountMethod t Mount), MethodInfo * info Mount p) => IsLabel t (Mount -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Mount -> p #

((~) * info (ResolveMountMethod t Mount), MethodInfo * info Mount p) => IsLabelProxy t (Mount -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Mount -> p

HasAttributeList * Mount Source # 
type SignalList Mount Source # 
type SignalList Mount
type AttributeList Mount Source # 
type AttributeList Mount

class GObject o => IsMount o Source #

Instances

(GObject a, UnknownAncestorError Constraint Mount a) => IsMount a Source # 
IsMount Mount Source # 

Methods

mountCanEject

data MountCanEjectMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsMount a) => MethodInfo * MountCanEjectMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountCanEjectMethodInfo a -> signature -> s

mountCanUnmount

data MountCanUnmountMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsMount a) => MethodInfo * MountCanUnmountMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountCanUnmountMethodInfo a -> signature -> s

mountEject

data MountEjectMethodInfo Source #

Instances

((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsMount a, IsCancellable b) => MethodInfo * MountEjectMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountEjectMethodInfo a -> signature -> s

mountEject :: (MonadIO m, IsMount a, IsCancellable b) => a -> [MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m () Source #

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

mountEjectFinish

data MountEjectFinishMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsMount a, IsAsyncResult b) => MethodInfo * MountEjectFinishMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountEjectFinishMethodInfo a -> signature -> s

mountEjectFinish :: (MonadIO m, IsMount a, IsAsyncResult b) => a -> b -> m () Source #

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

mountEjectWithOperation

data MountEjectWithOperationMethodInfo Source #

Instances

((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsMount a, IsMountOperation b, IsCancellable c) => MethodInfo * MountEjectWithOperationMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountEjectWithOperationMethodInfo a -> signature -> s

mountEjectWithOperationFinish

data MountEjectWithOperationFinishMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsMount a, IsAsyncResult b) => MethodInfo * MountEjectWithOperationFinishMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountEjectWithOperationFinishMethodInfo a -> signature -> s

mountGetDefaultLocation

data MountGetDefaultLocationMethodInfo Source #

Instances

((~) * signature (m File), MonadIO m, IsMount a) => MethodInfo * MountGetDefaultLocationMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGetDefaultLocationMethodInfo a -> signature -> s

mountGetDrive

data MountGetDriveMethodInfo Source #

Instances

((~) * signature (m Drive), MonadIO m, IsMount a) => MethodInfo * MountGetDriveMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGetDriveMethodInfo a -> signature -> s

mountGetIcon

data MountGetIconMethodInfo Source #

Instances

((~) * signature (m Icon), MonadIO m, IsMount a) => MethodInfo * MountGetIconMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGetIconMethodInfo a -> signature -> s

mountGetIcon :: (MonadIO m, IsMount a) => a -> m Icon Source #

mountGetName

data MountGetNameMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsMount a) => MethodInfo * MountGetNameMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGetNameMethodInfo a -> signature -> s

mountGetName :: (MonadIO m, IsMount a) => a -> m Text Source #

mountGetRoot

data MountGetRootMethodInfo Source #

Instances

((~) * signature (m File), MonadIO m, IsMount a) => MethodInfo * MountGetRootMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGetRootMethodInfo a -> signature -> s

mountGetRoot :: (MonadIO m, IsMount a) => a -> m File Source #

mountGetSortKey

data MountGetSortKeyMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsMount a) => MethodInfo * MountGetSortKeyMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGetSortKeyMethodInfo a -> signature -> s

mountGetSortKey :: (MonadIO m, IsMount a) => a -> m Text Source #

mountGetSymbolicIcon

data MountGetSymbolicIconMethodInfo Source #

Instances

((~) * signature (m Icon), MonadIO m, IsMount a) => MethodInfo * MountGetSymbolicIconMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGetSymbolicIconMethodInfo a -> signature -> s

mountGetUuid

data MountGetUuidMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsMount a) => MethodInfo * MountGetUuidMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGetUuidMethodInfo a -> signature -> s

mountGetUuid :: (MonadIO m, IsMount a) => a -> m Text Source #

mountGetVolume

data MountGetVolumeMethodInfo Source #

Instances

((~) * signature (m Volume), MonadIO m, IsMount a) => MethodInfo * MountGetVolumeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGetVolumeMethodInfo a -> signature -> s

mountGuessContentType

data MountGuessContentTypeMethodInfo Source #

Instances

((~) * signature (Bool -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsMount a, IsCancellable b) => MethodInfo * MountGuessContentTypeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGuessContentTypeMethodInfo a -> signature -> s

mountGuessContentTypeFinish

data MountGuessContentTypeFinishMethodInfo Source #

Instances

((~) * signature (b -> m [Text]), MonadIO m, IsMount a, IsAsyncResult b) => MethodInfo * MountGuessContentTypeFinishMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGuessContentTypeFinishMethodInfo a -> signature -> s

mountGuessContentTypeSync

data MountGuessContentTypeSyncMethodInfo Source #

Instances

((~) * signature (Bool -> Maybe b -> m [Text]), MonadIO m, IsMount a, IsCancellable b) => MethodInfo * MountGuessContentTypeSyncMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountGuessContentTypeSyncMethodInfo a -> signature -> s

mountIsShadowed

data MountIsShadowedMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsMount a) => MethodInfo * MountIsShadowedMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountIsShadowedMethodInfo a -> signature -> s

mountRemount

data MountRemountMethodInfo Source #

Instances

((~) * signature ([MountMountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsMount a, IsMountOperation b, IsCancellable c) => MethodInfo * MountRemountMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountRemountMethodInfo a -> signature -> s

mountRemountFinish

data MountRemountFinishMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsMount a, IsAsyncResult b) => MethodInfo * MountRemountFinishMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountRemountFinishMethodInfo a -> signature -> s

mountRemountFinish :: (MonadIO m, IsMount a, IsAsyncResult b) => a -> b -> m () Source #

mountShadow

data MountShadowMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsMount a) => MethodInfo * MountShadowMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountShadowMethodInfo a -> signature -> s

mountShadow :: (MonadIO m, IsMount a) => a -> m () Source #

mountUnmount

data MountUnmountMethodInfo Source #

Instances

((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsMount a, IsCancellable b) => MethodInfo * MountUnmountMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountUnmountMethodInfo a -> signature -> s

mountUnmount :: (MonadIO m, IsMount a, IsCancellable b) => a -> [MountUnmountFlags] -> Maybe b -> Maybe AsyncReadyCallback -> m () Source #

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

mountUnmountFinish

data MountUnmountFinishMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsMount a, IsAsyncResult b) => MethodInfo * MountUnmountFinishMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountUnmountFinishMethodInfo a -> signature -> s

mountUnmountFinish :: (MonadIO m, IsMount a, IsAsyncResult b) => a -> b -> m () Source #

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

mountUnmountWithOperation

data MountUnmountWithOperationMethodInfo Source #

Instances

((~) * signature ([MountUnmountFlags] -> Maybe b -> Maybe c -> Maybe AsyncReadyCallback -> m ()), MonadIO m, IsMount a, IsMountOperation b, IsCancellable c) => MethodInfo * MountUnmountWithOperationMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountUnmountWithOperationMethodInfo a -> signature -> s

mountUnmountWithOperationFinish

data MountUnmountWithOperationFinishMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsMount a, IsAsyncResult b) => MethodInfo * MountUnmountWithOperationFinishMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountUnmountWithOperationFinishMethodInfo a -> signature -> s

mountUnshadow

data MountUnshadowMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsMount a) => MethodInfo * MountUnshadowMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy MountUnshadowMethodInfo a -> signature -> s

mountUnshadow :: (MonadIO m, IsMount a) => a -> m () Source #

Signals

Changed

type MountChangedCallbackC = Ptr () -> Ptr () -> IO () Source #

data MountChangedSignalInfo Source #

Instances

SignalInfo MountChangedSignalInfo Source # 

Associated Types

type HaskellCallbackType MountChangedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o MountChangedSignalInfo -> o -> HaskellCallbackType MountChangedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType MountChangedSignalInfo Source # 
type HaskellCallbackType MountChangedSignalInfo = MountChangedCallback

afterMountChanged :: (GObject a, MonadIO m) => a -> MountChangedCallback -> m SignalHandlerId Source #

onMountChanged :: (GObject a, MonadIO m) => a -> MountChangedCallback -> m SignalHandlerId Source #

PreUnmount

type MountPreUnmountCallbackC = Ptr () -> Ptr () -> IO () Source #

data MountPreUnmountSignalInfo Source #

Instances

SignalInfo MountPreUnmountSignalInfo Source # 

Associated Types

type HaskellCallbackType MountPreUnmountSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o MountPreUnmountSignalInfo -> o -> HaskellCallbackType MountPreUnmountSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType MountPreUnmountSignalInfo Source # 

afterMountPreUnmount :: (GObject a, MonadIO m) => a -> MountPreUnmountCallback -> m SignalHandlerId Source #

onMountPreUnmount :: (GObject a, MonadIO m) => a -> MountPreUnmountCallback -> m SignalHandlerId Source #

Unmounted

type MountUnmountedCallbackC = Ptr () -> Ptr () -> IO () Source #

data MountUnmountedSignalInfo Source #

Instances

SignalInfo MountUnmountedSignalInfo Source # 

Associated Types

type HaskellCallbackType MountUnmountedSignalInfo :: *

Methods

connectSignal :: GObject o => SignalProxy o MountUnmountedSignalInfo -> o -> HaskellCallbackType MountUnmountedSignalInfo -> SignalConnectMode -> IO SignalHandlerId

type HaskellCallbackType MountUnmountedSignalInfo Source # 

afterMountUnmounted :: (GObject a, MonadIO m) => a -> MountUnmountedCallback -> m SignalHandlerId Source #

onMountUnmounted :: (GObject a, MonadIO m) => a -> MountUnmountedCallback -> m SignalHandlerId Source #