269
269
newtFormSetTimer(form, 200);
271
271
rootOptions = newtListbox(2, 1, y - 15, 0);
273
273
newtFormAddComponent(form, rootOptions);
274
274
newtComponentAddCallback(rootOptions, root_menu_callback, NULL);
276
subOptions = newtListbox(33, 1, y - 15, NEWT_FLAG_SCROLL | NEWT_FLAG_RETURNEXIT);
276
subOptions = newtListbox(38, 1, y - 15, NEWT_FLAG_SCROLL | NEWT_FLAG_RETURNEXIT);
278
278
newtFormAddComponent(form, subOptions);
279
279
newtComponentAddCallback(subOptions, category_menu_callback, NULL);