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
- 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, MonadIO m) => Bool -> m (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 # | |
GObject TitleBar Source # | |
Defined in GI.Handy.Objects.TitleBar | |
ManagedPtrNewtype TitleBar Source # | |
Defined in GI.Handy.Objects.TitleBar toManagedPtr :: TitleBar -> ManagedPtr TitleBar | |
TypedObject TitleBar Source # | |
Defined in GI.Handy.Objects.TitleBar glibType :: IO GType | |
IsGValue TitleBar Source # | Convert |
Defined in GI.Handy.Objects.TitleBar toGValue :: TitleBar -> IO GValue fromGValue :: GValue -> IO TitleBar | |
HasParentTypes TitleBar Source # | |
Defined in GI.Handy.Objects.TitleBar | |
type ParentTypes TitleBar Source # | |
Defined in GI.Handy.Objects.TitleBar type ParentTypes TitleBar = '[Bin, Container, Widget, Object, ImplementorIface, Buildable] |
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
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, MonadIO m) => Bool -> m (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 ]