| 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 Source | |
| type ParentTypes HeaderBar Source | |
| type AttributeList HeaderBar Source | |
| type SignalList HeaderBar Source |
class GObject o => HeaderBarK o Source
Instances
| (GObject o, IsDescendantOf HeaderBar o) => HeaderBarK o Source |
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 Source | |
| type AttrLabel HeaderBarCustomTitlePropertyInfo = "HeaderBar::custom-title" Source | |
| type AttrGetType HeaderBarCustomTitlePropertyInfo = Widget Source | |
| type AttrBaseTypeConstraint HeaderBarCustomTitlePropertyInfo = HeaderBarK Source | |
| type AttrSetTypeConstraint HeaderBarCustomTitlePropertyInfo = WidgetK Source | |
| type AttrAllowedOps HeaderBarCustomTitlePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
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 Source | |
| type AttrLabel HeaderBarDecorationLayoutPropertyInfo = "HeaderBar::decoration-layout" Source | |
| type AttrGetType HeaderBarDecorationLayoutPropertyInfo = Text Source | |
| type AttrBaseTypeConstraint HeaderBarDecorationLayoutPropertyInfo = HeaderBarK Source | |
| type AttrSetTypeConstraint HeaderBarDecorationLayoutPropertyInfo = * ~ Text Source | |
| type AttrAllowedOps HeaderBarDecorationLayoutPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
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 Source | |
| type AttrLabel HeaderBarDecorationLayoutSetPropertyInfo = "HeaderBar::decoration-layout-set" Source | |
| type AttrGetType HeaderBarDecorationLayoutSetPropertyInfo = Bool Source | |
| type AttrBaseTypeConstraint HeaderBarDecorationLayoutSetPropertyInfo = HeaderBarK Source | |
| type AttrSetTypeConstraint HeaderBarDecorationLayoutSetPropertyInfo = * ~ Bool Source | |
| type AttrAllowedOps HeaderBarDecorationLayoutSetPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
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 Source | |
| type AttrLabel HeaderBarHasSubtitlePropertyInfo = "HeaderBar::has-subtitle" Source | |
| type AttrGetType HeaderBarHasSubtitlePropertyInfo = Bool Source | |
| type AttrBaseTypeConstraint HeaderBarHasSubtitlePropertyInfo = HeaderBarK Source | |
| type AttrSetTypeConstraint HeaderBarHasSubtitlePropertyInfo = * ~ Bool Source | |
| type AttrAllowedOps HeaderBarHasSubtitlePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
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 Source | |
| type AttrLabel HeaderBarShowCloseButtonPropertyInfo = "HeaderBar::show-close-button" Source | |
| type AttrGetType HeaderBarShowCloseButtonPropertyInfo = Bool Source | |
| type AttrBaseTypeConstraint HeaderBarShowCloseButtonPropertyInfo = HeaderBarK Source | |
| type AttrSetTypeConstraint HeaderBarShowCloseButtonPropertyInfo = * ~ Bool Source | |
| type AttrAllowedOps HeaderBarShowCloseButtonPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
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 Source | |
| type AttrLabel HeaderBarSpacingPropertyInfo = "HeaderBar::spacing" Source | |
| type AttrGetType HeaderBarSpacingPropertyInfo = Int32 Source | |
| type AttrBaseTypeConstraint HeaderBarSpacingPropertyInfo = HeaderBarK Source | |
| type AttrSetTypeConstraint HeaderBarSpacingPropertyInfo = * ~ Int32 Source | |
| type AttrAllowedOps HeaderBarSpacingPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
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 Source | |
| type AttrLabel HeaderBarSubtitlePropertyInfo = "HeaderBar::subtitle" Source | |
| type AttrGetType HeaderBarSubtitlePropertyInfo = Text Source | |
| type AttrBaseTypeConstraint HeaderBarSubtitlePropertyInfo = HeaderBarK Source | |
| type AttrSetTypeConstraint HeaderBarSubtitlePropertyInfo = * ~ Text Source | |
| type AttrAllowedOps HeaderBarSubtitlePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
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 Source | |
| type AttrLabel HeaderBarTitlePropertyInfo = "HeaderBar::title" Source | |
| type AttrGetType HeaderBarTitlePropertyInfo = Text Source | |
| type AttrBaseTypeConstraint HeaderBarTitlePropertyInfo = HeaderBarK Source | |
| type AttrSetTypeConstraint HeaderBarTitlePropertyInfo = * ~ Text Source | |
| type AttrAllowedOps HeaderBarTitlePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getHeaderBarTitle :: (MonadIO m, HeaderBarK o) => o -> m Text Source
setHeaderBarTitle :: (MonadIO m, HeaderBarK o) => o -> Text -> m () Source