Viewport and dialog widgets own virtual content coordinates, scroll offsets, clipping boundaries, and modal overlay state.
| Method | Description |
|---|
| objects.tuix_scroll_container_set_content_size(obj_ptr, width: int, height: int) -> int | Sets virtual content canvas dimensions in cell units. |
| objects.tuix_scroll_container_set_offset(obj_ptr, offset_x: int, offset_y: int) -> int | Sets scrolling offset translation. |
| objects.tuix_scroll_container_add_object_at(obj_ptr, scene_name, builder_name, content_x, content_y, content_w, content_h) -> int | Places a child widget at absolute virtual content coordinates. |
| objects.tuix_scroll_container_set_colors(obj_ptr, br, bg, bb, tr, tg, tb, bbr, bbg, bbb, body_r, body_g, body_b) -> int | Sets border, title, scrollbar, and body RGB colors. |
| Method | Description |
|---|
| objects.tuix_listview_set_items(obj_ptr, items: list) -> int | Sets virtual list items array. |
| objects.tuix_listview_set_selected(obj_ptr, index: int) -> int | Sets currently highlighted item index. |
| objects.tuix_listview_get_selected(obj_ptr) -> int | Returns index of currently selected item. |
| objects.tuix_listview_take_activated(obj_ptr) -> int | Reads and consumes activated item index (e.g. on Enter key). |
TextArea (`content_builder.TEXT_AREA`)
| Method | Description |
|---|
| objects.tuix_textarea_set_text(obj_ptr, text: str | bytes) -> int | Replaces full multiline UTF-8 document text. |
| objects.tuix_textarea_get_text(obj_ptr) -> bytes | Reads current document text as UTF-8 bytes. |
| objects.tuix_textarea_set_placeholder(obj_ptr, text: str) -> int | Sets placeholder text shown when buffer is empty. |
| objects.tuix_textarea_set_readonly(obj_ptr, readonly: bool) -> int | Toggles read-only viewing vs editable mode. |
| objects.tuix_textarea_set_colors(obj_ptr, tr, tg, tb, bgr, bgg, bgb, br, bg, bb) -> int | Sets text, background, and border outline RGB colors. |
| Method | Description |
|---|
| objects.tuix_dialog_set_title(obj_ptr, title: str) -> int | Sets modal dialog header title. |
| objects.tuix_dialog_set_body_size(obj_ptr, width: int, height: int) -> int | Sets fixed cell dimensions of inner modal body. |
| objects.tuix_dialog_set_close_on_esc(obj_ptr, enabled: bool) -> int | Enables close requests when Escape key is pressed. |
| objects.tuix_dialog_set_close_on_backdrop(obj_ptr, enabled: bool) -> int | Enables close requests when clicking the dimmed backdrop area. |
| objects.tuix_dialog_activate(obj_ptr, scene_name: bytes) -> int | Activates modal focus trapping overlay in scene. |
| objects.tuix_dialog_deactivate(obj_ptr, scene_name: bytes) -> int | Deactivates modal overlay and restores normal scene input. |
| objects.tuix_dialog_take_close_requested(obj_ptr) -> int | Reads and consumes modal close request flag. |