Skip to content

Commit

Permalink
Merge pull request #3 from JuliaImGui/wrapper-docs
Browse files Browse the repository at this point in the history
Add an example to the docs of using the C++ wrappers directly
  • Loading branch information
JamesWrigley authored Jul 1, 2024
2 parents 73b511c + 8b265d9 commit 10df990
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 10df990

Please sign in to comment.