Lines Matching refs:stdscr
33 def window_funcs(stdscr):
39 for meth in [stdscr.addch, stdscr.addstr]:
44 for meth in [stdscr.box, stdscr.clear, stdscr.clrtobot,
45 stdscr.clrtoeol, stdscr.cursyncup, stdscr.delch,
46 stdscr.deleteln, stdscr.erase, stdscr.getbegyx,
47 stdscr.getbkgd, stdscr.getkey, stdscr.getmaxyx,
48 stdscr.getparyx, stdscr.getyx, stdscr.inch,
49 stdscr.insertln, stdscr.instr, stdscr.is_wintouched,
50 win.noutrefresh, stdscr.redrawwin, stdscr.refresh,
51 stdscr.standout, stdscr.standend, stdscr.syncdown,
52 stdscr.syncup, stdscr.touchwin, stdscr.untouchwin]:
55 stdscr.addnstr('1234', 3)
56 stdscr.addnstr('1234', 3, curses.A_BOLD)
57 stdscr.addnstr(4,4, '1234', 3)
58 stdscr.addnstr(5,5, '1234', 3, curses.A_BOLD)
60 stdscr.attron(curses.A_BOLD)
61 stdscr.attroff(curses.A_BOLD)
62 stdscr.attrset(curses.A_BOLD)
63 stdscr.bkgd(' ')
64 stdscr.bkgd(' ', curses.A_REVERSE)
65 stdscr.bkgdset(' ')
66 stdscr.bkgdset(' ', curses.A_REVERSE)
80 stdscr.clearok(1)
82 win4 = stdscr.derwin(2,2)
83 win4 = stdscr.derwin(1,1, 5,5)
86 stdscr.echochar('a')
87 stdscr.echochar('a', curses.A_BOLD)
88 stdscr.hline('-', 5)
89 stdscr.hline('-', 5, curses.A_BOLD)
90 stdscr.hline(1,1,'-', 5)
91 stdscr.hline(1,1,'-', 5, curses.A_BOLD)
93 stdscr.idcok(1)
94 stdscr.idlok(1)
95 stdscr.immedok(1)
96 stdscr.insch('c')
97 stdscr.insdelln(1)
98 stdscr.insnstr('abc', 3)
99 stdscr.insnstr('abc', 3, curses.A_BOLD)
100 stdscr.insnstr(5, 5, 'abc', 3)
101 stdscr.insnstr(5, 5, 'abc', 3, curses.A_BOLD)
103 stdscr.insstr('def')
104 stdscr.insstr('def', curses.A_BOLD)
105 stdscr.insstr(5, 5, 'def')
106 stdscr.insstr(5, 5, 'def', curses.A_BOLD)
107 stdscr.is_linetouched(0)
108 stdscr.keypad(1)
109 stdscr.leaveok(1)
110 stdscr.move(3,3)
112 stdscr.nodelay(1)
113 stdscr.notimeout(1)
118 stdscr.redrawln(1,2)
120 stdscr.scrollok(1)
121 stdscr.scroll()
122 stdscr.scroll(2)
123 stdscr.scroll(-3)
125 stdscr.move(12, 2)
126 stdscr.setscrreg(10,15)
127 win3 = stdscr.subwin(10,10)
128 win3 = stdscr.subwin(10,10, 5,5)
129 stdscr.syncok(1)
130 stdscr.timeout(5)
131 stdscr.touchline(5,5)
132 stdscr.touchline(5,5,0)
133 stdscr.vline('a', 3)
134 stdscr.vline('a', 3, curses.A_STANDOUT)
135 stdscr.chgat(5, 2, 3, curses.A_BLINK)
136 stdscr.chgat(3, curses.A_BOLD)
137 stdscr.chgat(5, 8, curses.A_UNDERLINE)
138 stdscr.chgat(curses.A_BLINK)
139 stdscr.refresh()
141 stdscr.vline(1,1, 'a', 3)
142 stdscr.vline(1,1, 'a', 3, curses.A_STANDOUT)
145 stdscr.resize()
147 stdscr.enclose()
150 def module_funcs(stdscr):
176 stdscr.putwin(f)
230 curses.is_term_resized(*stdscr.getmaxyx())
232 curses.resizeterm(*stdscr.getmaxyx())
234 curses.resize_term(*stdscr.getmaxyx())
248 def test_userptr_without_set(stdscr):
258 def test_resize_term(stdscr):
266 def test_issue6243(stdscr):
268 stdscr.getkey()
270 def main(stdscr):
273 module_funcs(stdscr)
274 window_funcs(stdscr)
275 test_userptr_without_set(stdscr)
276 test_resize_term(stdscr)
277 test_issue6243(stdscr)
291 stdscr = curses.initscr()
292 main(stdscr)