mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 19:15:38 +08:00
docs list all examples on one page
This commit is contained in:
@@ -4,6 +4,7 @@ import sys
|
||||
import os
|
||||
import subprocess
|
||||
import re
|
||||
import example_list as ex
|
||||
|
||||
langs = ['en']
|
||||
|
||||
@@ -25,6 +26,10 @@ def cmd(s):
|
||||
status, br = subprocess.getstatusoutput("git branch | grep '*'")
|
||||
_, gitcommit = subprocess.getstatusoutput("git rev-parse HEAD")
|
||||
br = re.sub('\* ', '', br)
|
||||
|
||||
# Generate the list of examples
|
||||
ex.exec()
|
||||
|
||||
urlpath = re.sub('release/', '', br)
|
||||
|
||||
# Be sure the github links point to the right branch
|
||||
|
||||
Executable
+122
@@ -0,0 +1,122 @@
|
||||
import os
|
||||
|
||||
path ="../examples/"
|
||||
|
||||
def process_index_rst(path):
|
||||
# print(path)
|
||||
with open(path) as fp:
|
||||
last_line=""
|
||||
line=""
|
||||
title_tmp=""
|
||||
line = fp.readline()
|
||||
d = {}
|
||||
while line:
|
||||
if line[0:3] == '"""':
|
||||
title_tmp = last_line
|
||||
elif line[0:15] ==".. lv_example::":
|
||||
name = line[16:].strip()
|
||||
title_tmp = title_tmp.strip()
|
||||
d[name] = title_tmp
|
||||
last_line = line
|
||||
line = fp.readline()
|
||||
|
||||
return(d)
|
||||
|
||||
|
||||
filelist = []
|
||||
for root, dirs, files in os.walk(path):
|
||||
for f in files:
|
||||
#append the file name to the list
|
||||
filelist.append(os.path.join(root,f))
|
||||
|
||||
filelist = [ fi for fi in filelist if fi.endswith("index.rst") ]
|
||||
|
||||
d_all = {}
|
||||
#print all the file names
|
||||
for fn in filelist:
|
||||
d_act = process_index_rst(fn)
|
||||
d_all.update(d_act)
|
||||
|
||||
h1= {
|
||||
"get_started":"Get started",
|
||||
"styles":"Styles",
|
||||
"anim":"Animations",
|
||||
"event":"Events",
|
||||
"layouts":"Layouts",
|
||||
"scroll":"Scrolling",
|
||||
"widgets":"Widgets"
|
||||
}
|
||||
|
||||
widgets = {
|
||||
"obj":"Base object",
|
||||
"arc":"Arc",
|
||||
"bar":"Bar",
|
||||
"btn":"Button","btnmatrix"
|
||||
"calendar":"Calendar",
|
||||
"canvas":"Canvas",
|
||||
"chart":"Chart",
|
||||
"checkbox":"Checkbox",
|
||||
"colorwheel":"Colorwheel",
|
||||
"dropdown":"Dropdown",
|
||||
"img":"Image",
|
||||
"imgbtn":"Image button",
|
||||
"keyboard":"Keyboard",
|
||||
"label":"Label",
|
||||
"led":"LED",
|
||||
"line":"Line",
|
||||
"list":"List",
|
||||
"meter":"Meter",
|
||||
"msgbox":"Message box",
|
||||
"roller":"Roller",
|
||||
"slider":"Slider",
|
||||
"span":"Span",
|
||||
"spinbox":"Spinbox",
|
||||
"spinner":"Spinner",
|
||||
"switch":"Switch",
|
||||
"table":"Table",
|
||||
"tabview":"Tabview",
|
||||
"textarea":"Textarea",
|
||||
"tileview":"Tabview",
|
||||
"win":"Window",
|
||||
}
|
||||
|
||||
layouts = {
|
||||
"flex":"Flex",
|
||||
"grid":"Grid",
|
||||
}
|
||||
|
||||
fout = open("examples.md", "w")
|
||||
|
||||
def print_item(path, lvl):
|
||||
for k in d_all:
|
||||
v = d_all[k]
|
||||
b = os.path.basename(k)
|
||||
if k.startswith(path + "/lv_example_"):
|
||||
fout.write("#"*lvl + " " + v + "\n")
|
||||
fout.write('<iframe class="lv-example" src="_static/built_lv_examples?example=' + b +'&w=320&h=240"></iframe>\n')
|
||||
fout.write("\n")
|
||||
|
||||
def exec():
|
||||
fout.write("```eval_rst\n")
|
||||
fout.write(".. include:: /header.rst\n")
|
||||
fout.write(":github_url: |github_link_base|/examples.md\n")
|
||||
fout.write("```\n")
|
||||
fout.write("\n")
|
||||
fout.write("# Examples\n")
|
||||
|
||||
for h in h1:
|
||||
fout.write("## " + h1[h] + "\n")
|
||||
|
||||
if h == "widgets":
|
||||
for w in widgets:
|
||||
fout.write("### " + widgets[w] + "\n")
|
||||
print_item(h + "/" + w, 4)
|
||||
elif h == "layouts":
|
||||
for l in layouts:
|
||||
fout.write("### " + layouts[l] + "\n")
|
||||
print_item(h + "/" + l, 4)
|
||||
else:
|
||||
print_item(h, 3)
|
||||
|
||||
fout.write("")
|
||||
|
||||
@@ -0,0 +1,351 @@
|
||||
```eval_rst
|
||||
.. include:: /header.rst
|
||||
:github_url: |github_link_base|/examples.md
|
||||
```
|
||||
|
||||
# Examples
|
||||
## Get started
|
||||
### A button with a label and react on click event
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_get_started_1&w=320&h=240"></iframe>
|
||||
|
||||
### Create styles from scratch for buttons
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_get_started_2&w=320&h=240"></iframe>
|
||||
|
||||
### Create a slider and write its value on a label
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_get_started_3&w=320&h=240"></iframe>
|
||||
|
||||
## Styles
|
||||
### Size styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_1&w=320&h=240"></iframe>
|
||||
|
||||
### Background styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_2&w=320&h=240"></iframe>
|
||||
|
||||
### Border styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_3&w=320&h=240"></iframe>
|
||||
|
||||
### Outline styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_4&w=320&h=240"></iframe>
|
||||
|
||||
### Shadow styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_5&w=320&h=240"></iframe>
|
||||
|
||||
### Image styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_6&w=320&h=240"></iframe>
|
||||
|
||||
### Text styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_8&w=320&h=240"></iframe>
|
||||
|
||||
### Line styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_9&w=320&h=240"></iframe>
|
||||
|
||||
### Transition
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_10&w=320&h=240"></iframe>
|
||||
|
||||
### Using multiple styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_11&w=320&h=240"></iframe>
|
||||
|
||||
### Local styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_12&w=320&h=240"></iframe>
|
||||
|
||||
### Add styles to parts and states
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_13&w=320&h=240"></iframe>
|
||||
|
||||
### Extending the current theme
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_style_14&w=320&h=240"></iframe>
|
||||
|
||||
## Animations
|
||||
### Start animation on an event
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_anim_1&w=320&h=240"></iframe>
|
||||
|
||||
### Playback animation
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_anim_2&w=320&h=240"></iframe>
|
||||
|
||||
## Events
|
||||
### Button click event
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_event_1&w=320&h=240"></iframe>
|
||||
|
||||
### Handle multiple events
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_event_2&w=320&h=240"></iframe>
|
||||
|
||||
### Event bubbling
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_event_3&w=320&h=240"></iframe>
|
||||
|
||||
## Layouts
|
||||
### Flex
|
||||
#### A simple row and a column layout with flexbox
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_flex_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Arrange items in rows with wrap and even spacing
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_flex_2&w=320&h=240"></iframe>
|
||||
|
||||
#### Demonstrate flex grow
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_flex_3&w=320&h=240"></iframe>
|
||||
|
||||
#### Demonstrate flex grow.
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_flex_4&w=320&h=240"></iframe>
|
||||
|
||||
#### Demonstrate column and row gap style properties
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_flex_5&w=320&h=240"></iframe>
|
||||
|
||||
#### RTL base direction changes order of the items
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_flex_6&w=320&h=240"></iframe>
|
||||
|
||||
### Grid
|
||||
#### A simple grid
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_grid_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Demonstrate cell placement and span
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_grid_2&w=320&h=240"></iframe>
|
||||
|
||||
#### Demonstrate grid's "free unit"
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_grid_3&w=320&h=240"></iframe>
|
||||
|
||||
#### Demonstrate track placement
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_grid_4&w=320&h=240"></iframe>
|
||||
|
||||
#### Demonstrate column and row gap
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_grid_5&w=320&h=240"></iframe>
|
||||
|
||||
#### Demonstrate RTL direction on grid
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_grid_6&w=320&h=240"></iframe>
|
||||
|
||||
## Scrolling
|
||||
### Nested scrolling
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_scroll_1&w=320&h=240"></iframe>
|
||||
|
||||
### Snapping
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_scroll_2&w=320&h=240"></iframe>
|
||||
|
||||
### Floating button
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_scroll_3&w=320&h=240"></iframe>
|
||||
|
||||
### Styling the scrollbars
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_scroll_4&w=320&h=240"></iframe>
|
||||
|
||||
### Right to left scrolling
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_scroll_5&w=320&h=240"></iframe>
|
||||
|
||||
### Translate on scroll
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_scroll_6&w=320&h=240"></iframe>
|
||||
|
||||
## Widgets
|
||||
### Base object
|
||||
#### Base objects with custom styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_obj_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Make an object draggable
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_obj_2&w=320&h=240"></iframe>
|
||||
|
||||
### Arc
|
||||
#### Simple Arc
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_arc_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Loader with Arc
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_arc_2&w=320&h=240"></iframe>
|
||||
|
||||
### Bar
|
||||
#### Simple Bar
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_bar_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Styling a bar
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_bar_2&w=320&h=240"></iframe>
|
||||
|
||||
#### Temperature meter
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_bar_3&w=320&h=240"></iframe>
|
||||
|
||||
#### Stripe pattern and range value
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_bar_4&w=320&h=240"></iframe>
|
||||
|
||||
#### Bar with RTL and RTL base direction
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_bar_5&w=320&h=240"></iframe>
|
||||
|
||||
#### Custom drawr to show the current value
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_bar_6&w=320&h=240"></iframe>
|
||||
|
||||
### Button
|
||||
#### Simple Buttons
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_btn_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Styling buttons
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_btn_2&w=320&h=240"></iframe>
|
||||
|
||||
#### Gummy button
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_btn_3&w=320&h=240"></iframe>
|
||||
|
||||
### Calendar
|
||||
### Canvas
|
||||
#### Drawing on the Canvas and rotate
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_canvas_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Transparent Canvas with chroma keying
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_canvas_2&w=320&h=240"></iframe>
|
||||
|
||||
### Chart
|
||||
#### Line Chart
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_chart_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Faded area line chart with custom division lines
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_chart_2&w=320&h=240"></iframe>
|
||||
|
||||
#### Axis ticks and labels with scrolling
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_chart_3&w=320&h=240"></iframe>
|
||||
|
||||
#### Show the value of the pressed points
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_chart_4&w=320&h=240"></iframe>
|
||||
|
||||
#### Display 1000 data points with zooming and scrolling
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_chart_5&w=320&h=240"></iframe>
|
||||
|
||||
#### Show cursor on the clicked point
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_chart_6&w=320&h=240"></iframe>
|
||||
|
||||
#### Scatter chart
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_chart_7&w=320&h=240"></iframe>
|
||||
|
||||
### Checkbox
|
||||
#### Simple Checkboxes
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_checkbox_1&w=320&h=240"></iframe>
|
||||
|
||||
### Colorwheel
|
||||
#### Simple Colorwheel
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_colorwheel_1&w=320&h=240"></iframe>
|
||||
|
||||
### Dropdown
|
||||
#### Simple Drop down list
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_dropdown_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Drop down in four directions
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_dropdown_2&w=320&h=240"></iframe>
|
||||
|
||||
#### Menu
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_dropdown_3&w=320&h=240"></iframe>
|
||||
|
||||
### Image
|
||||
#### Image from variable and symbol
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_img_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Image recoloring
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_img_2&w=320&h=240"></iframe>
|
||||
|
||||
#### Rotate and zoom
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_img_3&w=320&h=240"></iframe>
|
||||
|
||||
#### Image offset and styling
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_img_4&w=320&h=240"></iframe>
|
||||
|
||||
### Image button
|
||||
#### Simple Image button
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_imgbtn_1&w=320&h=240"></iframe>
|
||||
|
||||
### Keyboard
|
||||
#### Keyboard with text area
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_keyboard_1&w=320&h=240"></iframe>
|
||||
|
||||
### Label
|
||||
#### Line wrap, recoloring and scrolling
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_label_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Text shadow
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_label_2&w=320&h=240"></iframe>
|
||||
|
||||
#### Show LTR, RTL and Chinese texts
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_label_3&w=320&h=240"></iframe>
|
||||
|
||||
### LED
|
||||
#### LED with custom style
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_led_1&w=320&h=240"></iframe>
|
||||
|
||||
### Line
|
||||
#### Simple Line
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_line_1&w=320&h=240"></iframe>
|
||||
|
||||
### List
|
||||
#### Simple List
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_list_1&w=320&h=240"></iframe>
|
||||
|
||||
### Meter
|
||||
#### Simple meter
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_meter_1&w=320&h=240"></iframe>
|
||||
|
||||
#### A meter with multiple arcs
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_meter_2&w=320&h=240"></iframe>
|
||||
|
||||
#### A clock from a meter
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_meter_3&w=320&h=240"></iframe>
|
||||
|
||||
#### Pie chart
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_meter_4&w=320&h=240"></iframe>
|
||||
|
||||
### Message box
|
||||
#### Simple Message box
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_msgbox_1&w=320&h=240"></iframe>
|
||||
|
||||
### Roller
|
||||
#### Simple Roller
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_roller_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Styling the roller
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_roller_2&w=320&h=240"></iframe>
|
||||
|
||||
#### add fade mask to roller
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_roller_3&w=320&h=240"></iframe>
|
||||
|
||||
### Slider
|
||||
#### Simple Slider
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_slider_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Slider with custom style
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_slider_2&w=320&h=240"></iframe>
|
||||
|
||||
#### Slider with extended drawer
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_slider_3&w=320&h=240"></iframe>
|
||||
|
||||
### Span
|
||||
#### Span with custom styles
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_span_1&w=320&h=240"></iframe>
|
||||
|
||||
### Spinbox
|
||||
#### Simple Spinbox
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_spinbox_1&w=320&h=240"></iframe>
|
||||
|
||||
### Spinner
|
||||
#### Simple spinner
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_spinner_1&w=320&h=240"></iframe>
|
||||
|
||||
### Switch
|
||||
#### Simple Switch
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_switch_1&w=320&h=240"></iframe>
|
||||
|
||||
### Table
|
||||
#### Simple table
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_table_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Lightweighted list from table
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_table_2&w=320&h=240"></iframe>
|
||||
|
||||
### Tabview
|
||||
#### Simple Tabview
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_tabview_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Tabs on the left, styling and no scrolling
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_tabview_2&w=320&h=240"></iframe>
|
||||
|
||||
### Textarea
|
||||
#### Simple Text area
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_textarea_1&w=320&h=240"></iframe>
|
||||
|
||||
#### Text area with password field
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_textarea_2&w=320&h=240"></iframe>
|
||||
|
||||
#### Text auto-formatting
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_textarea_3&w=320&h=240"></iframe>
|
||||
|
||||
### Tabview
|
||||
#### Tileview with content
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_tileview_1&w=320&h=240"></iframe>
|
||||
|
||||
### Window
|
||||
#### Simple window
|
||||
<iframe class="lv-example" src="_static/built_lv_examples?example=lv_example_win_1&w=320&h=240"></iframe>
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
.. |github_link_base| replace:: https://github.com/lvgl/docs/blob/master
|
||||
.. |github_link_base| replace:: https://github.com/lvgl/lvgl/blob/8691611de2206669cd22e3e97c844fdf2bf494b0/docs
|
||||
@@ -28,6 +28,7 @@ PDF version: :download:`LVGL.pdf <LVGL.pdf>`
|
||||
:maxdepth: 2
|
||||
|
||||
intro/index
|
||||
examples
|
||||
get-started/index
|
||||
porting/index
|
||||
overview/index
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
Keyboard with text area
|
||||
"""""""""""""""""""""""
|
||||
|
||||
.. lv_example:: _widgets/keyboard/lv_example_keyboard_1
|
||||
.. lv_example:: widgets/keyboard/lv_example_keyboard_1
|
||||
:language: c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user