Function

Pangoparse_enum

deprecated: 1.38 since: 1.16

Declaration

gboolean
pango_parse_enum (
  GType type,
  const char* str,
  int* value,
  gboolean warn,
  char** possible_values
)

Description

No description available.

Available since: 1.16

Deprecated since: 1.38

Please do not use it in newly written code.

Parameters

type

Type: GType

No description available.

str

Type: const char*

No description available.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
value

Type: int*

No description available.

The argument will be set by the function.
The argument can be NULL.
warn

Type: gboolean

No description available.

possible_values

Type: char**

No description available.

The argument will be set by the function.
The argument can be NULL.
The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

No description available.