From: ewt Date: Tue, 28 Apr 1998 06:33:14 +0000 (+0000) Subject: added a getvalue call X-Git-Tag: r0-24~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2620a83492e5fe08586fc999b4032ff95d8fb75;p=thirdparty%2Fnewt.git added a getvalue call --- diff --git a/checkbox.c b/checkbox.c index bb2cb55..808f7c1 100644 --- a/checkbox.c +++ b/checkbox.c @@ -106,6 +106,12 @@ newtComponent newtRadioGetCurrent(newtComponent setMember) { return setMember; } +char newtCheckboxGetValue(newtComponent co) { + struct checkbox * cb = co->data; + + return cb->value; +} + newtComponent newtCheckbox(int left, int top, const char * text, char defValue, const char * seq, char * result) { newtComponent co;