SET_BRANCH_AS_GROUP_BOX

 

Name

SET_BRANCH_AS_GROUP_BOX

Declaration

#define SET_BRANCH_AS_GROUP_BOX(_GROUP_LABEL)                     _tmpSubNode.SetAttribute(STR_BRANCH_GROUPBOX_ATTRIBUTES, _GROUP_LABEL);

Remark

set the branch as a group box.

Parameters

_GROUP_LABEL
[input] The label of this group branch.

Return

Examples

EX1

void SET_BRANCH_AS_GROUP_BOX_Ex1()
{
    GETN_TREE(tr)
    GETN_BEGIN_BRANCH(show, _L("Show"))
        SET_BRANCH_AS_GROUP_BOX(_L("group"))
        GETN_CHECK(diffcurve, _L("Baseline-Subtracted Curve"), 0)                                    
        GETN_LIST(integcurve, _L("Integral Curve"), 0,  _L("None|Restrict to Rectangle|True Value"))                                            
    GETN_END_BRANCH(show)
    if(GetNBox(tr))
        out_tree(tr);
}

header to Included

GetNBox.h

Reference