EZ_SetTreeWidgetRowBg(3) EZWGL Functions EZ_SetTreeWidgetRowBg(3)NAMEEZ_SetTreeWidgetRowBg - set the alternating background colors for a
tree widget
SYNOPSIS
#include <EZ.h>
void EZ_SetTreeWidgetRowBg( EZ_Widget *tree, int onoff,
char *color1, char *color2)
ARGUMENTS
tree Specifies a list tree widget.
onoff Specifies a boolean value.
color1 Specify a color or nil.
color2 Specify a color or nil.
DESCRIPTIONEZ_SetTreeWidgetRowBg turns on/off the alternating background mode. If
turns on, neighboring nodes will be displayed using the alternating
colors supplied. Item background color takes precedence over the back‐
ground colors specified by this function. I.e., if the background color
of a tree node (item) is set, that color will be used to render the
background of the tree node.
SEE ALSOEZ_GetListTreeWidgetSelection(3)EZWGLEZ_SetTreeWidgetRowBg(3)