Format: application/octet-stream
⬇ Download File (457 B)
   1  from _curses import _CursesWindow
   2  from typing import Callable, Optional, Union
   3  
   4  def rectangle(win: _CursesWindow, uly: int, ulx: int, lry: int, lrx: int) -> None: ...
   5  
   6  class Textbox:
   7      stripspaces: bool
   8      def __init__(self, win: _CursesWindow, insert_mode: bool = ...) -> None: ...
   9      def edit(self, validate: Optional[Callable[[int], int]] = ...) -> str: ...
  10      def do_command(self, ch: Union[str, int]) -> None: ...
  11      def gather(self) -> str: ...
  12