Method

IpuzCellset_style

Declaration [src]

void
ipuz_cell_set_style (
  IpuzCell* cell,
  IpuzStyle* style,
  const gchar* style_name
)

Description [src]

Sets the style for a given cell. As a convenience, it’s possible to set the style_name at the same time when style is a named style.

Note

style_name is used to refer to a named style within the puzzle. No correctness checking is done on style_name: It’s up to the caller to make sure that it’s correct and style is a named style within the puzzle.

Parameters

style

Type: IpuzStyle

An IpuzStyle

The data is owned by the caller of the method.
style_name

Type: const gchar*

The name of the style, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.