Method

IpuzPuzzleget_style

Declaration [src]

IpuzStyle*
ipuz_puzzle_get_style (
  IpuzPuzzle* self,
  const gchar* style_name
)

Description [src]

Returns one of the puzzle’s styles by name.

Parameters

style_name

Type: const gchar*

Name of the style.

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

Return value

Type: IpuzStyle

The IpuzStyle named style_name.

The data is owned by the instance.