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.

Note: style_name is used for a named style within the puzzle. No checking is done on style_name: It’s up to the caller to check that the name exists 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.