Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LVGL_BINDINGS_COMMIT
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22f8383eedc785a6c87c57c7ed46c95c454cebe3
3dcd19493a7ae520f101036e009b8deaff5e22fd
148 changes: 74 additions & 74 deletions generated/lvgl.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ class cache_class_t(_Struct):
get_victim_cb: Callable[[cache_t, Any], cache_entry_t]
reserve_cond_cb: Callable[[cache_t, Any, int, Any], CACHE_RESERVE_COND | int]
iter_create_cb: Callable[[cache_t], iter_t]
def cache_create(self, node_size: int, max_size: int, ops: cache_ops_t) -> cache_t: ...
def create(self, node_size: int, max_size: int, ops: cache_ops_t) -> cache_t: ...

class cache_entry_t(_Struct):
cache: cache_t
Expand Down Expand Up @@ -1349,12 +1349,12 @@ class draw_buf_handlers_t(_Struct):
invalidate_cache_cb: Callable[[draw_buf_t, area_t], None]
flush_cache_cb: Callable[[draw_buf_t, area_t], None]
width_to_stride_cb: Callable[[int, COLOR_FORMAT | int], int]
def draw_buf_align_ex(self, buf: Any, color_format: COLOR_FORMAT | int) -> Any: ...
def draw_buf_create_ex(self, w: int, h: int, cf: COLOR_FORMAT | int, stride: int) -> draw_buf_t: ...
def draw_buf_dup_ex(self, draw_buf: draw_buf_t) -> draw_buf_t: ...
def draw_buf_init_with_default_handlers(self) -> None: ...
def draw_buf_width_to_stride_ex(self, w: int, color_format: COLOR_FORMAT | int) -> int: ...
def align_ex(self, buf: Any, color_format: COLOR_FORMAT | int) -> Any: ...
def create_ex(self, w: int, h: int, cf: COLOR_FORMAT | int, stride: int) -> draw_buf_t: ...
def dup_ex(self, draw_buf: draw_buf_t) -> draw_buf_t: ...
def init(self, buf_malloc_cb: Callable[[int, COLOR_FORMAT | int], Any], buf_free_cb: Callable[[Any], None], buf_copy_cb: Callable[[draw_buf_t, area_t, draw_buf_t, area_t], None], align_pointer_cb: Callable[[Any, COLOR_FORMAT | int], Any], invalidate_cache_cb: Callable[[draw_buf_t, area_t], None], flush_cache_cb: Callable[[draw_buf_t, area_t], None], width_to_stride_cb: Callable[[int, COLOR_FORMAT | int], int]) -> None: ...
def init_with_default_handlers(self) -> None: ...
def width_to_stride_ex(self, w: int, color_format: COLOR_FORMAT | int) -> int: ...

class draw_buf_t(_Struct):
header: image_header_t
Expand Down Expand Up @@ -1573,15 +1573,15 @@ class draw_sw_blend_dsc_t(_Struct):
class draw_sw_custom_blend_handler_t(_Struct):
dest_cf: COLOR_FORMAT | int
handler: Callable[[draw_task_t, draw_sw_blend_dsc_t], None]
def draw_sw_register_blend_handler(self) -> int: ...
def register_blend_handler(self) -> int: ...

class draw_sw_mask_angle_param_t(_Struct):
dsc: draw_sw_mask_common_dsc_t
cfg: Any
start_line: draw_sw_mask_line_param_t
end_line: draw_sw_mask_line_param_t
delta_deg: int
def draw_sw_mask_angle_init(self, vertex_x: int, vertex_y: int, start_angle: int, end_angle: int) -> None: ...
def init(self, vertex_x: int, vertex_y: int, start_angle: int, end_angle: int) -> None: ...

class draw_sw_mask_common_dsc_t(_Struct):
cb: Callable[[Any, int, int, int, Any], DRAW_SW_MASK_RES | int]
Expand All @@ -1590,7 +1590,7 @@ class draw_sw_mask_common_dsc_t(_Struct):
class draw_sw_mask_fade_param_t(_Struct):
dsc: draw_sw_mask_common_dsc_t
cfg: Any
def draw_sw_mask_fade_init(self, coords: area_t, opa_top: int, y_top: int, opa_bottom: int, y_bottom: int) -> None: ...
def init(self, coords: area_t, opa_top: int, y_top: int, opa_bottom: int, y_bottom: int) -> None: ...

class draw_sw_mask_line_param_t(_Struct):
dsc: draw_sw_mask_common_dsc_t
Expand All @@ -1602,13 +1602,13 @@ class draw_sw_mask_line_param_t(_Struct):
spx: int
flat: int
inv: int
def draw_sw_mask_line_angle_init(self, px: int, py: int, angle: int, side: DRAW_SW_MASK_LINE_SIDE | int) -> None: ...
def draw_sw_mask_line_points_init(self, p1x: int, p1y: int, p2x: int, p2y: int, side: DRAW_SW_MASK_LINE_SIDE | int) -> None: ...
def angle_init(self, px: int, py: int, angle: int, side: DRAW_SW_MASK_LINE_SIDE | int) -> None: ...
def points_init(self, p1x: int, p1y: int, p2x: int, p2y: int, side: DRAW_SW_MASK_LINE_SIDE | int) -> None: ...

class draw_sw_mask_map_param_t(_Struct):
dsc: draw_sw_mask_common_dsc_t
cfg: Any
def draw_sw_mask_map_init(self, coords: area_t, map: Any) -> None: ...
def init(self, coords: area_t, map: Any) -> None: ...

class draw_sw_mask_radius_circle_dsc_t(_Struct):
buf: Any
Expand All @@ -1623,7 +1623,7 @@ class draw_sw_mask_radius_param_t(_Struct):
dsc: draw_sw_mask_common_dsc_t
cfg: Any
circle: draw_sw_mask_radius_circle_dsc_t
def draw_sw_mask_radius_init(self, rect: area_t, radius: int, inv: int) -> None: ...
def init(self, rect: area_t, radius: int, inv: int) -> None: ...

class draw_task_t(_Struct):
next: draw_task_t
Expand All @@ -1639,30 +1639,12 @@ class draw_task_t(_Struct):
opa: int
preferred_draw_unit_id: int
preference_score: int
def draw_get_dependent_count(self) -> int: ...
def draw_image_normal_helper(self, draw_dsc: draw_image_dsc_t, coords: area_t, draw_core_cb: Callable[[draw_task_t, draw_image_dsc_t, image_decoder_dsc_t, draw_image_sup_t, area_t, area_t], None], decoder_args: image_decoder_args_t) -> None: ...
def draw_image_tiled_helper(self, draw_dsc: draw_image_dsc_t, coords: area_t, draw_core_cb: Callable[[draw_task_t, draw_image_dsc_t, image_decoder_dsc_t, draw_image_sup_t, area_t, area_t], None], decoder_args: image_decoder_args_t) -> None: ...
def draw_label_iterate_characters(self, dsc: draw_label_dsc_t, coords: area_t, cb: Callable[[draw_task_t, draw_glyph_dsc_t, draw_fill_dsc_t, area_t], None]) -> None: ...
def draw_line_iterate(self, dsc: draw_line_dsc_t, draw_line_cb: Callable[[draw_task_t, draw_line_dsc_t], None]) -> None: ...
def draw_sw_arc(self, dsc: draw_arc_dsc_t, coords: area_t) -> None: ...
def draw_sw_blend(self, dsc: draw_sw_blend_dsc_t) -> None: ...
def draw_sw_blur(self, dsc: draw_blur_dsc_t, coords: area_t) -> None: ...
def draw_sw_border(self, dsc: draw_border_dsc_t, coords: area_t) -> None: ...
def draw_sw_box_shadow(self, dsc: draw_box_shadow_dsc_t, coords: area_t) -> None: ...
def draw_sw_fill(self, dsc: draw_fill_dsc_t, coords: area_t) -> None: ...
def draw_sw_image(self, draw_dsc: draw_image_dsc_t, coords: area_t) -> None: ...
def draw_sw_label(self, dsc: draw_label_dsc_t, coords: area_t) -> None: ...
def draw_sw_layer(self, draw_dsc: draw_image_dsc_t, coords: area_t) -> None: ...
def draw_sw_letter(self, dsc: draw_letter_dsc_t, coords: area_t) -> None: ...
def draw_sw_line(self, dsc: draw_line_dsc_t) -> None: ...
def draw_sw_mask_rect(self, dsc: draw_mask_rect_dsc_t) -> None: ...
def draw_sw_triangle(self, dsc: draw_triangle_dsc_t) -> None: ...
def draw_unit_draw_letter(self, dsc: draw_glyph_dsc_t, pos: point_t, font: font_t, letter: int, cb: Callable[[draw_task_t, draw_glyph_dsc_t, draw_fill_dsc_t, area_t], None]) -> None: ...
def get_arc_dsc(self) -> draw_arc_dsc_t: ...
def get_area(self, area: area_t) -> None: ...
def get_blur_dsc(self) -> draw_blur_dsc_t: ...
def get_border_dsc(self) -> draw_border_dsc_t: ...
def get_box_shadow_dsc(self) -> draw_box_shadow_dsc_t: ...
def get_dependent_count(self) -> int: ...
def get_draw_dsc(self) -> Any: ...
def get_fill_dsc(self) -> draw_fill_dsc_t: ...
def get_image_dsc(self) -> draw_image_dsc_t: ...
Expand All @@ -1671,6 +1653,24 @@ class draw_task_t(_Struct):
def get_mask_rect_dsc(self) -> draw_mask_rect_dsc_t: ...
def get_triangle_dsc(self) -> draw_triangle_dsc_t: ...
def get_type(self) -> DRAW_TASK_TYPE | int: ...
def image_normal_helper(self, draw_dsc: draw_image_dsc_t, coords: area_t, draw_core_cb: Callable[[draw_task_t, draw_image_dsc_t, image_decoder_dsc_t, draw_image_sup_t, area_t, area_t], None], decoder_args: image_decoder_args_t) -> None: ...
def image_tiled_helper(self, draw_dsc: draw_image_dsc_t, coords: area_t, draw_core_cb: Callable[[draw_task_t, draw_image_dsc_t, image_decoder_dsc_t, draw_image_sup_t, area_t, area_t], None], decoder_args: image_decoder_args_t) -> None: ...
def label_iterate_characters(self, dsc: draw_label_dsc_t, coords: area_t, cb: Callable[[draw_task_t, draw_glyph_dsc_t, draw_fill_dsc_t, area_t], None]) -> None: ...
def line_iterate(self, dsc: draw_line_dsc_t, draw_line_cb: Callable[[draw_task_t, draw_line_dsc_t], None]) -> None: ...
def sw_arc(self, dsc: draw_arc_dsc_t, coords: area_t) -> None: ...
def sw_blend(self, dsc: draw_sw_blend_dsc_t) -> None: ...
def sw_blur(self, dsc: draw_blur_dsc_t, coords: area_t) -> None: ...
def sw_border(self, dsc: draw_border_dsc_t, coords: area_t) -> None: ...
def sw_box_shadow(self, dsc: draw_box_shadow_dsc_t, coords: area_t) -> None: ...
def sw_fill(self, dsc: draw_fill_dsc_t, coords: area_t) -> None: ...
def sw_image(self, draw_dsc: draw_image_dsc_t, coords: area_t) -> None: ...
def sw_label(self, dsc: draw_label_dsc_t, coords: area_t) -> None: ...
def sw_layer(self, draw_dsc: draw_image_dsc_t, coords: area_t) -> None: ...
def sw_letter(self, dsc: draw_letter_dsc_t, coords: area_t) -> None: ...
def sw_line(self, dsc: draw_line_dsc_t) -> None: ...
def sw_mask_rect(self, dsc: draw_mask_rect_dsc_t) -> None: ...
def sw_triangle(self, dsc: draw_triangle_dsc_t) -> None: ...
def unit_draw_letter(self, dsc: draw_glyph_dsc_t, pos: point_t, font: font_t, letter: int, cb: Callable[[draw_task_t, draw_glyph_dsc_t, draw_fill_dsc_t, area_t], None]) -> None: ...

class draw_triangle_dsc_t(_Struct):
base: draw_dsc_base_t
Expand Down Expand Up @@ -1701,14 +1701,14 @@ class event_list_t(_Struct):
array: array_t
is_traversing: int
has_marked_deleting: int
def event_add(self, cb: Callable[[event_t], None], filter: EVENT | int, user_data: Any) -> event_dsc_t: ...
def event_get_count(self) -> int: ...
def event_get_dsc(self, index: int) -> event_dsc_t: ...
def event_push_and_send(self, code: EVENT | int, original_target: Any, param: Any) -> RESULT | int: ...
def event_remove(self, index: int) -> int: ...
def event_remove_all(self) -> None: ...
def event_remove_dsc(self, dsc: event_dsc_t) -> int: ...
def event_send(self, e: event_t, preprocess: int) -> RESULT | int: ...
def add(self, cb: Callable[[event_t], None], filter: EVENT | int, user_data: Any) -> event_dsc_t: ...
def get_count(self) -> int: ...
def get_dsc(self, index: int) -> event_dsc_t: ...
def push_and_send(self, code: EVENT | int, original_target: Any, param: Any) -> RESULT | int: ...
def remove(self, index: int) -> int: ...
def remove_all(self) -> None: ...
def remove_dsc(self, dsc: event_dsc_t) -> int: ...
def send(self, e: event_t, preprocess: int) -> RESULT | int: ...

class event_t(_Struct):
current_target: Any
Expand Down Expand Up @@ -1772,10 +1772,10 @@ class font_glyph_dsc_t(_Struct):
outline_stroke_width: int
gid: Any
entry: cache_entry_t
def font_get_bitmap_fmt_txt(self, draw_buf: draw_buf_t) -> Any: ...
def font_get_glyph_bitmap(self, draw_buf: draw_buf_t) -> Any: ...
def font_get_glyph_static_bitmap(self) -> Any: ...
def font_glyph_release_draw_data(self) -> None: ...
def get_bitmap_fmt_txt(self, draw_buf: draw_buf_t) -> Any: ...
def get_glyph_bitmap(self, draw_buf: draw_buf_t) -> Any: ...
def get_glyph_static_bitmap(self) -> Any: ...
def release_draw_data(self) -> None: ...

class font_info_t(_Struct):
name: str
Expand Down Expand Up @@ -1841,18 +1841,18 @@ class fs_file_t(_Struct):
file_d: Any
drv: fs_drv_t
cache: fs_file_cache_t
def fs_close(self) -> FS_RES | int: ...
def fs_get_size(self, size_res: Any) -> FS_RES | int: ...
def fs_open(self, path: str, mode: FS_MODE | int) -> FS_RES | int: ...
def fs_read(self, buf: Any, btr: int, br: Any) -> FS_RES | int: ...
def fs_seek(self, pos: int, whence: FS_SEEK | int) -> FS_RES | int: ...
def fs_tell(self, pos: Any) -> FS_RES | int: ...
def fs_write(self, buf: Any, btw: int, bw: Any) -> FS_RES | int: ...
def close(self) -> FS_RES | int: ...
def get_size(self, size_res: Any) -> FS_RES | int: ...
def open(self, path: str, mode: FS_MODE | int) -> FS_RES | int: ...
def read(self, buf: Any, btr: int, br: Any) -> FS_RES | int: ...
def seek(self, pos: int, whence: FS_SEEK | int) -> FS_RES | int: ...
def tell(self, pos: Any) -> FS_RES | int: ...
def write(self, buf: Any, btw: int, bw: Any) -> FS_RES | int: ...

class fs_path_ex_t(_Struct):
path: Sequence[int]
def fs_get_buffer_from_path(self, buffer: Any, size: Any) -> RESULT | int: ...
def fs_make_path_from_buffer(self, letter: int, buf: Any, size: int, ext: str) -> None: ...
def get_buffer_from_path(self, buffer: Any, size: Any) -> RESULT | int: ...
def make_path_from_buffer(self, letter: int, buf: Any, size: int, ext: str) -> None: ...

class grad_dsc_t(_Struct):
stops: Sequence[grad_stop_t]
Expand All @@ -1861,13 +1861,13 @@ class grad_dsc_t(_Struct):
extend: GRAD_EXTEND | int
params: Any
state: Any
def grad_conical_init(self, center_x: int, center_y: int, start_angle: int, end_angle: int, extend: GRAD_EXTEND | int) -> None: ...
def grad_horizontal_init(self) -> None: ...
def grad_init_stops(self, colors: color_t, opa: Sequence[int], fracs: Sequence[int], num_stops: int) -> None: ...
def grad_linear_init(self, from_x: int, from_y: int, to_x: int, to_y: int, extend: GRAD_EXTEND | int) -> None: ...
def grad_radial_init(self, center_x: int, center_y: int, to_x: int, to_y: int, extend: GRAD_EXTEND | int) -> None: ...
def grad_radial_set_focal(self, center_x: int, center_y: int, radius: int) -> None: ...
def grad_vertical_init(self) -> None: ...
def conical_init(self, center_x: int, center_y: int, start_angle: int, end_angle: int, extend: GRAD_EXTEND | int) -> None: ...
def horizontal_init(self) -> None: ...
def init_stops(self, colors: color_t, opa: Sequence[int], fracs: Sequence[int], num_stops: int) -> None: ...
def linear_init(self, from_x: int, from_y: int, to_x: int, to_y: int, extend: GRAD_EXTEND | int) -> None: ...
def radial_init(self, center_x: int, center_y: int, to_x: int, to_y: int, extend: GRAD_EXTEND | int) -> None: ...
def radial_set_focal(self, center_x: int, center_y: int, radius: int) -> None: ...
def vertical_init(self) -> None: ...

class grad_stop_t(_Struct):
color: color_t
Expand Down Expand Up @@ -1981,7 +1981,7 @@ class indev_data_t(_Struct):
enc_diff: int
timestamp: int
continue_reading: int
def indev_set_gesture_data(self, recognizer: indev_gesture_recognizer_t, _type: INDEV_GESTURE | int) -> None: ...
def set_gesture_data(self, recognizer: indev_gesture_recognizer_t, _type: INDEV_GESTURE | int) -> None: ...

class indev_gesture_configuration_t(_Struct):
...
Expand All @@ -1997,12 +1997,12 @@ class indev_gesture_recognizer_t(_Struct):
two_fingers_swipe_dir: DIR | int
config: indev_gesture_configuration_t
recog_fn: Callable[[indev_gesture_recognizer_t, indev_touch_data_t, int], None]
def indev_gesture_detect_pinch(self, touches: indev_touch_data_t, touch_cnt: int) -> None: ...
def indev_gesture_detect_rotation(self, touches: indev_touch_data_t, touch_cnt: int) -> None: ...
def indev_gesture_detect_two_fingers_swipe(self, touches: indev_touch_data_t, touch_cnt: int) -> None: ...
def indev_get_gesture_center_point(self, point: point_t) -> None: ...
def indev_get_gesture_primary_point(self, point: point_t) -> None: ...
def indev_recognizer_is_active(self) -> int: ...
def detect_pinch(self, touches: indev_touch_data_t, touch_cnt: int) -> None: ...
def detect_rotation(self, touches: indev_touch_data_t, touch_cnt: int) -> None: ...
def detect_two_fingers_swipe(self, touches: indev_touch_data_t, touch_cnt: int) -> None: ...
def get_gesture_center_point(self, point: point_t) -> None: ...
def get_gesture_primary_point(self, point: point_t) -> None: ...
def recognizer_is_active(self) -> int: ...

class indev_gesture_t(_Struct):
...
Expand Down Expand Up @@ -2139,7 +2139,7 @@ class layer_t(_Struct):
class layout_callbacks_t(_Struct):
layout_update_cb: Callable[[obj, Any], None]
get_min_size_cb: Callable[[obj, Any, int, Any], int]
def layout_create(self, user_data: Any) -> int: ...
def create(self, user_data: Any) -> int: ...

class ll_t(_Struct):
n_size: int
Expand Down Expand Up @@ -2174,7 +2174,7 @@ class mem_monitor_t(_Struct):
used_pct: int
frag_pct: int
def core(self) -> None: ...
def mem_monitor(self) -> None: ...
def monitor(self) -> None: ...

class obj_class_t(_Struct):
base_class: obj_class_t
Expand Down Expand Up @@ -2214,7 +2214,7 @@ class observer_t(_Struct):
class point_precise_t(_Struct):
x: float
y: float
def point_from_precise(self) -> point_t: ...
def from_precise(self) -> point_t: ...
def set(self, x: float, y: float) -> None: ...
def swap(self, p2: point_precise_t) -> None: ...

Expand All @@ -2233,8 +2233,8 @@ class rb_node_t(_Struct):
right: rb_node_t
color: RB_COLOR | int
data: Any
def rb_maximum_from(self) -> rb_node_t: ...
def rb_minimum_from(self) -> rb_node_t: ...
def maximum_from(self) -> rb_node_t: ...
def minimum_from(self) -> rb_node_t: ...

class rb_t(_Struct):
root: rb_node_t
Expand Down Expand Up @@ -2556,7 +2556,7 @@ class tree_class_t(_Struct):
instance_size: int
constructor_cb: Callable[[tree_class_t, tree_node_t], None]
destructor_cb: Callable[[tree_class_t, tree_node_t], None]
def tree_node_create(self, parent: tree_node_t) -> tree_node_t: ...
def node_create(self, parent: tree_node_t) -> tree_node_t: ...

class tree_node_t(_Struct):
parent: tree_node_t
Expand All @@ -2565,7 +2565,7 @@ class tree_node_t(_Struct):
child_cap: int
class_p: tree_class_t
def delete(self) -> None: ...
def tree_walk(self, mode: int, cb: Callable[[tree_node_t, Any], int], bcb: Callable[[tree_node_t, Any], int], acb: Callable[[tree_node_t, Any], None], user_data: Any) -> int: ...
def walk(self, mode: int, cb: Callable[[tree_node_t, Any], int], bcb: Callable[[tree_node_t, Any], int], acb: Callable[[tree_node_t, Any], None], user_data: Any) -> int: ...

class animimg(obj):
def __init__(self, parent: obj | None = ...) -> None: ...
Expand Down
Loading
Loading