Function

IpuzPuzzleForeachStyleFunc

Declaration

void
(* IpuzPuzzleForeachStyleFunc) (
  IpuzPuzzle* puzzle,
  IpuzStyle* style,
  const gchar* style_name,
  gpointer user_data
)

Description [src]

The function to be passed to ipuz_puzzle_foreach_style().

It will iterate through all the global styles within self.

Parameters

puzzle

Type: IpuzPuzzle

The IpuzPuzzle being iterated through.

The data is owned by the caller of the function.
style

Type: IpuzStyle

The next IpuzStyle in puzzle.

The data is owned by the caller of the function.
style_name

Type: const gchar*

The name of style.

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

Type: gpointer

Data passed to the function.

The argument can be NULL.
The data is owned by the caller of the function.