Skip to content

Reference

Everything xpui-cpp exposes, in two halves: the Rust library a C++ application links, and the C functions that cross between the two languages. The tutorial walks both a step at a time.

PageHolds
The host libraryxpui_app_install and xpui_app_create_menu, the public functions of xpui-cpp-host, checked against its rustdoc
The C ABIthe four headers and who defines each, every function xpui_app.h and xpui_host.h declare, and the rules for strings, handles, buttons and figures; written by hand, with every C++ fence compiled

The host library's screens module is the worked example, meant to be read as source: cpp_host/src/screens/.