Lines Matching +full:2 +full:- +full:win
11 def wGetchar(win = None): argument
12 if win is None: win = stdscr
13 return win.getch()
28 stdscr.move(curses.LINES - 1, 0)
33 win = curses.newwin(rows, cols, tly, tlx)
34 pan = panel.new_panel(win)
42 win.bkgdset(ord(' '), curses.color_pair(color))
44 win.bkgdset(ord(' '), curses.A_BOLD)
53 win = pan.window()
56 win.move(1, 1)
57 win.addstr("-pan%c-" % num)
58 win.clrtoeol()
59 win.box()
61 maxy, maxx = win.getmaxyx()
62 for y in range(2, maxy - 1):
63 for x in range(1, maxx - 1):
64 win.move(y, x)
65 win.addch(num)
67 def demo_panels(win): argument
69 stdscr = win
71 mod = ["test", "TEST", "(**)", "*()*", "<-->", "LAST"]
75 for y in range(0, curses.LINES - 1):
80 curses.LINES // 2 - 2,
87 curses.LINES // 2 + 1,
96 curses.LINES // 2,
101 curses.LINES // 2 - 2,
103 curses.LINES // 2 - 2,
108 curses.LINES // 2 - 2,
110 curses.LINES // 2,
111 curses.COLS // 2 - 2)
216 p5.move(curses.LINES // 3 - 1, itmp * 10 + 6)