python-cui 1.4.0.6__cp312-cp312-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cui/__init__.py +87 -0
- cui/__init__.pyi +757 -0
- cui/_api.cp312-win_amd64.pyd +0 -0
- cui/_api.pyi +425 -0
- cui/_cui.cp312-win_amd64.pyd +0 -0
- cui/_cui.pyi +160 -0
- cui/_gen/COVERAGE.md +151 -0
- cui/_gen/__init__.py +1 -0
- cui/_gen/constants.py +813 -0
- cui/_gen/model.py +202 -0
- cui/_types.py +287 -0
- cui/py.typed +0 -0
- cui/ui.py +606 -0
- python_cui-1.4.0.6.dist-info/METADATA +221 -0
- python_cui-1.4.0.6.dist-info/RECORD +16 -0
- python_cui-1.4.0.6.dist-info/WHEEL +5 -0
cui/_gen/COVERAGE.md
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# Generated API coverage
|
|
2
|
+
|
|
3
|
+
Produced by `tools/gen_cui.py`; regenerated with the bindings.
|
|
4
|
+
|
|
5
|
+
- callable CUI functions: **500**
|
|
6
|
+
- wrapped: **429** (369 generated, 60 hand-written)
|
|
7
|
+
- left to phase 3: **71**
|
|
8
|
+
|
|
9
|
+
Wrapped functions take the context first, option structs as keyword
|
|
10
|
+
arguments, and return out-parameters alongside the C return value.
|
|
11
|
+
|
|
12
|
+
## Hand-written in `_cui.pyx`
|
|
13
|
+
|
|
14
|
+
| function | why |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| `cui_app_backend` | wrapped by hand in `_cui.pyx` |
|
|
17
|
+
| `cui_app_create` | wrapped by hand in `_cui.pyx` |
|
|
18
|
+
| `cui_app_destroy` | wrapped by hand in `_cui.pyx` |
|
|
19
|
+
| `cui_app_file_dialog` | wrapped by hand in `_cui.pyx` |
|
|
20
|
+
| `cui_app_frame` | wrapped by hand in `_cui.pyx` |
|
|
21
|
+
| `cui_app_is_software` | wrapped by hand in `_cui.pyx` |
|
|
22
|
+
| `cui_app_native_window` | wrapped by hand in `_cui.pyx` |
|
|
23
|
+
| `cui_app_open_url` | wrapped by hand in `_cui.pyx` |
|
|
24
|
+
| `cui_app_quit` | wrapped by hand in `_cui.pyx` |
|
|
25
|
+
| `cui_app_run` | wrapped by hand in `_cui.pyx` |
|
|
26
|
+
| `cui_app_screenshot` | wrapped by hand in `_cui.pyx` |
|
|
27
|
+
| `cui_app_set_size` | wrapped by hand in `_cui.pyx` |
|
|
28
|
+
| `cui_app_set_title` | wrapped by hand in `_cui.pyx` |
|
|
29
|
+
| `cui_app_size` | wrapped by hand in `_cui.pyx` |
|
|
30
|
+
| `cui_app_ui` | wrapped by hand in `_cui.pyx` |
|
|
31
|
+
| `cui_bar_chart_ex` | wrapped by hand in `_cui.pyx` |
|
|
32
|
+
| `cui_begin_frame` | wrapped by hand in `_cui.pyx` |
|
|
33
|
+
| `cui_canvas` | wrapped by hand in `_cui.pyx` |
|
|
34
|
+
| `cui_create` | wrapped by hand in `_cui.pyx` |
|
|
35
|
+
| `cui_delta_time` | wrapped by hand in `_cui.pyx` |
|
|
36
|
+
| `cui_destroy` | wrapped by hand in `_cui.pyx` |
|
|
37
|
+
| `cui_donut_chart_ex` | wrapped by hand in `_cui.pyx` |
|
|
38
|
+
| `cui_dot_chart_ex` | wrapped by hand in `_cui.pyx` |
|
|
39
|
+
| `cui_draw_polygon` | wrapped by hand in `_cui.pyx` |
|
|
40
|
+
| `cui_draw_polyline` | wrapped by hand in `_cui.pyx` |
|
|
41
|
+
| `cui_end_frame` | wrapped by hand in `_cui.pyx` |
|
|
42
|
+
| `cui_event_track_ex` | wrapped by hand in `_cui.pyx` |
|
|
43
|
+
| `cui_frame_count` | wrapped by hand in `_cui.pyx` |
|
|
44
|
+
| `cui_get_draw_data` | wrapped by hand in `_cui.pyx` |
|
|
45
|
+
| `cui_get_rect` | wrapped by hand in `_cui.pyx` |
|
|
46
|
+
| `cui_is_disabled` | wrapped by hand in `_cui.pyx` |
|
|
47
|
+
| `cui_last_hovered` | wrapped by hand in `_cui.pyx` |
|
|
48
|
+
| `cui_last_id` | wrapped by hand in `_cui.pyx` |
|
|
49
|
+
| `cui_last_rect` | wrapped by hand in `_cui.pyx` |
|
|
50
|
+
| `cui_line_chart_ex` | wrapped by hand in `_cui.pyx` |
|
|
51
|
+
| `cui_make_id` | wrapped by hand in `_cui.pyx` |
|
|
52
|
+
| `cui_measure_text` | wrapped by hand in `_cui.pyx` |
|
|
53
|
+
| `cui_needs_redraw` | wrapped by hand in `_cui.pyx` |
|
|
54
|
+
| `cui_next_wakeup` | wrapped by hand in `_cui.pyx` |
|
|
55
|
+
| `cui_pop_disabled` | wrapped by hand in `_cui.pyx` |
|
|
56
|
+
| `cui_pop_id` | wrapped by hand in `_cui.pyx` |
|
|
57
|
+
| `cui_push_disabled` | wrapped by hand in `_cui.pyx` |
|
|
58
|
+
| `cui_push_id` | wrapped by hand in `_cui.pyx` |
|
|
59
|
+
| `cui_push_id_int` | wrapped by hand in `_cui.pyx` |
|
|
60
|
+
| `cui_request_redraw` | wrapped by hand in `_cui.pyx` |
|
|
61
|
+
| `cui_request_wakeup` | wrapped by hand in `_cui.pyx` |
|
|
62
|
+
| `cui_set_renderer` | wrapped by hand in `_cui.pyx` |
|
|
63
|
+
| `cui_set_viewport` | wrapped by hand in `_cui.pyx` |
|
|
64
|
+
| `cui_split_begin` | wrapped by hand in `_cui.pyx` |
|
|
65
|
+
| `cui_split_end` | wrapped by hand in `_cui.pyx` |
|
|
66
|
+
| `cui_split_next` | wrapped by hand in `_cui.pyx` |
|
|
67
|
+
| `cui_sw_create` | wrapped by hand in `_cui.pyx` |
|
|
68
|
+
| `cui_sw_destroy` | wrapped by hand in `_cui.pyx` |
|
|
69
|
+
| `cui_sw_iface` | wrapped by hand in `_cui.pyx` |
|
|
70
|
+
| `cui_sw_last_damage` | wrapped by hand in `_cui.pyx` |
|
|
71
|
+
| `cui_sw_render` | wrapped by hand in `_cui.pyx` |
|
|
72
|
+
| `cui_sw_set_incremental` | wrapped by hand in `_cui.pyx` |
|
|
73
|
+
| `cui_sw_set_threads` | wrapped by hand in `_cui.pyx` |
|
|
74
|
+
| `cui_time` | wrapped by hand in `_cui.pyx` |
|
|
75
|
+
| `cui_write_png` | wrapped by hand in `_cui.pyx` |
|
|
76
|
+
|
|
77
|
+
## Not wrapped yet
|
|
78
|
+
|
|
79
|
+
| function | why |
|
|
80
|
+
| --- | --- |
|
|
81
|
+
| `cui_api_explorer_ex` | takes `const cui_api_endpoint *`, a data array of a struct with pointers |
|
|
82
|
+
| `cui_blame_ex` | returns `cui_blame_result` |
|
|
83
|
+
| `cui_checklist_ex` | needs caller-allocated struct storage |
|
|
84
|
+
| `cui_code_editor_ex` | returns `cui_code_editor_result` |
|
|
85
|
+
| `cui_commit_graph_ex` | takes `const cui_commit *`, a data array of a struct with pointers |
|
|
86
|
+
| `cui_coverage_ex` | returns `cui_coverage_result` |
|
|
87
|
+
| `cui_curve_editor_ex` | returns `cui_curve_result` |
|
|
88
|
+
| `cui_diff_compute` | needs caller-allocated struct storage |
|
|
89
|
+
| `cui_diff_view_ex` | returns `cui_diff_result` |
|
|
90
|
+
| `cui_doc_tabs_ex` | returns `cui_doc_tabs_result` |
|
|
91
|
+
| `cui_feature_flags_ex` | needs caller-allocated struct storage |
|
|
92
|
+
| `cui_file_browser_ex` | returns `cui_file_browser_result` |
|
|
93
|
+
| `cui_filter_bar` | takes `const cui_filter_field *`, a data array of a struct with pointers |
|
|
94
|
+
| `cui_flame_graph_ex` | returns `cui_flame_result` |
|
|
95
|
+
| `cui_flame_sort` | needs caller-allocated struct storage |
|
|
96
|
+
| `cui_fs_list` | needs caller-allocated struct storage |
|
|
97
|
+
| `cui_gantt_ex` | needs caller-allocated struct storage |
|
|
98
|
+
| `cui_get_strings` | returns `const cui_strings *` |
|
|
99
|
+
| `cui_gl_create` | parameter `loader` has type `cui_gl_loader` |
|
|
100
|
+
| `cui_gl_destroy` | takes `cui_gl_renderer *`, a binding-owned type |
|
|
101
|
+
| `cui_gl_iface` | takes `cui_gl_renderer *`, a binding-owned type |
|
|
102
|
+
| `cui_gl_is_software` | takes `const cui_gl_renderer *`, a binding-owned type |
|
|
103
|
+
| `cui_gl_read_pixels` | takes `cui_gl_renderer *`, a binding-owned type |
|
|
104
|
+
| `cui_gl_render` | takes `cui_gl_renderer *`, a binding-owned type |
|
|
105
|
+
| `cui_gradient_editor_ex` | returns `cui_gradient_result` |
|
|
106
|
+
| `cui_graph_view_ex` | returns `cui_graph_result` |
|
|
107
|
+
| `cui_hex_view_ex` | returns `cui_hex_result` |
|
|
108
|
+
| `cui_keymap_ex` | returns `cui_keymap_result` |
|
|
109
|
+
| `cui_log_append` | variadic C function |
|
|
110
|
+
| `cui_log_appendv` | needs a C callback |
|
|
111
|
+
| `cui_log_get` | takes `const cui_log_buffer *`, a data array of a struct with pointers |
|
|
112
|
+
| `cui_log_init` | text buffer without a context to own it |
|
|
113
|
+
| `cui_markdown_ex` | returns `cui_markdown_result` |
|
|
114
|
+
| `cui_month_calendar_ex` | returns `cui_month_result` |
|
|
115
|
+
| `cui_path_bar_ex` | returns `cui_path_bar_result` |
|
|
116
|
+
| `cui_pipeline_ex` | returns `cui_pipeline_result` |
|
|
117
|
+
| `cui_problems_ex` | returns `cui_problems_result` |
|
|
118
|
+
| `cui_query_builder_ex` | takes `const cui_query_field *`, a data array of a struct with pointers |
|
|
119
|
+
| `cui_query_match` | takes `const cui_query_field *`, a data array of a struct with pointers |
|
|
120
|
+
| `cui_query_text` | takes `const cui_query_field *`, a data array of a struct with pointers |
|
|
121
|
+
| `cui_radar_chart_ex` | takes `const cui_series *`, a data array of a struct with pointers |
|
|
122
|
+
| `cui_reactions` | needs caller-allocated struct storage |
|
|
123
|
+
| `cui_regex_tester_ex` | returns `cui_regex_tester_result` |
|
|
124
|
+
| `cui_request_bar_ex` | returns `cui_request_bar_result` |
|
|
125
|
+
| `cui_scatter_chart_ex` | takes `const cui_scatter_series *`, a data array of a struct with pointers |
|
|
126
|
+
| `cui_schedule_picker_ex` | returns `cui_schedule_result` |
|
|
127
|
+
| `cui_set_platform` | takes `const cui_platform_iface *`, a binding-owned type |
|
|
128
|
+
| `cui_set_strings` | takes `const cui_strings *`, a binding-owned type |
|
|
129
|
+
| `cui_signature_points` | parameter `points` has type `const cui_vec2 **` |
|
|
130
|
+
| `cui_stack_trace_ex` | takes `const cui_stack_frame *`, a data array of a struct with pointers |
|
|
131
|
+
| `cui_state` | returns `void *` |
|
|
132
|
+
| `cui_state_on_free` | needs a C callback |
|
|
133
|
+
| `cui_table_cell_textf` | variadic C function |
|
|
134
|
+
| `cui_terminal_ex` | returns `cui_terminal_result` |
|
|
135
|
+
| `cui_terminal_init` | text buffer without a context to own it |
|
|
136
|
+
| `cui_terminal_printf` | variadic C function |
|
|
137
|
+
| `cui_test_explorer_ex` | returns `cui_test_explorer_result` |
|
|
138
|
+
| `cui_textf` | variadic C function |
|
|
139
|
+
| `cui_theme_get` | returns `cui_theme *` |
|
|
140
|
+
| `cui_time_histogram_ex` | takes `const cui_histogram_series *`, a data array of a struct with pointers |
|
|
141
|
+
| `cui_timeline_editor_ex` | needs caller-allocated struct storage |
|
|
142
|
+
| `cui_trace_sort` | needs caller-allocated struct storage |
|
|
143
|
+
| `cui_trace_view_ex` | needs caller-allocated struct storage |
|
|
144
|
+
| `cui_tree_sort` | needs caller-allocated struct storage |
|
|
145
|
+
| `cui_tree_table_begin_ex` | needs caller-allocated struct storage |
|
|
146
|
+
| `cui_tree_table_end` | returns `cui_tree_table_events` |
|
|
147
|
+
| `cui_uptime_ex` | takes `const cui_uptime_service *`, a data array of a struct with pointers |
|
|
148
|
+
| `cui_url_params` | needs caller-allocated struct storage |
|
|
149
|
+
| `cui_url_set_params` | takes `const cui_kv_pair *`, a data array of a struct with pointers |
|
|
150
|
+
| `cui_waterfall_ex` | takes `const cui_net_request *`, a data array of a struct with pointers |
|
|
151
|
+
| `cui_week_calendar_ex` | needs caller-allocated struct storage |
|
cui/_gen/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Generated CUI API: constants, data classes and C declarations."""
|