]> git.ipfire.org Git - thirdparty/newt.git/blobdiff - newt.h
added newtCheckboxTreeSetCurrent() and snack binding
[thirdparty/newt.git] / newt.h
diff --git a/newt.h b/newt.h
index 58ad90a5c88ffd04384f191357f0c04a926b1a9a..afa972bd273279561b195e73dab171b4a866c339 100644 (file)
--- a/newt.h
+++ b/newt.h
@@ -178,6 +178,7 @@ newtComponent newtCheckboxTree(int left, int top, int height, int flags);
 newtComponent newtCheckboxTreeMulti(int left, int top, int height, char *seq, int flags);
 const void ** newtCheckboxTreeGetSelection(newtComponent co, int *numitems);
 const void * newtCheckboxTreeGetCurrent(newtComponent co);
+void newtCheckboxTreeSetCurrent(newtComponent co, void * item);
 const void ** newtCheckboxTreeGetMultiSelection(newtComponent co, int *numitems, char seqnum);
 /* last item is NEWT_ARG_LAST for all of these */
 int newtCheckboxTreeAddItem(newtComponent co,