Method
IpuzGuessesset_stride_guess
Declaration [src]
void
ipuz_guesses_set_stride_guess (
IpuzGuesses* guesses,
IpuzClueDirection direction,
guint index,
const gchar* data
)
Description [src]
Sets a data string to be associated to a certain row or column. The
interpretation of this string is left up to the application. For example,
nonograms can encode the user’s annotations about their progress with the
solution and put it in this string.
You can pass NULL for data if you wish to clear an entry that has already
been set.
Parameters
direction-
Type:
IpuzClueDirectionIPUZ_CLUE_DIRECTION_ACROSS or IPUZ_CLUE_DIRECTION_DOWN.
index-
Type:
guintIndex of the row (IPUZ_CLUE_DIRECTION_ACROSS) or column (IPUZ_CLUE_DIRECTION_DOWN) with which to associate the data.
data-
Type:
const gchar*String that will be associated to the row or column.
The argument can be NULL.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.