| 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.Structs.TextAppearance
Description
- newtype TextAppearance = TextAppearance (ForeignPtr TextAppearance)
- newZeroTextAppearance :: MonadIO m => m TextAppearance
- noTextAppearance :: Maybe TextAppearance
- clearTextAppearanceBgColor :: MonadIO m => TextAppearance -> m ()
- getTextAppearanceBgColor :: MonadIO m => TextAppearance -> m (Maybe Color)
- setTextAppearanceBgColor :: MonadIO m => TextAppearance -> Ptr Color -> m ()
- textAppearanceBgColor :: AttrLabelProxy "bgColor"
- getTextAppearanceDrawBg :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceDrawBg :: MonadIO m => TextAppearance -> Word32 -> m ()
- textAppearanceDrawBg :: AttrLabelProxy "drawBg"
- clearTextAppearanceFgColor :: MonadIO m => TextAppearance -> m ()
- getTextAppearanceFgColor :: MonadIO m => TextAppearance -> m (Maybe Color)
- setTextAppearanceFgColor :: MonadIO m => TextAppearance -> Ptr Color -> m ()
- textAppearanceFgColor :: AttrLabelProxy "fgColor"
- getTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> Word32 -> m ()
- textAppearanceInsideSelection :: AttrLabelProxy "insideSelection"
- getTextAppearanceIsText :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceIsText :: MonadIO m => TextAppearance -> Word32 -> m ()
- textAppearanceIsText :: AttrLabelProxy "isText"
- getTextAppearanceRise :: MonadIO m => TextAppearance -> m Int32
- setTextAppearanceRise :: MonadIO m => TextAppearance -> Int32 -> m ()
- textAppearanceRise :: AttrLabelProxy "rise"
- getTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> Word32 -> m ()
- textAppearanceStrikethrough :: AttrLabelProxy "strikethrough"
- getTextAppearanceUnderline :: MonadIO m => TextAppearance -> m Word32
- setTextAppearanceUnderline :: MonadIO m => TextAppearance -> Word32 -> m ()
- textAppearanceUnderline :: AttrLabelProxy "underline"
Exported types
newtype TextAppearance Source #
Constructors
| TextAppearance (ForeignPtr TextAppearance) |
Instances
| 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
clearTextAppearanceBgColor :: MonadIO m => TextAppearance -> m () Source #
getTextAppearanceBgColor :: MonadIO m => TextAppearance -> m (Maybe Color) Source #
setTextAppearanceBgColor :: MonadIO m => TextAppearance -> Ptr Color -> m () Source #
textAppearanceBgColor :: AttrLabelProxy "bgColor" Source #
DrawBg
getTextAppearanceDrawBg :: MonadIO m => TextAppearance -> m Word32 Source #
setTextAppearanceDrawBg :: MonadIO m => TextAppearance -> Word32 -> m () Source #
textAppearanceDrawBg :: AttrLabelProxy "drawBg" Source #
FgColor
clearTextAppearanceFgColor :: MonadIO m => TextAppearance -> m () Source #
getTextAppearanceFgColor :: MonadIO m => TextAppearance -> m (Maybe Color) Source #
setTextAppearanceFgColor :: MonadIO m => TextAppearance -> Ptr Color -> m () Source #
textAppearanceFgColor :: AttrLabelProxy "fgColor" Source #
InsideSelection
getTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> m Word32 Source #
setTextAppearanceInsideSelection :: MonadIO m => TextAppearance -> Word32 -> m () Source #
textAppearanceInsideSelection :: AttrLabelProxy "insideSelection" Source #
IsText
getTextAppearanceIsText :: MonadIO m => TextAppearance -> m Word32 Source #
setTextAppearanceIsText :: MonadIO m => TextAppearance -> Word32 -> m () Source #
textAppearanceIsText :: AttrLabelProxy "isText" Source #
Rise
getTextAppearanceRise :: MonadIO m => TextAppearance -> m Int32 Source #
setTextAppearanceRise :: MonadIO m => TextAppearance -> Int32 -> m () Source #
textAppearanceRise :: AttrLabelProxy "rise" Source #
Strikethrough
getTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> m Word32 Source #
setTextAppearanceStrikethrough :: MonadIO m => TextAppearance -> Word32 -> m () Source #
textAppearanceStrikethrough :: AttrLabelProxy "strikethrough" Source #
Underline
getTextAppearanceUnderline :: MonadIO m => TextAppearance -> m Word32 Source #
setTextAppearanceUnderline :: MonadIO m => TextAppearance -> Word32 -> m () Source #
textAppearanceUnderline :: AttrLabelProxy "underline" Source #