From 8b265d989a5466c12ccc424259d30087c87d6ae2 Mon Sep 17 00:00:00 2001 From: JamesWrigley Date: Mon, 1 Jul 2024 09:55:37 +0200 Subject: [PATCH] Add an example to the docs of using the C++ wrappers directly --- docs/src/api.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/src/api.md b/docs/src/api.md index 0b9e9ac..e4941e1 100644 --- a/docs/src/api.md +++ b/docs/src/api.md @@ -105,8 +105,14 @@ the current scope. e.g. `SetRef(ctx, "My window")` is fine, but it'll do the same thing as `SetRef("My window")`. !!! note - Loads of methods are missing bindings, feel free to open an issue or - contribute them yourself if you're missing one. + Loads of test context methods are missing Julia wrappers, feel free to open + an issue or contribute them yourself if you're missing one. + + If you want to try calling the wrapped C++ functions directly, it'll + probably boil down to something like: + ```julia + te.lib.Thing(ctx, te.lib.ImGuiTestRef("my ref")) + ``` ```@docs TestContext