Debian Codegraph @

stubs/tabview/tabview.pyi

raw symbols SCIP
1 import io
2
3 from typing import Any
4
5 basestring = str
6 file = io.FileIO
7
8 def KEY_CTRL(key): ...
9 def addstr(*args): ...
10 def insstr(*args): ...
11
12 class ReloadException(Exception):
13 start_pos: Any
14 column_width_mode: Any
15 column_gap: Any
16 column_widths: Any
17 search_str: Any
18 def __init__(
19 self, start_pos, column_width, column_gap, column_widths, search_str
20 ) -> None: ...
21
22 class QuitException(Exception): ...
23
24 class Viewer:
25 scr: Any
26 data: Any
27 info: Any
28 header_offset_orig: int
29 header: Any
30 header_offset: Any
31 num_data_columns: Any
32 column_width_mode: Any
33 column_gap: Any
34 trunc_char: Any
35 num_columns: int
36 vis_columns: int
37 init_search: Any
38 modifier: Any
39 def __init__(self, *args, **kwargs) -> None: ...
40 def column_xw(self, x): ...
41 def quit(self) -> None: ...
42 def reload(self) -> None: ...
43 def consume_modifier(self, default: int = ...): ...
44 def down(self) -> None: ...
45 def up(self) -> None: ...
46 def left(self) -> None: ...
47 def right(self) -> None: ...
48 y: Any
49 win_y: Any
50 def page_down(self) -> None: ...
51 def page_up(self) -> None: ...
52 x: Any
53 win_x: Any
54 def page_right(self) -> None: ...
55 def page_left(self) -> None: ...
56 def mark(self) -> None: ...
57 def goto_mark(self) -> None: ...
58 def home(self) -> None: ...
59 def goto_y(self, y) -> None: ...
60 def goto_row(self) -> None: ...
61 def goto_x(self, x) -> None: ...
62 def goto_col(self) -> None: ...
63 def goto_yx(self, y, x) -> None: ...
64 def line_home(self) -> None: ...
65 def line_end(self) -> None: ...
66 def show_cell(self) -> None: ...
67 def show_info(self): ...
68 textpad: Any
69 search_str: Any
70 def search(self) -> None: ...
71 def search_results(
72 self, rev: bool = ..., look_in_cur: bool = ...
73 ) -> None: ...
74 def search_results_prev(
75 self, rev: bool = ..., look_in_cur: bool = ...
76 ) -> None: ...
77 def help(self) -> None: ...
78 def toggle_header(self) -> None: ...
79 def column_gap_down(self) -> None: ...
80 def column_gap_up(self) -> None: ...
81 column_width: Any
82 def column_width_all_down(self) -> None: ...
83 def column_width_all_up(self) -> None: ...
84 def column_width_down(self) -> None: ...
85 def column_width_up(self) -> None: ...
86 def sort_by_column_numeric(self): ...
87 def sort_by_column_numeric_reverse(self): ...
88 def sort_by_column(self) -> None: ...
89 def sort_by_column_reverse(self) -> None: ...
90 def sort_by_column_natural(self) -> None: ...
91 def sort_by_column_natural_reverse(self) -> None: ...
92 def sorted_nicely(self, ls, key, rev: bool = ...): ...
93 def float_string_key(self, value): ...
94 def toggle_column_width(self) -> None: ...
95 def set_current_column_width(self) -> None: ...
96 def yank_cell(self) -> None: ...
97 keys: Any
98 def define_keys(self) -> None: ...
99 def run(self) -> None: ...
100 def handle_keys(self) -> None: ...
101 def handle_modifier(self, mod) -> None: ...
102 def resize(self) -> None: ...
103 def num_columns_fwd(self, x): ...
104 def num_columns_rev(self, x): ...
105 def recalculate_layout(self) -> None: ...
106 def location_string(self, yp, xp): ...
107 def display(self) -> None: ...
108 def strpad(self, s, width): ...
109 def hdrstr(self, x, width): ...
110 def cellstr(self, y, x, width): ...
111 def skip_to_row_change(self) -> None: ...
112 def skip_to_row_change_reverse(self) -> None: ...
113 def skip_to_col_change(self) -> None: ...
114 def skip_to_col_change_reverse(self) -> None: ...
115
116 class TextBox:
117 scr: Any
118 data: Any
119 title: Any
120 tdata: Any
121 hid_rows: int
122 def __init__(self, scr, data: str = ..., title: str = ...) -> None: ...
123 def __call__(self) -> None: ...
124 handlers: Any
125 def setup_handlers(self) -> None: ...
126 def run(self) -> None: ...
127 def handle_key(self, key) -> None: ...
128 def close(self) -> None: ...
129 def scroll_down(self) -> None: ...
130 def scroll_up(self) -> None: ...
131 def display(self) -> None: ...
132
133 def csv_sniff(data, enc): ...
134 def fix_newlines(data): ...
135 def adjust_space_delim(data, enc): ...
136 def process_data(
137 data,
138 enc: Any | None = ...,
139 delim: Any | None = ...,
140 quoting: Any | None = ...,
141 quote_char=...,
142 ): ...
143 def data_list_or_file(data): ...
144 def pad_data(d): ...
145 def readme(): ...
146 def detect_encoding(data: Any | None = ...): ...
147 def main(stdscr, *args, **kwargs) -> None: ...
148 def view(
149 data,
150 enc: Any | None = ...,
151 start_pos=...,
152 column_width: int = ...,
153 column_gap: int = ...,
154 trunc_char: str = ...,
155 column_widths: Any | None = ...,
156 search_str: Any | None = ...,
157 double_width: bool = ...,
158 delimiter: Any | None = ...,
159 quoting: Any | None = ...,
160 info: Any | None = ...,
161 quote_char=...,
162 ): ...
163 def parse_path(path): ...