mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-28 22:30:49 +08:00
Deploying to gh-pages from @ lvgl/lvgl@4bc07a8552 🚀
This commit is contained in:
+10
-5
@@ -1028,7 +1028,10 @@
|
||||
<li class="toctree-l3"><a class="reference internal" href="../overview/timer.html#ready-and-reset">Ready and Reset</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../overview/timer.html#set-parameters">Set parameters</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../overview/timer.html#repeat-count">Repeat count</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../overview/timer.html#enable-and-disable">Enable and Disable</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../overview/timer.html#pause-and-resume">Pause and Resume</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../overview/timer.html#measure-idle-time">Measure idle time</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../overview/timer.html#timer-handler-resume-callback">Timer handler resume callback</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../overview/timer.html#asynchronous-calls">Asynchronous calls</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../overview/timer.html#api">API</a></li>
|
||||
</ul>
|
||||
@@ -2673,10 +2676,12 @@
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="../API/misc/lv_timer.html">lv_timer.h</a><ul>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/misc/lv_timer.html#_CPPv413lv_timer_cb_t"><code class="docutils literal notranslate"><span class="pre">lv_timer_cb_t</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/misc/lv_timer.html#_CPPv428lv_timer_handler_resume_cb_t"><code class="docutils literal notranslate"><span class="pre">lv_timer_handler_resume_cb_t</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/misc/lv_timer.html#_CPPv410lv_timer_t"><code class="docutils literal notranslate"><span class="pre">lv_timer_t</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/misc/lv_timer.html#_CPPv419_lv_timer_core_initv"><code class="docutils literal notranslate"><span class="pre">_lv_timer_core_init()</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/misc/lv_timer.html#_CPPv430lv_timer_handler_run_in_period8uint32_t"><code class="docutils literal notranslate"><span class="pre">lv_timer_handler_run_in_period()</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/misc/lv_timer.html#_CPPv425lv_timer_periodic_handlerv"><code class="docutils literal notranslate"><span class="pre">lv_timer_periodic_handler()</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/misc/lv_timer.html#_CPPv430lv_timer_handler_set_resume_cb28lv_timer_handler_resume_cb_tPv"><code class="docutils literal notranslate"><span class="pre">lv_timer_handler_set_resume_cb()</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/misc/lv_timer.html#_CPPv421lv_timer_create_basicv"><code class="docutils literal notranslate"><span class="pre">lv_timer_create_basic()</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/misc/lv_timer.html#_CPPv415lv_timer_create13lv_timer_cb_t8uint32_tPv"><code class="docutils literal notranslate"><span class="pre">lv_timer_create()</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/misc/lv_timer.html#_CPPv415lv_timer_deleteP10lv_timer_t"><code class="docutils literal notranslate"><span class="pre">lv_timer_delete()</span></code></a></li>
|
||||
@@ -4305,7 +4310,7 @@
|
||||
<li class="breadcrumb-item"><a href="index.html">Widgets</a></li>
|
||||
<li class="breadcrumb-item active">Checkbox (lv_checkbox)</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="https://github.com/lvgl/lvgl/blob/0c2815ee8d71ad8633950d274db31d362988ad0a/docs/widgets/checkbox.rst" class="fa fa-github"> Edit on GitHub</a>
|
||||
<a href="https://github.com/lvgl/lvgl/blob/4bc07a8552daaab1bd1fece52bf97342b607a724/docs/widgets/checkbox.rst" class="fa fa-github"> Edit on GitHub</a>
|
||||
</li>
|
||||
</ul><div class="rst-breadcrumbs-buttons" role="navigation" aria-label="Sequential page navigation">
|
||||
<a href="canvas.html" class="btn btn-neutral float-left" title="Canvas (lv_canvas)" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
@@ -4396,7 +4401,7 @@ for the following types:</p>
|
||||
<h3>Simple Checkboxes<a class="headerlink" href="#simple-checkboxes" title="Link to this heading"></a></h3>
|
||||
<div class='lv-example-container'><div class='lv-example' data-real-src='/9.0/_static/built_lv_examples/index.html?example=lv_example_checkbox_1&w=320&h=240'></div><div class='lv-example-description'></div></div><div class="toggle docutils container">
|
||||
<div class="header docutils container">
|
||||
<p>C code </p><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://github.com/lvgl/lvgl/blob/0c2815ee8d71ad8633950d274db31d362988ad0a/examples/widgets/checkbox/lv_example_checkbox_1.c'><i class="fa fa-github"></i> View on GitHub</a></div>
|
||||
<p>C code </p><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://github.com/lvgl/lvgl/blob/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/widgets/checkbox/lv_example_checkbox_1.c'><i class="fa fa-github"></i> View on GitHub</a></div>
|
||||
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cp">#include</span><span class="w"> </span><span class="cpf">"../../lv_examples.h"</span>
|
||||
<span class="cp">#if LV_USE_CHECKBOX && LV_BUILD_EXAMPLES</span>
|
||||
|
||||
@@ -4448,7 +4453,7 @@ for the following types:</p>
|
||||
</div>
|
||||
<div class="toggle docutils container">
|
||||
<div class="header docutils container">
|
||||
<p>MicroPython code </p><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://github.com/lvgl/lvgl/blob/0c2815ee8d71ad8633950d274db31d362988ad0a/examples/widgets/checkbox/lv_example_checkbox_1.py'><i class="fa fa-github"></i> View on GitHub</a><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://sim.lvgl.io/v9.0/micropython/ports/javascript/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lvgl/0c2815ee8d71ad8633950d274db31d362988ad0a/examples/header.py&script=https://raw.githubusercontent.com/lvgl/lvgl/0c2815ee8d71ad8633950d274db31d362988ad0a/examples/widgets/checkbox/lv_example_checkbox_1.py'><i class="fa fa-play"></i> MicroPython Simulator</a></div>
|
||||
<p>MicroPython code </p><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://github.com/lvgl/lvgl/blob/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/widgets/checkbox/lv_example_checkbox_1.py'><i class="fa fa-github"></i> View on GitHub</a><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://sim.lvgl.io/v9.0/micropython/ports/javascript/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lvgl/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/header.py&script=https://raw.githubusercontent.com/lvgl/lvgl/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/widgets/checkbox/lv_example_checkbox_1.py'><i class="fa fa-play"></i> MicroPython Simulator</a></div>
|
||||
<div class="highlight-py notranslate"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">event_handler</span><span class="p">(</span><span class="n">e</span><span class="p">):</span>
|
||||
<span class="n">code</span> <span class="o">=</span> <span class="n">e</span><span class="o">.</span><span class="n">get_code</span><span class="p">()</span>
|
||||
<span class="n">obj</span> <span class="o">=</span> <span class="n">e</span><span class="o">.</span><span class="n">get_target_obj</span><span class="p">()</span>
|
||||
@@ -4493,7 +4498,7 @@ for the following types:</p>
|
||||
<h3>Checkboxes as radio buttons<a class="headerlink" href="#checkboxes-as-radio-buttons" title="Link to this heading"></a></h3>
|
||||
<div class='lv-example-container'><div class='lv-example' data-real-src='/9.0/_static/built_lv_examples/index.html?example=lv_example_checkbox_2&w=320&h=240'></div><div class='lv-example-description'></div></div><div class="toggle docutils container">
|
||||
<div class="header docutils container">
|
||||
<p>C code </p><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://github.com/lvgl/lvgl/blob/0c2815ee8d71ad8633950d274db31d362988ad0a/examples/widgets/checkbox/lv_example_checkbox_2.c'><i class="fa fa-github"></i> View on GitHub</a></div>
|
||||
<p>C code </p><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://github.com/lvgl/lvgl/blob/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/widgets/checkbox/lv_example_checkbox_2.c'><i class="fa fa-github"></i> View on GitHub</a></div>
|
||||
<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cp">#include</span><span class="w"> </span><span class="cpf">"../../lv_examples.h"</span>
|
||||
<span class="cp">#if LV_USE_CHECKBOX && LV_BUILD_EXAMPLES</span>
|
||||
|
||||
@@ -4585,7 +4590,7 @@ for the following types:</p>
|
||||
</div>
|
||||
<div class="toggle docutils container">
|
||||
<div class="header docutils container">
|
||||
<p>MicroPython code </p><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://github.com/lvgl/lvgl/blob/0c2815ee8d71ad8633950d274db31d362988ad0a/examples/widgets/checkbox/lv_example_checkbox_2.py'><i class="fa fa-github"></i> View on GitHub</a><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://sim.lvgl.io/v9.0/micropython/ports/javascript/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lvgl/0c2815ee8d71ad8633950d274db31d362988ad0a/examples/header.py&script=https://raw.githubusercontent.com/lvgl/lvgl/0c2815ee8d71ad8633950d274db31d362988ad0a/examples/widgets/checkbox/lv_example_checkbox_2.py'><i class="fa fa-play"></i> MicroPython Simulator</a></div>
|
||||
<p>MicroPython code </p><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://github.com/lvgl/lvgl/blob/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/widgets/checkbox/lv_example_checkbox_2.py'><i class="fa fa-github"></i> View on GitHub</a><a class='lv-example-link-button' onclick="event.stopPropagation();" href='https://sim.lvgl.io/v9.0/micropython/ports/javascript/index.html?script_startup=https://raw.githubusercontent.com/lvgl/lvgl/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/header.py&script=https://raw.githubusercontent.com/lvgl/lvgl/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/widgets/checkbox/lv_example_checkbox_2.py'><i class="fa fa-play"></i> MicroPython Simulator</a></div>
|
||||
<div class="highlight-py notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">time</span>
|
||||
|
||||
<span class="k">class</span> <span class="nc">LV_Example_Checkbox_2</span><span class="p">:</span>
|
||||
|
||||
Reference in New Issue
Block a user