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 |
- newtype TextAppearance = TextAppearance (ManagedPtr TextAppearance)
- newZeroTextAppearance :: MonadIO m => m TextAppearance
- noTextAppearance :: Maybe TextAppearance
- getTextAppearanceBgColor :: MonadIO m => TextAppearance -> m Color
- textAppearance_bgColor :: AttrLabelProxy "bgColor"
- getTextAppearanceDrawBg :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceDrawBg :: MonadIO m => TextAppearance -> Word32 -> m ()
- textAppearance_drawBg :: AttrLabelProxy "drawBg"
- getTextAppearanceFgColor :: MonadIO m => TextAppearance -> m Color
- textAppearance_fgColor :: AttrLabelProxy "fgColor"
- getTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> Word32 -> m ()
- textAppearance_insideSelection :: AttrLabelProxy "insideSelection"
- getTextAppearanceIsText :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceIsText :: MonadIO m => TextAppearance -> Word32 -> m ()
- textAppearance_isText :: AttrLabelProxy "isText"
- getTextAppearanceRise :: MonadIO m => TextAppearance -> m Int32
- setTextAppearanceRise :: MonadIO m => TextAppearance -> Int32 -> m ()
- textAppearance_rise :: AttrLabelProxy "rise"
- getTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> Word32 -> m ()
- textAppearance_strikethrough :: AttrLabelProxy "strikethrough"
- getTextAppearanceUnderline :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceUnderline :: MonadIO m => TextAppearance -> Word32 -> m ()
- textAppearance_underline :: AttrLabelProxy "underline"
Exported types
newtype TextAppearance Source #
WrappedPtr TextAppearance Source # | |
(~) AttrOpTag tag AttrSet => Constructible TextAppearance tag Source # | |
((~) * info (ResolveTextAppearanceMethod t TextAppearance), MethodInfo * info TextAppearance p) => IsLabel t (TextAppearance -> p) Source # | |
((~) * info (ResolveTextAppearanceMethod t TextAppearance), MethodInfo * info TextAppearance p) => IsLabelProxy t (TextAppearance -> p) Source # | |
HasAttributeList * TextAppearance Source # | |
type AttributeList TextAppearance Source # | |
newZeroTextAppearance :: MonadIO m => m TextAppearance Source #
Construct a TextAppearance
struct initialized to zero.
Properties
bgColor
getTextAppearanceBgColor :: MonadIO m => TextAppearance -> m Color Source #
textAppearance_bgColor :: AttrLabelProxy "bgColor" Source #
drawBg
getTextAppearanceDrawBg :: MonadIO m => TextAppearance -> m Word32 Source #
setTextAppearanceDrawBg :: MonadIO m => TextAppearance -> Word32 -> m () Source #
textAppearance_drawBg :: AttrLabelProxy "drawBg" Source #
fgColor
getTextAppearanceFgColor :: MonadIO m => TextAppearance -> m Color Source #
textAppearance_fgColor :: AttrLabelProxy "fgColor" Source #
insideSelection
getTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> m Word32 Source #
setTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> Word32 -> m () Source #
textAppearance_insideSelection :: AttrLabelProxy "insideSelection" Source #
isText
getTextAppearanceIsText :: MonadIO m => TextAppearance -> m Word32 Source #
setTextAppearanceIsText :: MonadIO m => TextAppearance -> Word32 -> m () Source #
textAppearance_isText :: AttrLabelProxy "isText" Source #
rise
getTextAppearanceRise :: MonadIO m => TextAppearance -> m Int32 Source #
setTextAppearanceRise :: MonadIO m => TextAppearance -> Int32 -> m () Source #
textAppearance_rise :: AttrLabelProxy "rise" Source #
strikethrough
getTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> m Word32 Source #
setTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> Word32 -> m () Source #
textAppearance_strikethrough :: AttrLabelProxy "strikethrough" Source #
underline
getTextAppearanceUnderline :: MonadIO m => TextAppearance -> m Word32 Source #
setTextAppearanceUnderline :: MonadIO m => TextAppearance -> Word32 -> m () Source #
textAppearance_underline :: AttrLabelProxy "underline" Source #