Virtual Method

IpuzCluesfind_clue_by_number

Declaration [src]

IpuzClue*
find_clue_by_number (
  IpuzClues* clues,
  IpuzClueDirection direction,
  gint number
)

Description [src]

Searches for and returns the clue with direction and number.

This is different from the IpuzClueId which uses the index to refer to a clue. As an example the clue 2dn could be have a clue id with an index of 0.

Parameters

direction

Type: IpuzClueDirection

The direction to search.

number

Type: gint

The number to look for.

Return value

Type: IpuzClue

The clue with direction and number, or NULL.

The returned data is owned by the instance.
The return value can be NULL.