Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. fontDescriptionUnsetFields :: FontDescription -> [FontMask] -> IO ()

    pango Graphics.Rendering.Pango.Font

    Reset fields in a font description.

  2. layoutResetTabs :: PangoLayout -> IO ()

    pango Graphics.Rendering.Pango.Layout

    Reset the original set of Tab positions.

    • Restore the default which is a Tab stop every eight characters.

  3. layoutSetAlignment :: PangoLayout -> LayoutAlignment -> IO ()

    pango Graphics.Rendering.Pango.Layout

    Set how this paragraph is aligned.

    • Sets the alignment for the layout (how partial lines are positioned within the horizontal space available.)

  4. layoutSetAttributes :: PangoLayout -> [PangoAttribute] -> IO ()

    pango Graphics.Rendering.Pango.Layout

    Set text attributes of the text in the layout.

    • This function replaces any text attributes that this layout contained, even those that were set by using layoutSetMarkup.

  5. layoutSetAutoDir :: PangoLayout -> Bool -> IO ()

    pango Graphics.Rendering.Pango.Layout

    Set if the base text direction should be overridden.

    • Sets whether to calculate the bidirectional base direction for the layout according to the contents of the layout; when this flag is on (the default), then paragraphs in layout that begin with strong right-to-left characters (Arabic and Hebrew principally), will have right-to-left layout, paragraphs with letters from other scripts will have left-to-right layout. Paragraphs with only neutral characters get their direction from the surrounding paragraphs.
    • When False, the choice between left-to-right and right-to-left layout is done by according to the base direction of the layout's PangoContext. (See contextSetTextDir).
    • When the auto-computed direction or a paragraph differs from the base direction of the context, then the interpretation of AlignLeft and AlignRight are swapped.

  6. layoutSetEllipsize :: PangoLayout -> EllipsizeMode -> IO ()

    pango Graphics.Rendering.Pango.Layout

    Set how long lines should be abbreviated.

  7. layoutSetFontDescription :: PangoLayout -> Maybe FontDescription -> IO ()

    pango Graphics.Rendering.Pango.Layout

    Set a specific font description for this layout.

    • Specifying Nothing will unset the current font description, that is, the PangoLayout will use the font description in the current PangoContext.

  8. layoutSetIndent :: PangoLayout -> Double -> IO ()

    pango Graphics.Rendering.Pango.Layout

    Set the indentation of this paragraph.

    • Sets the amount by which the first line should be indented. A negative value will produce a hanging indent, that is, all subsequent lines will be indented while the first line has full width.

  9. layoutSetJustify :: PangoLayout -> Bool -> IO ()

    pango Graphics.Rendering.Pango.Layout

    Set if text should be stretched to fit width.

    • Sets whether or not each complete line should be stretched to fill the entire width of the layout. This stretching is typically done by adding whitespace, but for some scripts (such as Arabic), the justification is done by extending the characters.
    • Note that as of Pango 1.4, this functionality is not yet implemented.

  10. layoutSetMarkup :: (GlibString markup, GlibString string) => PangoLayout -> markup -> IO string

    pango Graphics.Rendering.Pango.Layout

    Set the text of the layout, including attributes. The string may include Markup. To print markup characters like '<', or '-', apply escapeMarkup to the string first. The function returns the text that is actually shown.

Page 1420 of many | Previous | Next