| 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.Gtk.Objects.HeaderBar
Contents
- Exported types
- Methods
- headerBarGetCustomTitle
- headerBarGetDecorationLayout
- headerBarGetHasSubtitle
- headerBarGetShowCloseButton
- headerBarGetSubtitle
- headerBarGetTitle
- headerBarNew
- headerBarPackEnd
- headerBarPackStart
- headerBarSetCustomTitle
- headerBarSetDecorationLayout
- headerBarSetHasSubtitle
- headerBarSetShowCloseButton
- headerBarSetSubtitle
- headerBarSetTitle
- Properties
Description
- newtype HeaderBar = HeaderBar (ForeignPtr HeaderBar)
- class GObject o => HeaderBarK o
- toHeaderBar :: HeaderBarK o => o -> IO HeaderBar
- noHeaderBar :: Maybe HeaderBar
- headerBarGetCustomTitle :: (MonadIO m, HeaderBarK a) => a -> m Widget
- headerBarGetDecorationLayout :: (MonadIO m, HeaderBarK a) => a -> m Text
- headerBarGetHasSubtitle :: (MonadIO m, HeaderBarK a) => a -> m Bool
- headerBarGetShowCloseButton :: (MonadIO m, HeaderBarK a) => a -> m Bool
- headerBarGetSubtitle :: (MonadIO m, HeaderBarK a) => a -> m Text
- headerBarGetTitle :: (MonadIO m, HeaderBarK a) => a -> m Text
- headerBarNew :: MonadIO m => m HeaderBar
- headerBarPackEnd :: (MonadIO m, HeaderBarK a, WidgetK b) => a -> b -> m ()
- headerBarPackStart :: (MonadIO m, HeaderBarK a, WidgetK b) => a -> b -> m ()
- headerBarSetCustomTitle :: (MonadIO m, HeaderBarK a, WidgetK b) => a -> Maybe b -> m ()
- headerBarSetDecorationLayout :: (MonadIO m, HeaderBarK a) => a -> Maybe Text -> m ()
- headerBarSetHasSubtitle :: (MonadIO m, HeaderBarK a) => a -> Bool -> m ()
- headerBarSetShowCloseButton :: (MonadIO m, HeaderBarK a) => a -> Bool -> m ()
- headerBarSetSubtitle :: (MonadIO m, HeaderBarK a) => a -> Maybe Text -> m ()
- headerBarSetTitle :: (MonadIO m, HeaderBarK a) => a -> Maybe Text -> m ()
- data HeaderBarCustomTitlePropertyInfo
- constructHeaderBarCustomTitle :: WidgetK a => a -> IO ([Char], GValue)
- getHeaderBarCustomTitle :: (MonadIO m, HeaderBarK o) => o -> m Widget
- setHeaderBarCustomTitle :: (MonadIO m, HeaderBarK o, WidgetK a) => o -> a -> m ()
- data HeaderBarDecorationLayoutPropertyInfo
- constructHeaderBarDecorationLayout :: Text -> IO ([Char], GValue)
- getHeaderBarDecorationLayout :: (MonadIO m, HeaderBarK o) => o -> m Text
- setHeaderBarDecorationLayout :: (MonadIO m, HeaderBarK o) => o -> Text -> m ()
- data HeaderBarDecorationLayoutSetPropertyInfo
- constructHeaderBarDecorationLayoutSet :: Bool -> IO ([Char], GValue)
- getHeaderBarDecorationLayoutSet :: (MonadIO m, HeaderBarK o) => o -> m Bool
- setHeaderBarDecorationLayoutSet :: (MonadIO m, HeaderBarK o) => o -> Bool -> m ()
- data HeaderBarHasSubtitlePropertyInfo
- constructHeaderBarHasSubtitle :: Bool -> IO ([Char], GValue)
- getHeaderBarHasSubtitle :: (MonadIO m, HeaderBarK o) => o -> m Bool
- setHeaderBarHasSubtitle :: (MonadIO m, HeaderBarK o) => o -> Bool -> m ()
- data HeaderBarShowCloseButtonPropertyInfo
- constructHeaderBarShowCloseButton :: Bool -> IO ([Char], GValue)
- getHeaderBarShowCloseButton :: (MonadIO m, HeaderBarK o) => o -> m Bool
- setHeaderBarShowCloseButton :: (MonadIO m, HeaderBarK o) => o -> Bool -> m ()
- data HeaderBarSpacingPropertyInfo
- constructHeaderBarSpacing :: Int32 -> IO ([Char], GValue)
- getHeaderBarSpacing :: (MonadIO m, HeaderBarK o) => o -> m Int32
- setHeaderBarSpacing :: (MonadIO m, HeaderBarK o) => o -> Int32 -> m ()
- data HeaderBarSubtitlePropertyInfo
- constructHeaderBarSubtitle :: Text -> IO ([Char], GValue)
- getHeaderBarSubtitle :: (MonadIO m, HeaderBarK o) => o -> m Text
- setHeaderBarSubtitle :: (MonadIO m, HeaderBarK o) => o -> Text -> m ()
- data HeaderBarTitlePropertyInfo
- constructHeaderBarTitle :: Text -> IO ([Char], GValue)
- getHeaderBarTitle :: (MonadIO m, HeaderBarK o) => o -> m Text
- setHeaderBarTitle :: (MonadIO m, HeaderBarK o) => o -> Text -> m ()
Exported types
Constructors
| HeaderBar (ForeignPtr HeaderBar) |
Instances
| GObject HeaderBar | |
| type ParentTypes HeaderBar | |
| type AttributeList HeaderBar | |
| type SignalList HeaderBar |
class GObject o => HeaderBarK o Source
Instances
| (GObject o, IsDescendantOf HeaderBar o) => HeaderBarK o |
toHeaderBar :: HeaderBarK o => o -> IO HeaderBar Source
Methods
headerBarGetCustomTitle
headerBarGetCustomTitle :: (MonadIO m, HeaderBarK a) => a -> m Widget Source
headerBarGetDecorationLayout
headerBarGetDecorationLayout :: (MonadIO m, HeaderBarK a) => a -> m Text Source
headerBarGetHasSubtitle
headerBarGetHasSubtitle :: (MonadIO m, HeaderBarK a) => a -> m Bool Source
headerBarGetShowCloseButton
headerBarGetShowCloseButton :: (MonadIO m, HeaderBarK a) => a -> m Bool Source
headerBarGetSubtitle
headerBarGetSubtitle :: (MonadIO m, HeaderBarK a) => a -> m Text Source
headerBarGetTitle
headerBarGetTitle :: (MonadIO m, HeaderBarK a) => a -> m Text Source
headerBarNew
headerBarNew :: MonadIO m => m HeaderBar Source
headerBarPackEnd
headerBarPackEnd :: (MonadIO m, HeaderBarK a, WidgetK b) => a -> b -> m () Source
headerBarPackStart
headerBarPackStart :: (MonadIO m, HeaderBarK a, WidgetK b) => a -> b -> m () Source
headerBarSetCustomTitle
headerBarSetCustomTitle :: (MonadIO m, HeaderBarK a, WidgetK b) => a -> Maybe b -> m () Source
headerBarSetDecorationLayout
headerBarSetDecorationLayout :: (MonadIO m, HeaderBarK a) => a -> Maybe Text -> m () Source
headerBarSetHasSubtitle
headerBarSetHasSubtitle :: (MonadIO m, HeaderBarK a) => a -> Bool -> m () Source
headerBarSetShowCloseButton
headerBarSetShowCloseButton :: (MonadIO m, HeaderBarK a) => a -> Bool -> m () Source
headerBarSetSubtitle
headerBarSetSubtitle :: (MonadIO m, HeaderBarK a) => a -> Maybe Text -> m () Source
headerBarSetTitle
headerBarSetTitle :: (MonadIO m, HeaderBarK a) => a -> Maybe Text -> m () Source
Properties
CustomTitle
data HeaderBarCustomTitlePropertyInfo Source
Instances
| AttrInfo HeaderBarCustomTitlePropertyInfo | |
| type AttrLabel HeaderBarCustomTitlePropertyInfo = "HeaderBar::custom-title" | |
| type AttrGetType HeaderBarCustomTitlePropertyInfo = Widget | |
| type AttrBaseTypeConstraint HeaderBarCustomTitlePropertyInfo = HeaderBarK | |
| type AttrSetTypeConstraint HeaderBarCustomTitlePropertyInfo = WidgetK | |
| type AttrAllowedOps HeaderBarCustomTitlePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getHeaderBarCustomTitle :: (MonadIO m, HeaderBarK o) => o -> m Widget Source
setHeaderBarCustomTitle :: (MonadIO m, HeaderBarK o, WidgetK a) => o -> a -> m () Source
DecorationLayout
data HeaderBarDecorationLayoutPropertyInfo Source
Instances
| AttrInfo HeaderBarDecorationLayoutPropertyInfo | |
| type AttrLabel HeaderBarDecorationLayoutPropertyInfo = "HeaderBar::decoration-layout" | |
| type AttrGetType HeaderBarDecorationLayoutPropertyInfo = Text | |
| type AttrBaseTypeConstraint HeaderBarDecorationLayoutPropertyInfo = HeaderBarK | |
| type AttrSetTypeConstraint HeaderBarDecorationLayoutPropertyInfo = * ~ Text | |
| type AttrAllowedOps HeaderBarDecorationLayoutPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getHeaderBarDecorationLayout :: (MonadIO m, HeaderBarK o) => o -> m Text Source
setHeaderBarDecorationLayout :: (MonadIO m, HeaderBarK o) => o -> Text -> m () Source
DecorationLayoutSet
data HeaderBarDecorationLayoutSetPropertyInfo Source
Instances
| AttrInfo HeaderBarDecorationLayoutSetPropertyInfo | |
| type AttrLabel HeaderBarDecorationLayoutSetPropertyInfo = "HeaderBar::decoration-layout-set" | |
| type AttrGetType HeaderBarDecorationLayoutSetPropertyInfo = Bool | |
| type AttrBaseTypeConstraint HeaderBarDecorationLayoutSetPropertyInfo = HeaderBarK | |
| type AttrSetTypeConstraint HeaderBarDecorationLayoutSetPropertyInfo = * ~ Bool | |
| type AttrAllowedOps HeaderBarDecorationLayoutSetPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getHeaderBarDecorationLayoutSet :: (MonadIO m, HeaderBarK o) => o -> m Bool Source
setHeaderBarDecorationLayoutSet :: (MonadIO m, HeaderBarK o) => o -> Bool -> m () Source
HasSubtitle
data HeaderBarHasSubtitlePropertyInfo Source
Instances
| AttrInfo HeaderBarHasSubtitlePropertyInfo | |
| type AttrLabel HeaderBarHasSubtitlePropertyInfo = "HeaderBar::has-subtitle" | |
| type AttrGetType HeaderBarHasSubtitlePropertyInfo = Bool | |
| type AttrBaseTypeConstraint HeaderBarHasSubtitlePropertyInfo = HeaderBarK | |
| type AttrSetTypeConstraint HeaderBarHasSubtitlePropertyInfo = * ~ Bool | |
| type AttrAllowedOps HeaderBarHasSubtitlePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getHeaderBarHasSubtitle :: (MonadIO m, HeaderBarK o) => o -> m Bool Source
setHeaderBarHasSubtitle :: (MonadIO m, HeaderBarK o) => o -> Bool -> m () Source
ShowCloseButton
data HeaderBarShowCloseButtonPropertyInfo Source
Instances
| AttrInfo HeaderBarShowCloseButtonPropertyInfo | |
| type AttrLabel HeaderBarShowCloseButtonPropertyInfo = "HeaderBar::show-close-button" | |
| type AttrGetType HeaderBarShowCloseButtonPropertyInfo = Bool | |
| type AttrBaseTypeConstraint HeaderBarShowCloseButtonPropertyInfo = HeaderBarK | |
| type AttrSetTypeConstraint HeaderBarShowCloseButtonPropertyInfo = * ~ Bool | |
| type AttrAllowedOps HeaderBarShowCloseButtonPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getHeaderBarShowCloseButton :: (MonadIO m, HeaderBarK o) => o -> m Bool Source
setHeaderBarShowCloseButton :: (MonadIO m, HeaderBarK o) => o -> Bool -> m () Source
Spacing
data HeaderBarSpacingPropertyInfo Source
Instances
| AttrInfo HeaderBarSpacingPropertyInfo | |
| type AttrLabel HeaderBarSpacingPropertyInfo = "HeaderBar::spacing" | |
| type AttrGetType HeaderBarSpacingPropertyInfo = Int32 | |
| type AttrBaseTypeConstraint HeaderBarSpacingPropertyInfo = HeaderBarK | |
| type AttrSetTypeConstraint HeaderBarSpacingPropertyInfo = * ~ Int32 | |
| type AttrAllowedOps HeaderBarSpacingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getHeaderBarSpacing :: (MonadIO m, HeaderBarK o) => o -> m Int32 Source
setHeaderBarSpacing :: (MonadIO m, HeaderBarK o) => o -> Int32 -> m () Source
Subtitle
data HeaderBarSubtitlePropertyInfo Source
Instances
| AttrInfo HeaderBarSubtitlePropertyInfo | |
| type AttrLabel HeaderBarSubtitlePropertyInfo = "HeaderBar::subtitle" | |
| type AttrGetType HeaderBarSubtitlePropertyInfo = Text | |
| type AttrBaseTypeConstraint HeaderBarSubtitlePropertyInfo = HeaderBarK | |
| type AttrSetTypeConstraint HeaderBarSubtitlePropertyInfo = * ~ Text | |
| type AttrAllowedOps HeaderBarSubtitlePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getHeaderBarSubtitle :: (MonadIO m, HeaderBarK o) => o -> m Text Source
setHeaderBarSubtitle :: (MonadIO m, HeaderBarK o) => o -> Text -> m () Source
Title
data HeaderBarTitlePropertyInfo Source
Instances
| AttrInfo HeaderBarTitlePropertyInfo | |
| type AttrLabel HeaderBarTitlePropertyInfo = "HeaderBar::title" | |
| type AttrGetType HeaderBarTitlePropertyInfo = Text | |
| type AttrBaseTypeConstraint HeaderBarTitlePropertyInfo = HeaderBarK | |
| type AttrSetTypeConstraint HeaderBarTitlePropertyInfo = * ~ Text | |
| type AttrAllowedOps HeaderBarTitlePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
getHeaderBarTitle :: (MonadIO m, HeaderBarK o) => o -> m Text Source
setHeaderBarTitle :: (MonadIO m, HeaderBarK o) => o -> Text -> m () Source