Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.Gio.Objects.MountOperation
Description
GMountOperation
provides a mechanism for interacting with the user.
It can be used for authenticating mountable operations, such as loop
mounting files, hard drive partitions or server locations. It can
also be used to ask the user questions or show a list of applications
preventing unmount or eject operations from completing.
Note that GMountOperation
is used for more than just Mount
objects – for example it is also used in driveStart
and
driveStop
.
Users should instantiate a subclass of this that implements all the
various callbacks to show the required dialogs, such as
`GtkMountOperation`.
If no user interaction is desired (for example when automounting
filesystems at login time), usually NULL
can be passed, see each method
taking a GMountOperation
for details.
Throughout the API, the term ‘TCRYPT’ is used to mean ‘compatible with TrueCrypt and VeraCrypt’. TrueCrypt is a discontinued system for encrypting file containers, partitions or whole disks, typically used with Windows. VeraCrypt is a maintained fork of TrueCrypt with various improvements and auditing fixes.
Synopsis
- newtype MountOperation = MountOperation (ManagedPtr MountOperation)
- class (GObject o, IsDescendantOf MountOperation o) => IsMountOperation o
- toMountOperation :: (MonadIO m, IsMountOperation o) => o -> m MountOperation
- type family ResolveMountOperationMethod (t :: Symbol) o where ...
- data MountOperationGetAnonymousMethodInfo
- mountOperationGetAnonymous :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m Bool
- data MountOperationGetChoiceMethodInfo
- mountOperationGetChoice :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m Int32
- data MountOperationGetDomainMethodInfo
- mountOperationGetDomain :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m (Maybe Text)
- data MountOperationGetIsTcryptHiddenVolumeMethodInfo
- mountOperationGetIsTcryptHiddenVolume :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m Bool
- data MountOperationGetIsTcryptSystemVolumeMethodInfo
- mountOperationGetIsTcryptSystemVolume :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m Bool
- data MountOperationGetPasswordMethodInfo
- mountOperationGetPassword :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m (Maybe Text)
- data MountOperationGetPasswordSaveMethodInfo
- mountOperationGetPasswordSave :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m PasswordSave
- data MountOperationGetPimMethodInfo
- mountOperationGetPim :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m Word32
- data MountOperationGetUsernameMethodInfo
- mountOperationGetUsername :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m (Maybe Text)
- mountOperationNew :: (HasCallStack, MonadIO m) => m MountOperation
- data MountOperationReplyMethodInfo
- mountOperationReply :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> MountOperationResult -> m ()
- data MountOperationSetAnonymousMethodInfo
- mountOperationSetAnonymous :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> Bool -> m ()
- data MountOperationSetChoiceMethodInfo
- mountOperationSetChoice :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> Int32 -> m ()
- data MountOperationSetDomainMethodInfo
- mountOperationSetDomain :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> Maybe Text -> m ()
- data MountOperationSetIsTcryptHiddenVolumeMethodInfo
- mountOperationSetIsTcryptHiddenVolume :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> Bool -> m ()
- data MountOperationSetIsTcryptSystemVolumeMethodInfo
- mountOperationSetIsTcryptSystemVolume :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> Bool -> m ()
- data MountOperationSetPasswordMethodInfo
- mountOperationSetPassword :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> Maybe Text -> m ()
- data MountOperationSetPasswordSaveMethodInfo
- mountOperationSetPasswordSave :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> PasswordSave -> m ()
- data MountOperationSetPimMethodInfo
- mountOperationSetPim :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> Word32 -> m ()
- data MountOperationSetUsernameMethodInfo
- mountOperationSetUsername :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> Maybe Text -> m ()
- data MountOperationAnonymousPropertyInfo
- constructMountOperationAnonymous :: (IsMountOperation o, MonadIO m) => Bool -> m (GValueConstruct o)
- getMountOperationAnonymous :: (MonadIO m, IsMountOperation o) => o -> m Bool
- mountOperationAnonymous :: AttrLabelProxy "anonymous"
- setMountOperationAnonymous :: (MonadIO m, IsMountOperation o) => o -> Bool -> m ()
- data MountOperationChoicePropertyInfo
- constructMountOperationChoice :: (IsMountOperation o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getMountOperationChoice :: (MonadIO m, IsMountOperation o) => o -> m Int32
- mountOperationChoice :: AttrLabelProxy "choice"
- setMountOperationChoice :: (MonadIO m, IsMountOperation o) => o -> Int32 -> m ()
- data MountOperationDomainPropertyInfo
- clearMountOperationDomain :: (MonadIO m, IsMountOperation o) => o -> m ()
- constructMountOperationDomain :: (IsMountOperation o, MonadIO m) => Text -> m (GValueConstruct o)
- getMountOperationDomain :: (MonadIO m, IsMountOperation o) => o -> m (Maybe Text)
- mountOperationDomain :: AttrLabelProxy "domain"
- setMountOperationDomain :: (MonadIO m, IsMountOperation o) => o -> Text -> m ()
- data MountOperationIsTcryptHiddenVolumePropertyInfo
- constructMountOperationIsTcryptHiddenVolume :: (IsMountOperation o, MonadIO m) => Bool -> m (GValueConstruct o)
- getMountOperationIsTcryptHiddenVolume :: (MonadIO m, IsMountOperation o) => o -> m Bool
- mountOperationIsTcryptHiddenVolume :: AttrLabelProxy "isTcryptHiddenVolume"
- setMountOperationIsTcryptHiddenVolume :: (MonadIO m, IsMountOperation o) => o -> Bool -> m ()
- data MountOperationIsTcryptSystemVolumePropertyInfo
- constructMountOperationIsTcryptSystemVolume :: (IsMountOperation o, MonadIO m) => Bool -> m (GValueConstruct o)
- getMountOperationIsTcryptSystemVolume :: (MonadIO m, IsMountOperation o) => o -> m Bool
- mountOperationIsTcryptSystemVolume :: AttrLabelProxy "isTcryptSystemVolume"
- setMountOperationIsTcryptSystemVolume :: (MonadIO m, IsMountOperation o) => o -> Bool -> m ()
- data MountOperationPasswordPropertyInfo
- clearMountOperationPassword :: (MonadIO m, IsMountOperation o) => o -> m ()
- constructMountOperationPassword :: (IsMountOperation o, MonadIO m) => Text -> m (GValueConstruct o)
- getMountOperationPassword :: (MonadIO m, IsMountOperation o) => o -> m (Maybe Text)
- mountOperationPassword :: AttrLabelProxy "password"
- setMountOperationPassword :: (MonadIO m, IsMountOperation o) => o -> Text -> m ()
- data MountOperationPasswordSavePropertyInfo
- constructMountOperationPasswordSave :: (IsMountOperation o, MonadIO m) => PasswordSave -> m (GValueConstruct o)
- getMountOperationPasswordSave :: (MonadIO m, IsMountOperation o) => o -> m PasswordSave
- mountOperationPasswordSave :: AttrLabelProxy "passwordSave"
- setMountOperationPasswordSave :: (MonadIO m, IsMountOperation o) => o -> PasswordSave -> m ()
- data MountOperationPimPropertyInfo
- constructMountOperationPim :: (IsMountOperation o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getMountOperationPim :: (MonadIO m, IsMountOperation o) => o -> m Word32
- mountOperationPim :: AttrLabelProxy "pim"
- setMountOperationPim :: (MonadIO m, IsMountOperation o) => o -> Word32 -> m ()
- data MountOperationUsernamePropertyInfo
- clearMountOperationUsername :: (MonadIO m, IsMountOperation o) => o -> m ()
- constructMountOperationUsername :: (IsMountOperation o, MonadIO m) => Text -> m (GValueConstruct o)
- getMountOperationUsername :: (MonadIO m, IsMountOperation o) => o -> m (Maybe Text)
- mountOperationUsername :: AttrLabelProxy "username"
- setMountOperationUsername :: (MonadIO m, IsMountOperation o) => o -> Text -> m ()
- type MountOperationAbortedCallback = IO ()
- data MountOperationAbortedSignalInfo
- afterMountOperationAborted :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAbortedCallback) -> m SignalHandlerId
- onMountOperationAborted :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAbortedCallback) -> m SignalHandlerId
- type MountOperationAskPasswordCallback = Text -> Text -> Text -> [AskPasswordFlags] -> IO ()
- data MountOperationAskPasswordSignalInfo
- afterMountOperationAskPassword :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAskPasswordCallback) -> m SignalHandlerId
- onMountOperationAskPassword :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAskPasswordCallback) -> m SignalHandlerId
- type MountOperationAskQuestionCallback = Text -> [Text] -> IO ()
- data MountOperationAskQuestionSignalInfo
- afterMountOperationAskQuestion :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAskQuestionCallback) -> m SignalHandlerId
- onMountOperationAskQuestion :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAskQuestionCallback) -> m SignalHandlerId
- type MountOperationReplyCallback = MountOperationResult -> IO ()
- data MountOperationReplySignalInfo
- afterMountOperationReply :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationReplyCallback) -> m SignalHandlerId
- onMountOperationReply :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationReplyCallback) -> m SignalHandlerId
- type MountOperationShowProcessesCallback = Text -> [Int32] -> [Text] -> IO ()
- data MountOperationShowProcessesSignalInfo
- afterMountOperationShowProcesses :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationShowProcessesCallback) -> m SignalHandlerId
- onMountOperationShowProcesses :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationShowProcessesCallback) -> m SignalHandlerId
- type MountOperationShowUnmountProgressCallback = Text -> Int64 -> Int64 -> IO ()
- data MountOperationShowUnmountProgressSignalInfo
- afterMountOperationShowUnmountProgress :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationShowUnmountProgressCallback) -> m SignalHandlerId
- onMountOperationShowUnmountProgress :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationShowUnmountProgressCallback) -> m SignalHandlerId
Exported types
newtype MountOperation Source #
Memory-managed wrapper type.
Constructors
MountOperation (ManagedPtr MountOperation) |
Instances
class (GObject o, IsDescendantOf MountOperation o) => IsMountOperation o Source #
Type class for types which can be safely cast to MountOperation
, for instance with toMountOperation
.
Instances
(GObject o, IsDescendantOf MountOperation o) => IsMountOperation o Source # | |
Defined in GI.Gio.Objects.MountOperation |
toMountOperation :: (MonadIO m, IsMountOperation o) => o -> m MountOperation Source #
Cast to MountOperation
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, reply, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAnonymous, getChoice, getData, getDomain, getIsTcryptHiddenVolume, getIsTcryptSystemVolume, getPassword, getPasswordSave, getPim, getProperty, getQdata, getUsername.
Setters
setAnonymous, setChoice, setData, setDataFull, setDomain, setIsTcryptHiddenVolume, setIsTcryptSystemVolume, setPassword, setPasswordSave, setPim, setProperty, setUsername.
type family ResolveMountOperationMethod (t :: Symbol) o where ... Source #
Equations
getAnonymous
data MountOperationGetAnonymousMethodInfo Source #
Instances
(signature ~ m Bool, MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationGetAnonymousMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationGetAnonymousMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationGetAnonymous Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m Bool | Returns: |
Check to see whether the mount operation is being used for an anonymous user.
getChoice
data MountOperationGetChoiceMethodInfo Source #
Instances
(signature ~ m Int32, MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationGetChoiceMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationGetChoiceMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationGetChoice Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m Int32 | Returns: an integer containing an index of the user's choice from
the choice's list, or |
Gets a choice from the mount operation.
getDomain
data MountOperationGetDomainMethodInfo Source #
Instances
(signature ~ m (Maybe Text), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationGetDomainMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationGetDomainMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationGetDomain Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m (Maybe Text) | Returns: a string set to the domain. |
Gets the domain of the mount operation.
getIsTcryptHiddenVolume
data MountOperationGetIsTcryptHiddenVolumeMethodInfo Source #
Instances
(signature ~ m Bool, MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationGetIsTcryptHiddenVolumeMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationGetIsTcryptHiddenVolumeMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationGetIsTcryptHiddenVolume Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m Bool | Returns: |
Check to see whether the mount operation is being used for a TCRYPT hidden volume.
Since: 2.58
getIsTcryptSystemVolume
data MountOperationGetIsTcryptSystemVolumeMethodInfo Source #
Instances
(signature ~ m Bool, MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationGetIsTcryptSystemVolumeMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationGetIsTcryptSystemVolumeMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationGetIsTcryptSystemVolume Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m Bool | Returns: |
Check to see whether the mount operation is being used for a TCRYPT system volume.
Since: 2.58
getPassword
data MountOperationGetPasswordMethodInfo Source #
Instances
(signature ~ m (Maybe Text), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationGetPasswordMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationGetPasswordMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationGetPassword Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m (Maybe Text) | Returns: a string containing the password within |
Gets a password from the mount operation.
getPasswordSave
data MountOperationGetPasswordSaveMethodInfo Source #
Instances
(signature ~ m PasswordSave, MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationGetPasswordSaveMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationGetPasswordSaveMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationGetPasswordSave Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m PasswordSave | Returns: a |
Gets the state of saving passwords for the mount operation.
getPim
data MountOperationGetPimMethodInfo Source #
Instances
(signature ~ m Word32, MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationGetPimMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationGetPimMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m Word32 | Returns: The VeraCrypt PIM within |
Gets a PIM from the mount operation.
Since: 2.58
getUsername
data MountOperationGetUsernameMethodInfo Source #
Instances
(signature ~ m (Maybe Text), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationGetUsernameMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationGetUsernameMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationGetUsername Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m (Maybe Text) | Returns: a string containing the user name. |
Get the user name from the mount operation.
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m MountOperation | Returns: a |
Creates a new mount operation.
reply
data MountOperationReplyMethodInfo Source #
Instances
(signature ~ (MountOperationResult -> m ()), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationReplyMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationReplyMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> MountOperationResult |
|
-> m () |
Emits the MountOperation::reply signal.
setAnonymous
data MountOperationSetAnonymousMethodInfo Source #
Instances
(signature ~ (Bool -> m ()), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationSetAnonymousMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationSetAnonymousMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationSetAnonymous Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets the mount operation to use an anonymous user if anonymous
is True
.
setChoice
data MountOperationSetChoiceMethodInfo Source #
Instances
(signature ~ (Int32 -> m ()), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationSetChoiceMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationSetChoiceMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationSetChoice Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets a default choice for the mount operation.
setDomain
data MountOperationSetDomainMethodInfo Source #
Instances
(signature ~ (Maybe Text -> m ()), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationSetDomainMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationSetDomainMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationSetDomain Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> Maybe Text |
|
-> m () |
Sets the mount operation's domain.
setIsTcryptHiddenVolume
data MountOperationSetIsTcryptHiddenVolumeMethodInfo Source #
Instances
(signature ~ (Bool -> m ()), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationSetIsTcryptHiddenVolumeMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationSetIsTcryptHiddenVolumeMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationSetIsTcryptHiddenVolume Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets the mount operation to use a hidden volume if hiddenVolume
is True
.
Since: 2.58
setIsTcryptSystemVolume
data MountOperationSetIsTcryptSystemVolumeMethodInfo Source #
Instances
(signature ~ (Bool -> m ()), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationSetIsTcryptSystemVolumeMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationSetIsTcryptSystemVolumeMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationSetIsTcryptSystemVolume Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets the mount operation to use a system volume if systemVolume
is True
.
Since: 2.58
setPassword
data MountOperationSetPasswordMethodInfo Source #
Instances
(signature ~ (Maybe Text -> m ()), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationSetPasswordMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationSetPasswordMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationSetPassword Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> Maybe Text |
|
-> m () |
Sets the mount operation's password to password
.
setPasswordSave
data MountOperationSetPasswordSaveMethodInfo Source #
Instances
(signature ~ (PasswordSave -> m ()), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationSetPasswordSaveMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationSetPasswordSaveMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationSetPasswordSave Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> PasswordSave |
|
-> m () |
Sets the state of saving passwords for the mount operation.
setPim
data MountOperationSetPimMethodInfo Source #
Instances
(signature ~ (Word32 -> m ()), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationSetPimMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationSetPimMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> Word32 |
|
-> m () |
Sets the mount operation's PIM to pim
.
Since: 2.58
setUsername
data MountOperationSetUsernameMethodInfo Source #
Instances
(signature ~ (Maybe Text -> m ()), MonadIO m, IsMountOperation a) => OverloadedMethod MountOperationSetUsernameMethodInfo a signature Source # | |
Defined in GI.Gio.Objects.MountOperation Methods overloadedMethod :: a -> signature # | |
OverloadedMethodInfo MountOperationSetUsernameMethodInfo (a :: Type) Source # | |
Defined in GI.Gio.Objects.MountOperation Methods |
mountOperationSetUsername Source #
Arguments
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> Maybe Text |
|
-> m () |
Sets the user name within op
to username
.
Properties
anonymous
Whether to use an anonymous user when authenticating.
data MountOperationAnonymousPropertyInfo Source #
Instances
constructMountOperationAnonymous :: (IsMountOperation o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “anonymous
” property. This is rarely needed directly, but it is used by new
.
getMountOperationAnonymous :: (MonadIO m, IsMountOperation o) => o -> m Bool Source #
Get the value of the “anonymous
” property.
When overloading is enabled, this is equivalent to
get
mountOperation #anonymous
mountOperationAnonymous :: AttrLabelProxy "anonymous" Source #
setMountOperationAnonymous :: (MonadIO m, IsMountOperation o) => o -> Bool -> m () Source #
Set the value of the “anonymous
” property.
When overloading is enabled, this is equivalent to
set
mountOperation [ #anonymous:=
value ]
choice
The index of the user's choice when a question is asked during the mount operation. See the MountOperation::askQuestion signal.
data MountOperationChoicePropertyInfo Source #
Instances
AttrInfo MountOperationChoicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods attrGet :: AttrBaseTypeConstraint MountOperationChoicePropertyInfo o => o -> IO (AttrGetType MountOperationChoicePropertyInfo) # attrSet :: (AttrBaseTypeConstraint MountOperationChoicePropertyInfo o, AttrSetTypeConstraint MountOperationChoicePropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint MountOperationChoicePropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint MountOperationChoicePropertyInfo o, AttrSetTypeConstraint MountOperationChoicePropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint MountOperationChoicePropertyInfo o, AttrTransferTypeConstraint MountOperationChoicePropertyInfo b) => Proxy o -> b -> IO (AttrTransferType MountOperationChoicePropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps MountOperationChoicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint MountOperationChoicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType MountOperationChoicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrLabel MountOperationChoicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrOrigin MountOperationChoicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint MountOperationChoicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrTransferType MountOperationChoicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint MountOperationChoicePropertyInfo Source # | |||||||||||||||||||||||||||||||||
constructMountOperationChoice :: (IsMountOperation o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “choice
” property. This is rarely needed directly, but it is used by new
.
getMountOperationChoice :: (MonadIO m, IsMountOperation o) => o -> m Int32 Source #
Get the value of the “choice
” property.
When overloading is enabled, this is equivalent to
get
mountOperation #choice
mountOperationChoice :: AttrLabelProxy "choice" Source #
setMountOperationChoice :: (MonadIO m, IsMountOperation o) => o -> Int32 -> m () Source #
Set the value of the “choice
” property.
When overloading is enabled, this is equivalent to
set
mountOperation [ #choice:=
value ]
domain
The domain to use for the mount operation.
data MountOperationDomainPropertyInfo Source #
Instances
AttrInfo MountOperationDomainPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods attrGet :: AttrBaseTypeConstraint MountOperationDomainPropertyInfo o => o -> IO (AttrGetType MountOperationDomainPropertyInfo) # attrSet :: (AttrBaseTypeConstraint MountOperationDomainPropertyInfo o, AttrSetTypeConstraint MountOperationDomainPropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint MountOperationDomainPropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint MountOperationDomainPropertyInfo o, AttrSetTypeConstraint MountOperationDomainPropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint MountOperationDomainPropertyInfo o, AttrTransferTypeConstraint MountOperationDomainPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType MountOperationDomainPropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps MountOperationDomainPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation type AttrAllowedOps MountOperationDomainPropertyInfo = '['AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear] | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint MountOperationDomainPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType MountOperationDomainPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrLabel MountOperationDomainPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrOrigin MountOperationDomainPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint MountOperationDomainPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrTransferType MountOperationDomainPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint MountOperationDomainPropertyInfo Source # | |||||||||||||||||||||||||||||||||
clearMountOperationDomain :: (MonadIO m, IsMountOperation o) => o -> m () Source #
Set the value of the “domain
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#domain
constructMountOperationDomain :: (IsMountOperation o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “domain
” property. This is rarely needed directly, but it is used by new
.
getMountOperationDomain :: (MonadIO m, IsMountOperation o) => o -> m (Maybe Text) Source #
Get the value of the “domain
” property.
When overloading is enabled, this is equivalent to
get
mountOperation #domain
mountOperationDomain :: AttrLabelProxy "domain" Source #
setMountOperationDomain :: (MonadIO m, IsMountOperation o) => o -> Text -> m () Source #
Set the value of the “domain
” property.
When overloading is enabled, this is equivalent to
set
mountOperation [ #domain:=
value ]
isTcryptHiddenVolume
Whether the device to be unlocked is a TCRYPT hidden volume. See the VeraCrypt documentation.
Since: 2.58
data MountOperationIsTcryptHiddenVolumePropertyInfo Source #
Instances
AttrInfo MountOperationIsTcryptHiddenVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods attrGet :: AttrBaseTypeConstraint MountOperationIsTcryptHiddenVolumePropertyInfo o => o -> IO (AttrGetType MountOperationIsTcryptHiddenVolumePropertyInfo) # attrSet :: (AttrBaseTypeConstraint MountOperationIsTcryptHiddenVolumePropertyInfo o, AttrSetTypeConstraint MountOperationIsTcryptHiddenVolumePropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint MountOperationIsTcryptHiddenVolumePropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint MountOperationIsTcryptHiddenVolumePropertyInfo o, AttrSetTypeConstraint MountOperationIsTcryptHiddenVolumePropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint MountOperationIsTcryptHiddenVolumePropertyInfo o, AttrTransferTypeConstraint MountOperationIsTcryptHiddenVolumePropertyInfo b) => Proxy o -> b -> IO (AttrTransferType MountOperationIsTcryptHiddenVolumePropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps MountOperationIsTcryptHiddenVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint MountOperationIsTcryptHiddenVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType MountOperationIsTcryptHiddenVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrLabel MountOperationIsTcryptHiddenVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrOrigin MountOperationIsTcryptHiddenVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint MountOperationIsTcryptHiddenVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferType MountOperationIsTcryptHiddenVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint MountOperationIsTcryptHiddenVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
constructMountOperationIsTcryptHiddenVolume :: (IsMountOperation o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “is-tcrypt-hidden-volume
” property. This is rarely needed directly, but it is used by new
.
getMountOperationIsTcryptHiddenVolume :: (MonadIO m, IsMountOperation o) => o -> m Bool Source #
Get the value of the “is-tcrypt-hidden-volume
” property.
When overloading is enabled, this is equivalent to
get
mountOperation #isTcryptHiddenVolume
mountOperationIsTcryptHiddenVolume :: AttrLabelProxy "isTcryptHiddenVolume" Source #
setMountOperationIsTcryptHiddenVolume :: (MonadIO m, IsMountOperation o) => o -> Bool -> m () Source #
Set the value of the “is-tcrypt-hidden-volume
” property.
When overloading is enabled, this is equivalent to
set
mountOperation [ #isTcryptHiddenVolume:=
value ]
isTcryptSystemVolume
Whether the device to be unlocked is a TCRYPT system volume. In this context, a system volume is a volume with a bootloader and operating system installed. This is only supported for Windows operating systems. For further documentation, see the VeraCrypt documentation.
Since: 2.58
data MountOperationIsTcryptSystemVolumePropertyInfo Source #
Instances
AttrInfo MountOperationIsTcryptSystemVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods attrGet :: AttrBaseTypeConstraint MountOperationIsTcryptSystemVolumePropertyInfo o => o -> IO (AttrGetType MountOperationIsTcryptSystemVolumePropertyInfo) # attrSet :: (AttrBaseTypeConstraint MountOperationIsTcryptSystemVolumePropertyInfo o, AttrSetTypeConstraint MountOperationIsTcryptSystemVolumePropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint MountOperationIsTcryptSystemVolumePropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint MountOperationIsTcryptSystemVolumePropertyInfo o, AttrSetTypeConstraint MountOperationIsTcryptSystemVolumePropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint MountOperationIsTcryptSystemVolumePropertyInfo o, AttrTransferTypeConstraint MountOperationIsTcryptSystemVolumePropertyInfo b) => Proxy o -> b -> IO (AttrTransferType MountOperationIsTcryptSystemVolumePropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps MountOperationIsTcryptSystemVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint MountOperationIsTcryptSystemVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType MountOperationIsTcryptSystemVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrLabel MountOperationIsTcryptSystemVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrOrigin MountOperationIsTcryptSystemVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint MountOperationIsTcryptSystemVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferType MountOperationIsTcryptSystemVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint MountOperationIsTcryptSystemVolumePropertyInfo Source # | |||||||||||||||||||||||||||||||||
constructMountOperationIsTcryptSystemVolume :: (IsMountOperation o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “is-tcrypt-system-volume
” property. This is rarely needed directly, but it is used by new
.
getMountOperationIsTcryptSystemVolume :: (MonadIO m, IsMountOperation o) => o -> m Bool Source #
Get the value of the “is-tcrypt-system-volume
” property.
When overloading is enabled, this is equivalent to
get
mountOperation #isTcryptSystemVolume
mountOperationIsTcryptSystemVolume :: AttrLabelProxy "isTcryptSystemVolume" Source #
setMountOperationIsTcryptSystemVolume :: (MonadIO m, IsMountOperation o) => o -> Bool -> m () Source #
Set the value of the “is-tcrypt-system-volume
” property.
When overloading is enabled, this is equivalent to
set
mountOperation [ #isTcryptSystemVolume:=
value ]
password
The password that is used for authentication when carrying out the mount operation.
data MountOperationPasswordPropertyInfo Source #
Instances
AttrInfo MountOperationPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods attrGet :: AttrBaseTypeConstraint MountOperationPasswordPropertyInfo o => o -> IO (AttrGetType MountOperationPasswordPropertyInfo) # attrSet :: (AttrBaseTypeConstraint MountOperationPasswordPropertyInfo o, AttrSetTypeConstraint MountOperationPasswordPropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint MountOperationPasswordPropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint MountOperationPasswordPropertyInfo o, AttrSetTypeConstraint MountOperationPasswordPropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint MountOperationPasswordPropertyInfo o, AttrTransferTypeConstraint MountOperationPasswordPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType MountOperationPasswordPropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps MountOperationPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation type AttrAllowedOps MountOperationPasswordPropertyInfo = '['AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear] | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint MountOperationPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType MountOperationPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrLabel MountOperationPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrOrigin MountOperationPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint MountOperationPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferType MountOperationPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint MountOperationPasswordPropertyInfo Source # | |||||||||||||||||||||||||||||||||
clearMountOperationPassword :: (MonadIO m, IsMountOperation o) => o -> m () Source #
Set the value of the “password
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#password
constructMountOperationPassword :: (IsMountOperation o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “password
” property. This is rarely needed directly, but it is used by new
.
getMountOperationPassword :: (MonadIO m, IsMountOperation o) => o -> m (Maybe Text) Source #
Get the value of the “password
” property.
When overloading is enabled, this is equivalent to
get
mountOperation #password
mountOperationPassword :: AttrLabelProxy "password" Source #
setMountOperationPassword :: (MonadIO m, IsMountOperation o) => o -> Text -> m () Source #
Set the value of the “password
” property.
When overloading is enabled, this is equivalent to
set
mountOperation [ #password:=
value ]
passwordSave
Determines if and how the password information should be saved.
data MountOperationPasswordSavePropertyInfo Source #
Instances
AttrInfo MountOperationPasswordSavePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods attrGet :: AttrBaseTypeConstraint MountOperationPasswordSavePropertyInfo o => o -> IO (AttrGetType MountOperationPasswordSavePropertyInfo) # attrSet :: (AttrBaseTypeConstraint MountOperationPasswordSavePropertyInfo o, AttrSetTypeConstraint MountOperationPasswordSavePropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint MountOperationPasswordSavePropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint MountOperationPasswordSavePropertyInfo o, AttrSetTypeConstraint MountOperationPasswordSavePropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint MountOperationPasswordSavePropertyInfo o, AttrTransferTypeConstraint MountOperationPasswordSavePropertyInfo b) => Proxy o -> b -> IO (AttrTransferType MountOperationPasswordSavePropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps MountOperationPasswordSavePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint MountOperationPasswordSavePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType MountOperationPasswordSavePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrLabel MountOperationPasswordSavePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrOrigin MountOperationPasswordSavePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint MountOperationPasswordSavePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferType MountOperationPasswordSavePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint MountOperationPasswordSavePropertyInfo Source # | |||||||||||||||||||||||||||||||||
constructMountOperationPasswordSave :: (IsMountOperation o, MonadIO m) => PasswordSave -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “password-save
” property. This is rarely needed directly, but it is used by new
.
getMountOperationPasswordSave :: (MonadIO m, IsMountOperation o) => o -> m PasswordSave Source #
Get the value of the “password-save
” property.
When overloading is enabled, this is equivalent to
get
mountOperation #passwordSave
mountOperationPasswordSave :: AttrLabelProxy "passwordSave" Source #
setMountOperationPasswordSave :: (MonadIO m, IsMountOperation o) => o -> PasswordSave -> m () Source #
Set the value of the “password-save
” property.
When overloading is enabled, this is equivalent to
set
mountOperation [ #passwordSave:=
value ]
pim
The VeraCrypt PIM value, when unlocking a VeraCrypt volume. See the VeraCrypt documentation.html).
Since: 2.58
data MountOperationPimPropertyInfo Source #
Instances
AttrInfo MountOperationPimPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods attrGet :: AttrBaseTypeConstraint MountOperationPimPropertyInfo o => o -> IO (AttrGetType MountOperationPimPropertyInfo) # attrSet :: (AttrBaseTypeConstraint MountOperationPimPropertyInfo o, AttrSetTypeConstraint MountOperationPimPropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint MountOperationPimPropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint MountOperationPimPropertyInfo o, AttrSetTypeConstraint MountOperationPimPropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint MountOperationPimPropertyInfo o, AttrTransferTypeConstraint MountOperationPimPropertyInfo b) => Proxy o -> b -> IO (AttrTransferType MountOperationPimPropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps MountOperationPimPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint MountOperationPimPropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType MountOperationPimPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrLabel MountOperationPimPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrOrigin MountOperationPimPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint MountOperationPimPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrTransferType MountOperationPimPropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint MountOperationPimPropertyInfo Source # | |||||||||||||||||||||||||||||||||
constructMountOperationPim :: (IsMountOperation o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “pim
” property. This is rarely needed directly, but it is used by new
.
getMountOperationPim :: (MonadIO m, IsMountOperation o) => o -> m Word32 Source #
Get the value of the “pim
” property.
When overloading is enabled, this is equivalent to
get
mountOperation #pim
mountOperationPim :: AttrLabelProxy "pim" Source #
setMountOperationPim :: (MonadIO m, IsMountOperation o) => o -> Word32 -> m () Source #
Set the value of the “pim
” property.
When overloading is enabled, this is equivalent to
set
mountOperation [ #pim:=
value ]
username
The user name that is used for authentication when carrying out the mount operation.
data MountOperationUsernamePropertyInfo Source #
Instances
AttrInfo MountOperationUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods attrGet :: AttrBaseTypeConstraint MountOperationUsernamePropertyInfo o => o -> IO (AttrGetType MountOperationUsernamePropertyInfo) # attrSet :: (AttrBaseTypeConstraint MountOperationUsernamePropertyInfo o, AttrSetTypeConstraint MountOperationUsernamePropertyInfo b) => o -> b -> IO () # attrClear :: AttrBaseTypeConstraint MountOperationUsernamePropertyInfo o => o -> IO () # attrConstruct :: (AttrBaseTypeConstraint MountOperationUsernamePropertyInfo o, AttrSetTypeConstraint MountOperationUsernamePropertyInfo b) => b -> IO (GValueConstruct o) # attrTransfer :: (AttrBaseTypeConstraint MountOperationUsernamePropertyInfo o, AttrTransferTypeConstraint MountOperationUsernamePropertyInfo b) => Proxy o -> b -> IO (AttrTransferType MountOperationUsernamePropertyInfo) # | |||||||||||||||||||||||||||||||||
type AttrAllowedOps MountOperationUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation type AttrAllowedOps MountOperationUsernamePropertyInfo = '['AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear] | |||||||||||||||||||||||||||||||||
type AttrBaseTypeConstraint MountOperationUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrGetType MountOperationUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrLabel MountOperationUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrOrigin MountOperationUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrSetTypeConstraint MountOperationUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
type AttrTransferType MountOperationUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
Defined in GI.Gio.Objects.MountOperation | |||||||||||||||||||||||||||||||||
type AttrTransferTypeConstraint MountOperationUsernamePropertyInfo Source # | |||||||||||||||||||||||||||||||||
clearMountOperationUsername :: (MonadIO m, IsMountOperation o) => o -> m () Source #
Set the value of the “username
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#username
constructMountOperationUsername :: (IsMountOperation o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “username
” property. This is rarely needed directly, but it is used by new
.
getMountOperationUsername :: (MonadIO m, IsMountOperation o) => o -> m (Maybe Text) Source #
Get the value of the “username
” property.
When overloading is enabled, this is equivalent to
get
mountOperation #username
mountOperationUsername :: AttrLabelProxy "username" Source #
setMountOperationUsername :: (MonadIO m, IsMountOperation o) => o -> Text -> m () Source #
Set the value of the “username
” property.
When overloading is enabled, this is equivalent to
set
mountOperation [ #username:=
value ]
Signals
aborted
type MountOperationAbortedCallback = IO () Source #
Emitted by the backend when e.g. a device becomes unavailable while a mount operation is in progress.
Implementations of GMountOperation should handle this signal by dismissing open password dialogs.
Since: 2.20
data MountOperationAbortedSignalInfo Source #
Instances
SignalInfo MountOperationAbortedSignalInfo Source # | |||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType MountOperationAbortedSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
type HaskellCallbackType MountOperationAbortedSignalInfo Source # | |||||
afterMountOperationAborted :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAbortedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the aborted signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
mountOperation #aborted callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onMountOperationAborted :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAbortedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the aborted signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
mountOperation #aborted callback
askPassword
type MountOperationAskPasswordCallback Source #
Arguments
= Text |
|
-> Text |
|
-> Text |
|
-> [AskPasswordFlags] |
|
-> IO () |
Emitted when a mount operation asks the user for a password.
If the message contains a line break, the first line should be
presented as a heading. For example, it may be used as the
primary text in a GtkMessageDialog
.
data MountOperationAskPasswordSignalInfo Source #
Instances
SignalInfo MountOperationAskPasswordSignalInfo Source # | |||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType MountOperationAskPasswordSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
type HaskellCallbackType MountOperationAskPasswordSignalInfo Source # | |||||
afterMountOperationAskPassword :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAskPasswordCallback) -> m SignalHandlerId Source #
Connect a signal handler for the askPassword signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
mountOperation #askPassword callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onMountOperationAskPassword :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAskPasswordCallback) -> m SignalHandlerId Source #
Connect a signal handler for the askPassword signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
mountOperation #askPassword callback
askQuestion
type MountOperationAskQuestionCallback Source #
Arguments
= Text |
|
-> [Text] |
|
-> IO () |
Emitted when asking the user a question and gives a list of choices for the user to choose from.
If the message contains a line break, the first line should be
presented as a heading. For example, it may be used as the
primary text in a GtkMessageDialog
.
data MountOperationAskQuestionSignalInfo Source #
Instances
SignalInfo MountOperationAskQuestionSignalInfo Source # | |||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType MountOperationAskQuestionSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
type HaskellCallbackType MountOperationAskQuestionSignalInfo Source # | |||||
afterMountOperationAskQuestion :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAskQuestionCallback) -> m SignalHandlerId Source #
Connect a signal handler for the askQuestion signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
mountOperation #askQuestion callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onMountOperationAskQuestion :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationAskQuestionCallback) -> m SignalHandlerId Source #
Connect a signal handler for the askQuestion signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
mountOperation #askQuestion callback
reply
type MountOperationReplyCallback Source #
Arguments
= MountOperationResult |
|
-> IO () |
Emitted when the user has replied to the mount operation.
data MountOperationReplySignalInfo Source #
Instances
SignalInfo MountOperationReplySignalInfo Source # | |||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType MountOperationReplySignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
type HaskellCallbackType MountOperationReplySignalInfo Source # | |||||
afterMountOperationReply :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationReplyCallback) -> m SignalHandlerId Source #
Connect a signal handler for the reply signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
mountOperation #reply callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onMountOperationReply :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationReplyCallback) -> m SignalHandlerId Source #
Connect a signal handler for the reply signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
mountOperation #reply callback
showProcesses
type MountOperationShowProcessesCallback Source #
Arguments
= Text |
|
-> [Int32] |
|
-> [Text] |
|
-> IO () |
Emitted when one or more processes are blocking an operation
e.g. unmounting/ejecting a Mount
or stopping a Drive
.
Note that this signal may be emitted several times to update the
list of blocking processes as processes close files. The
application should only respond with mountOperationReply
to
the latest signal (setting MountOperation:choice to the choice
the user made).
If the message contains a line break, the first line should be
presented as a heading. For example, it may be used as the
primary text in a GtkMessageDialog
.
Since: 2.22
data MountOperationShowProcessesSignalInfo Source #
Instances
SignalInfo MountOperationShowProcessesSignalInfo Source # | |||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType MountOperationShowProcessesSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
type HaskellCallbackType MountOperationShowProcessesSignalInfo Source # | |||||
afterMountOperationShowProcesses :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationShowProcessesCallback) -> m SignalHandlerId Source #
Connect a signal handler for the showProcesses signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
mountOperation #showProcesses callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onMountOperationShowProcesses :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationShowProcessesCallback) -> m SignalHandlerId Source #
Connect a signal handler for the showProcesses signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
mountOperation #showProcesses callback
showUnmountProgress
type MountOperationShowUnmountProgressCallback Source #
Arguments
= Text |
|
-> Int64 |
|
-> Int64 |
|
-> IO () |
Emitted when an unmount operation has been busy for more than some time (typically 1.5 seconds).
When unmounting or ejecting a volume, the kernel might need to flush
pending data in its buffers to the volume stable storage, and this operation
can take a considerable amount of time. This signal may be emitted several
times as long as the unmount operation is outstanding, and then one
last time when the operation is completed, with bytesLeft
set to zero.
Implementations of GMountOperation should handle this signal by
showing an UI notification, and then dismiss it, or show another notification
of completion, when bytesLeft
reaches zero.
If the message contains a line break, the first line should be
presented as a heading. For example, it may be used as the
primary text in a GtkMessageDialog
.
Since: 2.34
data MountOperationShowUnmountProgressSignalInfo Source #
Instances
SignalInfo MountOperationShowUnmountProgressSignalInfo Source # | |||||
Defined in GI.Gio.Objects.MountOperation Associated Types
Methods connectSignal :: GObject o => o -> (o -> HaskellCallbackType MountOperationShowUnmountProgressSignalInfo) -> SignalConnectMode -> Maybe Text -> IO SignalHandlerId # | |||||
type HaskellCallbackType MountOperationShowUnmountProgressSignalInfo Source # | |||||
afterMountOperationShowUnmountProgress :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationShowUnmountProgressCallback) -> m SignalHandlerId Source #
Connect a signal handler for the showUnmountProgress signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
mountOperation #showUnmountProgress callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onMountOperationShowUnmountProgress :: (IsMountOperation a, MonadIO m) => a -> ((?self :: a) => MountOperationShowUnmountProgressCallback) -> m SignalHandlerId Source #
Connect a signal handler for the showUnmountProgress signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
mountOperation #showUnmountProgress callback