Method

IpuzPuzzleget_puzzle_kind

Declaration [src]

IpuzPuzzleKind
ipuz_puzzle_get_puzzle_kind (
  IpuzPuzzle* self
)

Description [src]

Returns the type of puzzle that self is.

This can be more useful than the GType of the puzzle for switch statements or other conditionals.

Note: This only returns the more specific type. So a cryptic crossword will return IPUZ_PUZZLE_CRYPTIC, and not IPUZ_PUZZLE_CROSSWORD.

Return value

Type: IpuzPuzzleKind

The kind type of the puzzle.