PAPPLY_FUNC
typedef bool (* PAPPLY_FUNC)(TreeNode& tr)
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; }
The function pointer of the GetNBox dialog's apply button.
GetNbox.h