"Quick-Example-1"></a><a class="docs-heading-anchor-permalink" href="#Quick-Example" title="Permalink"></a></h2><h3 id="Core-API"><a class="docs-heading-anchor" href="#Core-API">Core API</a><a id="Core-API-1"></a><a class="docs-heading-anchor-permalink" href="#Core-API" title="Permalink"></a></h3><pre><code class="language-julia hljs">using MicroUI

# Create context and set up callbacks
ctx = Context()
init!(ctx)
ctx.text_width = (font, str) -&gt; length(str) * 8
ctx.text_height = font -&gt; 16

# Main UI l