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 |
This should not be accessed directly. Use the accessor functions below.
- newtype MountOperation = MountOperation (ManagedPtr MountOperation)
- class GObject o => IsMountOperation o
- toMountOperation :: (MonadIO m, IsMountOperation o) => o -> m MountOperation
- noMountOperation :: Maybe MountOperation
- mountOperationGetParent :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m Window
- mountOperationGetScreen :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m Screen
- mountOperationIsShowing :: (HasCallStack, MonadIO m, IsMountOperation a) => a -> m Bool
- mountOperationNew :: (HasCallStack, MonadIO m, IsWindow a) => Maybe a -> m MountOperation
- mountOperationSetParent :: (HasCallStack, MonadIO m, IsMountOperation a, IsWindow b) => a -> Maybe b -> m ()
- mountOperationSetScreen :: (HasCallStack, MonadIO m, IsMountOperation a, IsScreen b) => a -> b -> m ()
- getMountOperationIsShowing :: (MonadIO m, IsMountOperation o) => o -> m Bool
- clearMountOperationParent :: (MonadIO m, IsMountOperation o) => o -> m ()
- constructMountOperationParent :: (IsMountOperation o, IsWindow a) => a -> IO (GValueConstruct o)
- getMountOperationParent :: (MonadIO m, IsMountOperation o) => o -> m Window
- setMountOperationParent :: (MonadIO m, IsMountOperation o, IsWindow a) => o -> a -> m ()
- constructMountOperationScreen :: (IsMountOperation o, IsScreen a) => a -> IO (GValueConstruct o)
- getMountOperationScreen :: (MonadIO m, IsMountOperation o) => o -> m Screen
- setMountOperationScreen :: (MonadIO m, IsMountOperation o, IsScreen a) => o -> a -> m ()
Exported types
newtype MountOperation Source #
class GObject o => IsMountOperation o Source #
toMountOperation :: (MonadIO m, IsMountOperation o) => o -> m MountOperation Source #
Methods
getParent
mountOperationGetParent Source #
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m Window | Returns: the transient parent for windows shown by |
Gets the transient parent used by the MountOperation
Since: 2.14
getScreen
mountOperationGetScreen Source #
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m Screen | Returns: the screen on which windows of |
Gets the screen on which windows of the MountOperation
will be shown.
Since: 2.14
isShowing
mountOperationIsShowing Source #
:: (HasCallStack, MonadIO m, IsMountOperation a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether the MountOperation
is currently displaying
a window.
Since: 2.14
new
:: (HasCallStack, MonadIO m, IsWindow a) | |
=> Maybe a |
|
-> m MountOperation | Returns: a new |
Creates a new MountOperation
Since: 2.14
setParent
mountOperationSetParent Source #
:: (HasCallStack, MonadIO m, IsMountOperation a, IsWindow b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Sets the transient parent for windows shown by the
MountOperation
.
Since: 2.14
setScreen
mountOperationSetScreen Source #
:: (HasCallStack, MonadIO m, IsMountOperation a, IsScreen b) | |
=> a |
|
-> b |
|
-> m () |
Sets the screen to show windows of the MountOperation
on.
Since: 2.14
Properties
isShowing
getMountOperationIsShowing :: (MonadIO m, IsMountOperation o) => o -> m Bool Source #
parent
clearMountOperationParent :: (MonadIO m, IsMountOperation o) => o -> m () Source #
constructMountOperationParent :: (IsMountOperation o, IsWindow a) => a -> IO (GValueConstruct o) Source #
getMountOperationParent :: (MonadIO m, IsMountOperation o) => o -> m Window Source #
setMountOperationParent :: (MonadIO m, IsMountOperation o, IsWindow a) => o -> a -> m () Source #
screen
constructMountOperationScreen :: (IsMountOperation o, IsScreen a) => a -> IO (GValueConstruct o) Source #
getMountOperationScreen :: (MonadIO m, IsMountOperation o) => o -> m Screen Source #
setMountOperationScreen :: (MonadIO m, IsMountOperation o, IsScreen a) => o -> a -> m () Source #