mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
12 lines
431 B
Python
12 lines
431 B
Python
from _curses import _CursesWindow
|
|
from typing import Callable
|
|
|
|
def rectangle(win: _CursesWindow, uly: int, ulx: int, lry: int, lrx: int) -> None: ...
|
|
|
|
class Textbox:
|
|
stripspaces: bool
|
|
def __init__(self, win: _CursesWindow, insert_mode: bool = ...) -> None: ...
|
|
def edit(self, validate: Callable[[int], int] | None = ...) -> str: ...
|
|
def do_command(self, ch: str | int) -> None: ...
|
|
def gather(self) -> str: ...
|