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 |
GI.Poppler.Objects.Layer
Description
- newtype Layer = Layer (ManagedPtr Layer)
- class GObject o => IsLayer o
- toLayer :: IsLayer o => o -> IO Layer
- noLayer :: Maybe Layer
- data LayerGetRadioButtonGroupIdMethodInfo
- layerGetRadioButtonGroupId :: (HasCallStack, MonadIO m, IsLayer a) => a -> m Int32
- data LayerGetTitleMethodInfo
- layerGetTitle :: (HasCallStack, MonadIO m, IsLayer a) => a -> m Text
- data LayerHideMethodInfo
- layerHide :: (HasCallStack, MonadIO m, IsLayer a) => a -> m ()
- data LayerIsParentMethodInfo
- layerIsParent :: (HasCallStack, MonadIO m, IsLayer a) => a -> m Bool
- data LayerIsVisibleMethodInfo
- layerIsVisible :: (HasCallStack, MonadIO m, IsLayer a) => a -> m Bool
- data LayerShowMethodInfo
- layerShow :: (HasCallStack, MonadIO m, IsLayer a) => a -> m ()
Exported types
Constructors
Layer (ManagedPtr Layer) |
Instances
GObject Layer Source # | |
IsObject Layer Source # | |
IsLayer Layer Source # | |
((~) * info (ResolveLayerMethod t Layer), MethodInfo * info Layer p) => IsLabel t (Layer -> p) Source # | |
((~) * info (ResolveLayerMethod t Layer), MethodInfo * info Layer p) => IsLabelProxy t (Layer -> p) Source # | |
HasAttributeList * Layer Source # | |
type AttributeList Layer Source # | |
type SignalList Layer Source # | |
Methods
getRadioButtonGroupId
data LayerGetRadioButtonGroupIdMethodInfo Source #
Instances
((~) * signature (m Int32), MonadIO m, IsLayer a) => MethodInfo * LayerGetRadioButtonGroupIdMethodInfo a signature Source # | |
layerGetRadioButtonGroupId Source #
Arguments
:: (HasCallStack, MonadIO m, IsLayer a) | |
=> a |
|
-> m Int32 | Returns: the ID of the radio button group associated with |
Returns the numeric ID the radio button group associated with layer
.
Since: 0.12
getTitle
data LayerGetTitleMethodInfo Source #
Instances
((~) * signature (m Text), MonadIO m, IsLayer a) => MethodInfo * LayerGetTitleMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsLayer a) | |
=> a |
|
-> m Text | Returns: a string containing the title of the layer |
Returns the name of the layer suitable for presentation as a title in a viewer's GUI
Since: 0.12
hide
data LayerHideMethodInfo Source #
Instances
((~) * signature (m ()), MonadIO m, IsLayer a) => MethodInfo * LayerHideMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsLayer a) | |
=> a |
|
-> m () |
Hides layer
. If layer
is the parent of other nested layers,
such layers will be also hidden and will be blocked until layer
is shown again
Since: 0.12
isParent
data LayerIsParentMethodInfo Source #
Instances
((~) * signature (m Bool), MonadIO m, IsLayer a) => MethodInfo * LayerIsParentMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsLayer a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether layer
is parent of other nested layers.
Since: 0.12
isVisible
data LayerIsVisibleMethodInfo Source #
Instances
((~) * signature (m Bool), MonadIO m, IsLayer a) => MethodInfo * LayerIsVisibleMethodInfo a signature Source # | |
Arguments
:: (HasCallStack, MonadIO m, IsLayer a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether layer
is visible
Since: 0.12
show
data LayerShowMethodInfo Source #
Instances
((~) * signature (m ()), MonadIO m, IsLayer a) => MethodInfo * LayerShowMethodInfo a signature Source # | |