| 1 |
|
| 2 |
|
| 3 |
""" |
| 4 |
tksheet - A Python tkinter table widget |
| 5 |
""" |
| 6 |
|
| 7 |
__version__ = "7.4.16" |
| 8 |
|
| 9 |
from .colors import ( |
| 10 |
color_map, |
| 11 |
) |
| 12 |
from .column_headers import ColumnHeaders |
| 13 |
from .constants import ( |
| 14 |
USER_OS, |
| 15 |
ctrl_key, |
| 16 |
emitted_events, |
| 17 |
falsy, |
| 18 |
nonelike, |
| 19 |
rc_binding, |
| 20 |
symbols_set, |
| 21 |
truthy, |
| 22 |
) |
| 23 |
from .formatters import ( |
| 24 |
Formatter, |
| 25 |
alt_percentage_to_str, |
| 26 |
alt_to_percentage, |
| 27 |
bool_formatter, |
| 28 |
data_to_str, |
| 29 |
float_formatter, |
| 30 |
float_to_str, |
| 31 |
format_data, |
| 32 |
formatter, |
| 33 |
get_clipboard_data, |
| 34 |
get_data_with_valid_check, |
| 35 |
int_formatter, |
| 36 |
is_bool_like, |
| 37 |
is_none_like, |
| 38 |
percentage_formatter, |
| 39 |
percentage_to_str, |
| 40 |
to_bool, |
| 41 |
to_float, |
| 42 |
to_int, |
| 43 |
to_percentage, |
| 44 |
to_str, |
| 45 |
try_to_bool, |
| 46 |
) |
| 47 |
from .functions import ( |
| 48 |
add_highlight, |
| 49 |
alpha2idx, |
| 50 |
alpha2num, |
| 51 |
consecutive_chunks, |
| 52 |
consecutive_ranges, |
| 53 |
convert_align, |
| 54 |
data_to_displayed_idxs, |
| 55 |
displayed_to_data_idxs, |
| 56 |
dropdown_search_function, |
| 57 |
event_dict, |
| 58 |
get_checkbox_dict, |
| 59 |
get_checkbox_kwargs, |
| 60 |
get_csv_str_dialect, |
| 61 |
get_data_from_clipboard, |
| 62 |
get_dropdown_dict, |
| 63 |
get_dropdown_kwargs, |
| 64 |
get_index_of_gap_in_sorted_integer_seq_forward, |
| 65 |
get_index_of_gap_in_sorted_integer_seq_reverse, |
| 66 |
get_n2a, |
| 67 |
get_new_indexes, |
| 68 |
get_seq_without_gaps_at_index, |
| 69 |
insert_items, |
| 70 |
is_contiguous, |
| 71 |
is_iterable, |
| 72 |
move_elements_by_mapping, |
| 73 |
move_elements_to, |
| 74 |
new_tk_event, |
| 75 |
num2alpha, |
| 76 |
push_n, |
| 77 |
rounded_box_coords, |
| 78 |
span_dict, |
| 79 |
tksheet_type_error, |
| 80 |
) |
| 81 |
from .main_table import MainTable |
| 82 |
from .other_classes import ( |
| 83 |
DotDict, |
| 84 |
DraggedRowColumn, |
| 85 |
DrawnItem, |
| 86 |
EventDataDict, |
| 87 |
GeneratedMouseEvent, |
| 88 |
Highlight, |
| 89 |
Selected, |
| 90 |
Span, |
| 91 |
SpanRange, |
| 92 |
TextCfg, |
| 93 |
) |
| 94 |
from .row_index import RowIndex |
| 95 |
from .sheet import Dropdown, Sheet |
| 96 |
from .sheet_options import new_sheet_options |
| 97 |
from .sorting import fast_sort_key, natural_sort_key, version_sort_key |
| 98 |
from .text_editor import ( |
| 99 |
TextEditor, |
| 100 |
TextEditorTkText, |
| 101 |
) |
| 102 |
from .themes import ( |
| 103 |
theme_black, |
| 104 |
theme_dark, |
| 105 |
theme_dark_blue, |
| 106 |
theme_dark_green, |
| 107 |
theme_light_blue, |
| 108 |
theme_light_green, |
| 109 |
) |
| 110 |
from .top_left_rectangle import TopLeftRectangle |