Interface

IpuzClues

Description

interface Ipuz.Clues : Ipuz.Puzzle
No description available.

Prerequisite

In order to implement Clues, your type must inherit fromIpuzPuzzle.

Instance methods

ipuz_clues_clue_guessed
No description available.

ipuz_clues_clue_set_get_dir
No description available.

ipuz_clues_clue_set_get_label
No description available.

ipuz_clues_find_clue_by_coord
No description available.

ipuz_clues_find_clue_by_label
No description available.

ipuz_clues_find_clue_by_number
No description available.

ipuz_clues_foreach_clue

Calls func for each IpuzClue in self.

ipuz_clues_get_clue_by_id
No description available.

ipuz_clues_get_clue_string_by_id

Returns a string containing the solution of the puzzle for a given clue. This string will have ‘?’ characters embedded within it if there are cells without solutions set yet.

ipuz_clues_get_clues

Returns an array of all clues in the direction of direction.

ipuz_clues_get_guess_string_by_id

Returns a string containing the guess in the puzzle for a given clue. This string will have ‘?’ characters embedded within it if there are cells not completely filled out.

ipuz_clues_get_id_by_clue

Finds the IpuzClueId of clue within self.

ipuz_clues_get_n_clue_sets
No description available.

ipuz_clues_get_n_clues
No description available.

ipuz_clues_unlink_clue
No description available.

Interface structure

struct IpuzCluesInterface {
  GTypeInterface g_iface;
  guint (* get_n_clue_sets) (
    IpuzClues* self
  );
  IpuzClueDirection (* clue_set_get_dir) (
    IpuzClues* self,
    guint index
  );
  const gchar* (* clue_set_get_label) (
    IpuzClues* self,
    IpuzClueDirection direction
  );
  GArray* (* get_clues) (
    IpuzClues* self,
    IpuzClueDirection direction
  );
  void (* foreach_clue) (
    IpuzClues* self,
    IpuzCluesForeachClueFunc func,
    gpointer user_data
  );
  guint (* get_n_clues) (
    IpuzClues* self,
    IpuzClueDirection direction
  );
  IpuzClue* (* get_clue_by_id) (
    IpuzClues* self,
    IpuzClueId* clue_id
  );
  void (* unlink_clue) (
    IpuzClues* self,
    IpuzClue* clue
  );
  gboolean (* get_id_by_clue) (
    IpuzClues* self,
    const IpuzClue* clue,
    IpuzClueId* clue_id
  );
  gchar* (* get_clue_string_by_id) (
    IpuzClues* self,
    IpuzClueId* clue_id
  );
  gchar* (* get_guess_string_by_id) (
    IpuzClues* self,
    IpuzClueId* clue_id
  );
  gboolean (* clue_guessed) (
    IpuzClues* self,
    IpuzClue* clue,
    gboolean* correct
  );
  IpuzClue* (* find_clue_by_number) (
    IpuzClues* self,
    IpuzClueDirection direction,
    gint number
  );
  IpuzClue* (* find_clue_by_label) (
    IpuzClues* self,
    IpuzClueDirection direction,
    const char* label
  );
  IpuzClue* (* find_clue_by_coord) (
    IpuzClues* self,
    IpuzClueDirection direction,
    const IpuzCellCoord* coord
  );
  
}
No description available.
Interface members
g_iface
GTypeInterface
 No description available.
get_n_clue_sets
guint (* get_n_clue_sets) (
    IpuzClues* self
  )
 No description available.
clue_set_get_dir
IpuzClueDirection (* clue_set_get_dir) (
    IpuzClues* self,
    guint index
  )
 No description available.
clue_set_get_label
const gchar* (* clue_set_get_label) (
    IpuzClues* self,
    IpuzClueDirection direction
  )
 No description available.
get_clues
GArray* (* get_clues) (
    IpuzClues* self,
    IpuzClueDirection direction
  )
 No description available.
foreach_clue
void (* foreach_clue) (
    IpuzClues* self,
    IpuzCluesForeachClueFunc func,
    gpointer user_data
  )
 No description available.
get_n_clues
guint (* get_n_clues) (
    IpuzClues* self,
    IpuzClueDirection direction
  )
 No description available.
get_clue_by_id
IpuzClue* (* get_clue_by_id) (
    IpuzClues* self,
    IpuzClueId* clue_id
  )
 No description available.
unlink_clue
void (* unlink_clue) (
    IpuzClues* self,
    IpuzClue* clue
  )
 No description available.
get_id_by_clue
gboolean (* get_id_by_clue) (
    IpuzClues* self,
    const IpuzClue* clue,
    IpuzClueId* clue_id
  )
 No description available.
get_clue_string_by_id
gchar* (* get_clue_string_by_id) (
    IpuzClues* self,
    IpuzClueId* clue_id
  )
 No description available.
get_guess_string_by_id
gchar* (* get_guess_string_by_id) (
    IpuzClues* self,
    IpuzClueId* clue_id
  )
 No description available.
clue_guessed
gboolean (* clue_guessed) (
    IpuzClues* self,
    IpuzClue* clue,
    gboolean* correct
  )
 No description available.
find_clue_by_number
IpuzClue* (* find_clue_by_number) (
    IpuzClues* self,
    IpuzClueDirection direction,
    gint number
  )
 No description available.
find_clue_by_label
IpuzClue* (* find_clue_by_label) (
    IpuzClues* self,
    IpuzClueDirection direction,
    const char* label
  )
 No description available.
find_clue_by_coord
IpuzClue* (* find_clue_by_coord) (
    IpuzClues* self,
    IpuzClueDirection direction,
    const IpuzCellCoord* coord
  )
 No description available.

Virtual methods

Ipuz.Clues.clue_guessed
No description available.

Ipuz.Clues.clue_set_get_dir
No description available.

Ipuz.Clues.clue_set_get_label
No description available.

Ipuz.Clues.find_clue_by_coord
No description available.

Ipuz.Clues.find_clue_by_label
No description available.

Ipuz.Clues.find_clue_by_number
No description available.

Ipuz.Clues.foreach_clue

Calls func for each IpuzClue in self.

Ipuz.Clues.get_clue_by_id
No description available.

Ipuz.Clues.get_clue_string_by_id

Returns a string containing the solution of the puzzle for a given clue. This string will have ‘?’ characters embedded within it if there are cells without solutions set yet.

Ipuz.Clues.get_clues

Returns an array of all clues in the direction of direction.

Ipuz.Clues.get_guess_string_by_id

Returns a string containing the guess in the puzzle for a given clue. This string will have ‘?’ characters embedded within it if there are cells not completely filled out.

Ipuz.Clues.get_id_by_clue

Finds the IpuzClueId of clue within self.

Ipuz.Clues.get_n_clue_sets
No description available.

Ipuz.Clues.get_n_clues
No description available.

No description available.