File: newt_ex.sl

package info (click to toggle)
slang2 2.3.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,488 kB
  • sloc: ansic: 101,756; sh: 3,435; makefile: 1,046; pascal: 440
file content (14 lines) | stat: -rw-r--r-- 232 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import ("newt");

newtInit ();
%newtCls ();
newtDrawRootText (0, 0, "Root Text");
newtOpenWindow (3,4,20, 20, "First Window");
newtOpenWindow (8, 10,20, 20, "Second Window");

newtRefresh ();
sleep (5);
NewtFinished ();

exit (0);