gi-gtk-4.0.2: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.MountOperation

Description

This should not be accessed directly. Use the accessor functions below.

Synopsis

Exported types

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

Instances details
(GObject o, IsDescendantOf MountOperation o) => IsMountOperation o Source # 
Instance details

Defined in GI.Gtk.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

Overloaded methods

getDisplay

mountOperationGetDisplay Source #

Arguments

:: (HasCallStack, MonadIO m, IsMountOperation a) 
=> a

op: a MountOperation

-> m Display

Returns: the display on which windows of op are shown

Gets the display on which windows of the MountOperation will be shown.

getParent

mountOperationGetParent Source #

Arguments

:: (HasCallStack, MonadIO m, IsMountOperation a) 
=> a

op: a MountOperation

-> m Window

Returns: the transient parent for windows shown by op

Gets the transient parent used by the MountOperation

isShowing

mountOperationIsShowing Source #

Arguments

:: (HasCallStack, MonadIO m, IsMountOperation a) 
=> a

op: a MountOperation

-> m Bool

Returns: True if op is currently displaying a window

Returns whether the MountOperation is currently displaying a window.

new

mountOperationNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsWindow a) 
=> Maybe a

parent: transient parent of the window, or Nothing

-> m MountOperation

Returns: a new MountOperation

Creates a new MountOperation

setDisplay

mountOperationSetDisplay Source #

Arguments

:: (HasCallStack, MonadIO m, IsMountOperation a, IsDisplay b) 
=> a

op: a MountOperation

-> b

display: a Display

-> m () 

Sets the display to show windows of the MountOperation on.

setParent

mountOperationSetParent Source #

Arguments

:: (HasCallStack, MonadIO m, IsMountOperation a, IsWindow b) 
=> a

op: a MountOperation

-> Maybe b

parent: transient parent of the window, or Nothing

-> m () 

Sets the transient parent for windows shown by the MountOperation.

Properties

display

No description available in the introspection data.

constructMountOperationDisplay :: (IsMountOperation o, MonadIO m, IsDisplay a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “display” property. This is rarely needed directly, but it is used by new.

getMountOperationDisplay :: (MonadIO m, IsMountOperation o) => o -> m Display Source #

Get the value of the “display” property. When overloading is enabled, this is equivalent to

get mountOperation #display

setMountOperationDisplay :: (MonadIO m, IsMountOperation o, IsDisplay a) => o -> a -> m () Source #

Set the value of the “display” property. When overloading is enabled, this is equivalent to

set mountOperation [ #display := value ]

isShowing

No description available in the introspection data.

getMountOperationIsShowing :: (MonadIO m, IsMountOperation o) => o -> m Bool Source #

Get the value of the “is-showing” property. When overloading is enabled, this is equivalent to

get mountOperation #isShowing

parent

No description available in the introspection data.

clearMountOperationParent :: (MonadIO m, IsMountOperation o) => o -> m () Source #

Set the value of the “parent” property to Nothing. When overloading is enabled, this is equivalent to

clear #parent

constructMountOperationParent :: (IsMountOperation o, MonadIO m, IsWindow a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “parent” property. This is rarely needed directly, but it is used by new.

getMountOperationParent :: (MonadIO m, IsMountOperation o) => o -> m Window Source #

Get the value of the “parent” property. When overloading is enabled, this is equivalent to

get mountOperation #parent

setMountOperationParent :: (MonadIO m, IsMountOperation o, IsWindow a) => o -> a -> m () Source #

Set the value of the “parent” property. When overloading is enabled, this is equivalent to

set mountOperation [ #parent := value ]