newtTextbox doesn't show Scrollbar!?
#include <newt.h>
#include <stdio.h>
int main(void) {
newtComponent form, text, button;
newtInit();
newtCls();
text = newtTextbox(0, 0, 30, 5, NEWT_FLAG_SCROLL | NEWT_FLAG_WRAP);
newtTextboxSet
button = newtButton(20, 5 + 2, "Ok");
newtOpenWindow(5, 5, 34,
12, "Test Texbox");
form = newtForm(NULL, NULL, 0);
newtFormAddCom
newtRunForm(form);
newtFormDestro
newtFinished();
return 0;
}
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu newt Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Constantine Savkov for more information if necessary.