mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 11:07:34 +08:00
Deploying to gh-pages from @ lvgl/lvgl@d98e7b27cb 🚀
This commit is contained in:
@@ -3333,6 +3333,7 @@
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/dev/nuttx/lv_nuttx_lcd.html">lv_nuttx_lcd.h</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/dev/nuttx/lv_nuttx_touchscreen.html">lv_nuttx_touchscreen.h</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/dev/nuttx/lv_nuttx_fbdev.html">lv_nuttx_fbdev.h</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="../API/dev/nuttx/lv_nuttx_libuv.html">lv_nuttx_libuv.h</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -4310,7 +4311,7 @@
|
||||
<li class="breadcrumb-item"><a href="index.html">Widgets</a></li>
|
||||
<li class="breadcrumb-item active">Tabview (lv_tabview)</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="https://github.com/lvgl/lvgl/blob/4bc07a8552daaab1bd1fece52bf97342b607a724/docs/widgets/tabview.rst" class="fa fa-github"> Edit on GitHub</a>
|
||||
<a href="https://github.com/lvgl/lvgl/blob/d98e7b27cb0b730a728aae85b27845d912864f63/docs/widgets/tabview.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="table.html" class="btn btn-neutral float-left" title="Table (lv_table)" accesskey="p"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
@@ -4401,7 +4402,7 @@ to a group if required.</p>
|
||||
<h3>Simple Tabview<a class="headerlink" href="#simple-tabview" 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_tabview_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/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/widgets/tabview/lv_example_tabview_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/d98e7b27cb0b730a728aae85b27845d912864f63/examples/widgets/tabview/lv_example_tabview_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_TABVIEW && LV_BUILD_EXAMPLES</span>
|
||||
|
||||
@@ -4449,7 +4450,7 @@ to a group if required.</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/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/widgets/tabview/lv_example_tabview_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/tabview/lv_example_tabview_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/d98e7b27cb0b730a728aae85b27845d912864f63/examples/widgets/tabview/lv_example_tabview_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/d98e7b27cb0b730a728aae85b27845d912864f63/examples/header.py&script=https://raw.githubusercontent.com/lvgl/lvgl/d98e7b27cb0b730a728aae85b27845d912864f63/examples/widgets/tabview/lv_example_tabview_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="c1"># Create a Tab view object</span>
|
||||
<span class="n">tabview</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">tabview</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">screen_active</span><span class="p">(),</span> <span class="n">lv</span><span class="o">.</span><span class="n">DIR</span><span class="o">.</span><span class="n">TOP</span><span class="p">,</span> <span class="mi">50</span><span class="p">)</span>
|
||||
|
||||
@@ -4493,7 +4494,7 @@ to a group if required.</p>
|
||||
<h3>Tabs on the left, styling and no scrolling<a class="headerlink" href="#tabs-on-the-left-styling-and-no-scrolling" 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_tabview_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/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/widgets/tabview/lv_example_tabview_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/d98e7b27cb0b730a728aae85b27845d912864f63/examples/widgets/tabview/lv_example_tabview_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_TABVIEW && LV_BUILD_EXAMPLES</span>
|
||||
|
||||
@@ -4545,7 +4546,7 @@ to a group if required.</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/4bc07a8552daaab1bd1fece52bf97342b607a724/examples/widgets/tabview/lv_example_tabview_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/tabview/lv_example_tabview_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/d98e7b27cb0b730a728aae85b27845d912864f63/examples/widgets/tabview/lv_example_tabview_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/d98e7b27cb0b730a728aae85b27845d912864f63/examples/header.py&script=https://raw.githubusercontent.com/lvgl/lvgl/d98e7b27cb0b730a728aae85b27845d912864f63/examples/widgets/tabview/lv_example_tabview_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="c1"># Create a Tab view object</span>
|
||||
<span class="n">tabview</span> <span class="o">=</span> <span class="n">lv</span><span class="o">.</span><span class="n">tabview</span><span class="p">(</span><span class="n">lv</span><span class="o">.</span><span class="n">screen_active</span><span class="p">(),</span> <span class="n">lv</span><span class="o">.</span><span class="n">DIR</span><span class="o">.</span><span class="n">LEFT</span><span class="p">,</span> <span class="mi">80</span><span class="p">)</span>
|
||||
|
||||
Reference in New Issue
Block a user