2.4.10 PAPPLY_FUNC


Name

PAPPLY_FUNC

Declaration

typedef bool (* PAPPLY_FUNC)(TreeNode& tr)

Examples

EX1

#include <GetNbox.h>

void PAPPLY_FUNC_ex1()
{
    GETN_TREE( treeTest );
    GetNBox(treeTest, "Test Apply Button", "Test...", test_apply, NULL)
}
bool test_apply(TreeNode& myTree)
{
    printf("Apply pressed");
    return true;
}

Remark

The function pointer of the GetNBox dialog's apply button.

Header to Include

GetNbox.h

Reference