| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Handy.Objects.TitleBar
Description
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.
Constructors
| TitleBar (ManagedPtr TitleBar) |
Instances
| GObject TitleBar Source # | |
Defined in GI.Handy.Objects.TitleBar Methods gobjectType :: IO GType # | |
| 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 ': ([] :: [Type])))))) | |
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
getSelectionMode
titleBarGetSelectionMode Source #
Arguments
| :: (HasCallStack, MonadIO m, IsTitleBar a) | |
| => a |
|
| -> m Bool | Returns: |
Returns wether whether self is in selection mode.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m TitleBar | Returns: a new |
Creates a new TitleBar.
setSelectionMode
titleBarSetSelectionMode Source #
Arguments
| :: (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
settitleBar [ #selectionMode:=value ]