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 |
Using #GtkTextAttributes directly should rarely be necessary. It’s primarily useful with gtk_text_iter_get_attributes(). As with most GTK+ structs, the fields in this struct should only be read, never modified directly.
- newtype TextAttributes = TextAttributes (ForeignPtr TextAttributes)
- newZeroTextAttributes :: MonadIO m => m TextAttributes
- noTextAttributes :: Maybe TextAttributes
- data TextAttributesCopyMethodInfo
- textAttributesCopy :: MonadIO m => TextAttributes -> m TextAttributes
- data TextAttributesCopyValuesMethodInfo
- textAttributesCopyValues :: MonadIO m => TextAttributes -> TextAttributes -> m ()
- textAttributesNew :: MonadIO m => m TextAttributes
- data TextAttributesRefMethodInfo
- textAttributesRef :: MonadIO m => TextAttributes -> m TextAttributes
- data TextAttributesUnrefMethodInfo
- textAttributesUnref :: MonadIO m => TextAttributes -> m ()
- textAttributesReadAppearance :: TextAttributes -> IO TextAppearance
- textAttributesReadBgFullHeight :: TextAttributes -> IO Word32
- textAttributesReadDirection :: TextAttributes -> IO TextDirection
- textAttributesReadEditable :: TextAttributes -> IO Word32
- textAttributesReadFont :: TextAttributes -> IO FontDescription
- textAttributesReadFontScale :: TextAttributes -> IO Double
- textAttributesReadIndent :: TextAttributes -> IO Int32
- textAttributesReadInvisible :: TextAttributes -> IO Word32
- textAttributesReadJustification :: TextAttributes -> IO Justification
- textAttributesReadLanguage :: TextAttributes -> IO Language
- textAttributesReadLeftMargin :: TextAttributes -> IO Int32
- textAttributesReadLetterSpacing :: TextAttributes -> IO Int32
- textAttributesReadNoFallback :: TextAttributes -> IO Word32
- textAttributesReadPixelsAboveLines :: TextAttributes -> IO Int32
- textAttributesReadPixelsBelowLines :: TextAttributes -> IO Int32
- textAttributesReadPixelsInsideWrap :: TextAttributes -> IO Int32
- textAttributesReadRightMargin :: TextAttributes -> IO Int32
- textAttributesReadTabs :: TextAttributes -> IO TabArray
- textAttributesReadWrapMode :: TextAttributes -> IO WrapMode
Exported types
newtype TextAttributes Source
BoxedObject TextAttributes Source | |
((~) * info (ResolveTextAttributesMethod t TextAttributes), MethodInfo * info TextAttributes p) => IsLabel t (TextAttributes -> p) Source | |
((~) * info (ResolveTextAttributesMethod t TextAttributes), MethodInfo * info TextAttributes p) => IsLabelProxy t (TextAttributes -> p) Source | |
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesUnrefMethodInfo TextAttributes signature Source | |
((~) (TYPE Lifted) signature (m TextAttributes), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesRefMethodInfo TextAttributes signature Source | |
((~) (TYPE Lifted) signature (TextAttributes -> m ()), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesCopyValuesMethodInfo TextAttributes signature Source | |
((~) (TYPE Lifted) signature (m TextAttributes), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesCopyMethodInfo TextAttributes signature Source | |
newZeroTextAttributes :: MonadIO m => m TextAttributes Source
Construct a TextAttributes
struct initialized to zero.
Methods
textAttributesCopy
data TextAttributesCopyMethodInfo Source
((~) (TYPE Lifted) signature (m TextAttributes), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesCopyMethodInfo TextAttributes signature Source | |
textAttributesCopy :: MonadIO m => TextAttributes -> m TextAttributes Source
textAttributesCopyValues
data TextAttributesCopyValuesMethodInfo Source
((~) (TYPE Lifted) signature (TextAttributes -> m ()), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesCopyValuesMethodInfo TextAttributes signature Source | |
textAttributesCopyValues :: MonadIO m => TextAttributes -> TextAttributes -> m () Source
textAttributesNew
textAttributesNew :: MonadIO m => m TextAttributes Source
textAttributesRef
data TextAttributesRefMethodInfo Source
((~) (TYPE Lifted) signature (m TextAttributes), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesRefMethodInfo TextAttributes signature Source | |
textAttributesRef :: MonadIO m => TextAttributes -> m TextAttributes Source
textAttributesUnref
data TextAttributesUnrefMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m) => MethodInfo (TYPE Lifted) TextAttributesUnrefMethodInfo TextAttributes signature Source | |
textAttributesUnref :: MonadIO m => TextAttributes -> m () Source
Properties
Appearance
BgFullHeight
Direction
Editable
Font
textAttributesReadFont :: TextAttributes -> IO FontDescription Source
FontScale
Indent
Invisible
Justification
Language
textAttributesReadLanguage :: TextAttributes -> IO Language Source
LeftMargin
LetterSpacing
NoFallback
PixelsAboveLines
PixelsBelowLines
PixelsInsideWrap
RightMargin
Tabs
textAttributesReadTabs :: TextAttributes -> IO TabArray Source