Method
IpuzCluesclue_set_next_direction
Declaration [src]
IpuzClueDirection
ipuz_clues_clue_set_next_direction (
IpuzClues* clues,
IpuzClueDirection direction,
gboolean wrap
)
Description [src]
Returns the next clue set visible in clues
after direction
.
For example, if called on a regular crossword with a direction
of
IPUZ_CLUE_DIRECTION_ACROSS
, this would return
IPUZ_CLUE_DIRECTION_DOWN
.
If wrap
is TRUE
then this will wrap around to the beginning when
at the last visible clue sets, otherwise it will return
IPUZ_CLUE_DIRECTION_NONE
.
Note that any clue sets of type IPUZ_CLUE_DIRECTION_HIDDEN
will be skipped by this function.
Parameters
direction
-
Type:
IpuzClueDirection
A direction.
wrap
-
Type:
gboolean
Whether to wrap around.
Return value
Type: IpuzClueDirection
The next direction logically in clues
, or
IPUZ_CLUE_DIRECTION_NONE
.