Checkbox.
o_par parentBox
ltext caption (button-text)
state: 0=FALSE: not checked; 1=TRUE: checked.
funcnam callbackfunktion for the select/deselect-event
data get this (static) data from the callbackfunktion; NULL for none
opts options; (HorSiz,VertSiz)
HorSiz,VertSiz: size in characters; default is automatic size.
'e' = expand widget; default is fixed size.
Examples: "" or "10" or "10e,e"
"10e,e" horiz. size 10 chars, hor. and vert. expandable.
funcnam prototyp:
int funcnam (
MemObj *mo,
void **data);
---------------------------
Example without callback:
int istate;
---------------------------
Example with callback:
int f_ckButt_CB, (
MemObj *parent,
void **data) {
printf("f_ckbutt disactivate\n");
..
L_activate:
..
}
---------------------------
Optional:
activate with:
Checkbox.
o_par parentBox
ltext caption (button-text)
state: 0=FALSE: not checked; 1=TRUE: checked.
funcnam callbackfunktion for the select/deselect-event
data get this (static) data from the callbackfunktion; NULL for none
opts options; (HorSiz,VertSiz)
HorSiz,VertSiz: size in characters; default is automatic size.
'e' = expand widget; default is fixed size.
Examples: "" or "10" or "10e,e"
"10e,e" horiz. size 10 chars, hor. and vert. expandable.
funcnam prototyp:
int funcnam (
MemObj *mo,
void **data);
---------------------------
Example without callback:
int istate;
---------------------------
Example with callback:
int f_ckButt_CB, (
MemObj *parent,
void **data) {
printf("f_ckbutt disactivate\n");
..
L_activate:
..
}
---------------------------
Optional:
activate with: