GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Pango
  • gi-docgen

This view

  • Original page
  • New address

GeezerVison is showing docs.gtk.org — Pango.parse_style

Declaration [src]

gboolean
pango_parse_style (
  const char* str,
  PangoStyle* style,
  gboolean warn
)

Description [src]

Parses a font style.

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

Parameters

str

Type: const char*

A string to parse.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
style

Type: PangoStyle

A PangoStyle to store the result in.

The argument will be set by the function.
The caller of the function takes ownership of the returned data, and is responsible for freeing it.
warn

Type: gboolean

If TRUE, issue a g_warning() on bad input.

Return value

Type: gboolean

TRUE if str was successfully parsed.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.