VgaGames4

VgaGames4 - canvas man-pages

[.. upper level ..]

# vg4->canvas->chain_disable()

Disable or enable chain-item of a selection-chain.

SYNTAX
VG_BOOL vg4->canvas->chain_disable(struct VG_Canvas *cvas, const char *iname, const char *ename, VG_BOOL disable)
FUNCTION PARAMETERS

cvas | Canvas
iname | Name of selection-chain
ename | Name of chain-item to enable/disable
disable | VG_TRUE = disable, VG_FALSE = enable

RETURN VALUE
Returns whether it was previous disabled
DESCRIPTION
Disable or enable chain-item of a selection-chain. A disabled chain-item will not be shown and selectable. See section CV-CHAIN in vg4->canvas->load().
SEE ALSO
vg4->canvas->chain_clear() vg4->canvas->chain_add() vg4->canvas->chain_set_activated() vg4->canvas->chain_get_activated()