← home · docs · spec

shimgui — real GTK, not a canvas

When you want native widgets, not pixels. GtkButton, GtkEntry, GtkLabel under SB words.

1minimal window

SB
pls bring shimgui.
shimgui_window with "Counter" and 420 and 200.
shimgui_label with "0".
shimgui_button with "+ 1".
shimgui_button with "Quit".
shimgui_run with.
say shimgui_last_click with.  # which button id
say shimgui_entry_text with 0.

2kit

calldoes
shimgui_window with "Title" and W and Htop-level
shimgui_label with "text"label
shimgui_entry with "placeholder"text input
shimgui_button with "label"button
shimgui_stat / shimgui_meter with ...stats (see examples/shimgui_demo.sb)

Need pixels instead? → ketiwe (X11 raw). Both are in std/ as SB you can copy.