Method

IpuzBarredset_cell_bars

Declaration [src]

gboolean
ipuz_barred_set_cell_bars (
  IpuzBarred* self,
  const IpuzCellCoord* coord,
  IpuzStyleSides sides
)

Description [src]

Sets the cell at coord to have bars as determined by sides. Note that if sides contains IPUZ_STYLE_SIDES_RIGHT, then this will be implemented by setting the left side of the cell to the right of coord. A similar pattern occurs when sides contains IPUZ_STYLE_SIDES_BOTTOM.

Returns TRUE if the the cell at coord has new sides.

Parameters

coord

Type: IpuzCellCoord

Coordinate of the cell to change.

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

Type: IpuzStyleSides

The location of the bars to be set. May contain multiple values ORed together.

Return value

Type: gboolean

TRUE, if the cell at coord has new sides.