Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype TitleBar = TitleBar (ManagedPtr TitleBar)
- class (GObject o, IsDescendantOf TitleBar o) => IsTitleBar o
- toTitleBar :: (MonadIO m, IsTitleBar o) => o -> m TitleBar
- noTitleBar :: Maybe TitleBar
- titleBarGetSelectionMode :: (HasCallStack, MonadIO m, IsTitleBar a) => a -> m Bool
- titleBarNew :: (HasCallStack, MonadIO m) => m TitleBar
- titleBarSetSelectionMode :: (HasCallStack, MonadIO m, IsTitleBar a) => a -> Bool -> m ()
- constructTitleBarSelectionMode :: IsTitleBar o => Bool -> IO (GValueConstruct o)
- getTitleBarSelectionMode :: (MonadIO m, IsTitleBar o) => o -> m Bool
- setTitleBarSelectionMode :: (MonadIO m, IsTitleBar o) => o -> Bool -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq TitleBar Source # | |
IsGValue TitleBar Source # | Convert |
GObject TitleBar Source # | |
Defined in GI.Handy.Objects.TitleBar gobjectType :: IO GType # | |
HasParentTypes TitleBar Source # | |
Defined in GI.Handy.Objects.TitleBar | |
type ParentTypes TitleBar Source # | |
Defined in GI.Handy.Objects.TitleBar |
class (GObject o, IsDescendantOf TitleBar o) => IsTitleBar o Source #
Type class for types which can be safely cast to TitleBar
, for instance with toTitleBar
.
Instances
(GObject o, IsDescendantOf TitleBar o) => IsTitleBar o Source # | |
Defined in GI.Handy.Objects.TitleBar |
toTitleBar :: (MonadIO m, IsTitleBar o) => o -> m TitleBar Source #
Methods
Overloaded methods
getSelectionMode
titleBarGetSelectionMode Source #
:: (HasCallStack, MonadIO m, IsTitleBar a) | |
=> a |
|
-> m Bool | Returns: |
Returns wether whether self
is in selection mode.
new
:: (HasCallStack, MonadIO m) | |
=> m TitleBar | Returns: a new |
Creates a new TitleBar
.
setSelectionMode
titleBarSetSelectionMode Source #
:: (HasCallStack, MonadIO m, IsTitleBar a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether self
is in selection mode.
Properties
selectionMode
No description available in the introspection data.
constructTitleBarSelectionMode :: IsTitleBar o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “selection-mode
” property. This is rarely needed directly, but it is used by new
.
getTitleBarSelectionMode :: (MonadIO m, IsTitleBar o) => o -> m Bool Source #
Get the value of the “selection-mode
” property.
When overloading is enabled, this is equivalent to
get
titleBar #selectionMode
setTitleBarSelectionMode :: (MonadIO m, IsTitleBar o) => o -> Bool -> m () Source #
Set the value of the “selection-mode
” property.
When overloading is enabled, this is equivalent to
set
titleBar [ #selectionMode:=
value ]