Back to Projects
TUIX v0.6Beta

Last Updated: 2026-08-14

Basic Display Widgets

Basic display widgets provide labels, clickable hyperlinks, panels, visual separators, category badges, tags, and status monitors.

Text (`content_builder.TEXT`)

MethodDescription
objects.tuix_text_set_text(obj_ptr, text: str | bytes) -> intSets UTF-8 text content with grapheme-cluster measurement.
objects.tuix_text_set_fg(obj_ptr, r: int, g: int, b: int) -> intSets foreground RGB text color.
objects.tuix_text_set_bg(obj_ptr, r: int, g: int, b: int) -> intSets background RGB text color.
objects.tuix_text_clear_bg(obj_ptr) -> intClears custom background color, returning to transparent/default.
objects.tuix_text_set_style(obj_ptr, bold: bool, italic: bool, underlined: bool, dim: bool) -> intSets font typography styles (bold, italic, underlined, dim).

ClickableText (`content_builder.CLICKABLE_TEXT`)

MethodDescription
objects.tuix_clickable_text_set_text(obj_ptr, text) -> intSets visible text label for the clickable link.
objects.tuix_clickable_text_set_foreground(obj_ptr, r, g, b) -> intSets foreground RGB text color.
objects.tuix_clickable_text_set_background(obj_ptr, r, g, b) -> intSets background highlight RGB color.
objects.tuix_clickable_text_clear_background(obj_ptr) -> intClears custom background color.
objects.tuix_clickable_text_take_pressed(obj_ptr) -> intReads and consumes click event (returns 1 if clicked, 0 otherwise).
objects.tuix_clickable_text_reset(obj_ptr) -> NoneResets pressed state manually.

Box (`content_builder.BOX`)

MethodDescription
objects.tuix_box_set_title(obj_ptr, title) -> intSets framed panel header title text.
objects.tuix_box_set_colors(obj_ptr, border_r, border_g, border_b, bg_r, bg_g, bg_b) -> intSets border line and background RGB colors.
objects.tuix_box_set_border(obj_ptr, enabled: bool) -> intToggles border outline visibility.

Divider, Badge, Tag & Status

Widget & MethodDescription
objects.tuix_divider_set_orientation(obj_ptr, vertical: int) -> intSets horizontal (`0`) or vertical (`1`) divider line orientation.
objects.tuix_divider_set_symbol(obj_ptr, sym: str | bytes) -> intSets custom dividing glyph symbol (e.g. `|`, `-`, `=`).
objects.tuix_divider_set_color(obj_ptr, r: int, g: int, b: int) -> intSets RGB color of the divider line.
objects.tuix_badge_set_text(obj_ptr, text: str | bytes) -> intSets text content of the badge label.
objects.tuix_badge_set_colors(obj_ptr, fr, fg, fb, br, bg, bb) -> intSets foreground and background RGB colors of the badge.
objects.tuix_tag_set_text(obj_ptr, text: str | bytes) -> intSets tag label text.
objects.tuix_tag_set_brackets(obj_ptr, left: str, right: str) -> intSets custom enclosure bracket characters (e.g. `[`, `]` or `<`, `>`).
objects.tuix_tag_set_colors(obj_ptr, fr, fg, fb, br, bg, bb) -> intSets tag text and background RGB colors.
objects.tuix_status_set_status(obj_ptr, text: str | bytes) -> intSets status message text.
objects.tuix_status_set_level(obj_ptr, level: int) -> intSets status severity level (0=IDLE, 1=OK, 2=WARN, 3=ERROR).
objects.tuix_status_set_palette(obj_ptr, level: int, fr, fg, fb, br, bg, bb) -> intConfigures custom RGB palette for a specific severity level.