Function

Pango-1.0Pangoparse_style

  • Parses a font style.

    The allowed values are "normal", "italic" and "oblique", case variations being ignored.

    Parameters

    • str: string

      a string to parse.

    • warn: boolean

      if true, issue a g_warning() on bad input.

    Returns [boolean, Pango.Style]

    true if str was successfully parsed.