Skip to content

Commit

Permalink
Details on code examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienLelaquais committed Sep 30, 2024
1 parent d302191 commit f0545fa
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doc/gui/examples/controls/progress-texts.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"""

if __name__ == "__main__":
Gui(page).run()
Gui(page).run(title="Progress - Texts")
2 changes: 1 addition & 1 deletion doc/gui/examples/controls/selector_checkbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"""

if __name__ == "__main__":
Gui(page).run(title="Selector - Checkbox")
Gui(page).run(title="Selector - Checkbox mode")
2 changes: 1 addition & 1 deletion doc/gui/examples/controls/selector_radio.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"""

if __name__ == "__main__":
Gui(page).run(title="Selector - Radio")
Gui(page).run(title="Selector - Radio mode")
2 changes: 1 addition & 1 deletion doc/gui/examples/controls/slider-multiple.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
"""

if __name__ == "__main__":
Gui(page).run(title="Slider - Range")
Gui(page).run(title="Slider - Multiple values")
2 changes: 1 addition & 1 deletion doc/gui/examples/controls/table_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@
page = "<|{data}|table|lov[Continent]={all_continents}|editable|no on_add|no on_delete|show_all|>"

if __name__ == "__main__":
Gui(page).run()
Gui(page).run(title="Table - Enumerated values")
2 changes: 1 addition & 1 deletion doc/gui/examples/controls/table_guard_edits.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ def force_salary(state: State, var_name: str, payload: dict):
page = "<|{candidates}|table|on_delete=check_delete|on_add=check_add|editable[Salary]|on_edit=force_salary|show_all|>"

if __name__ == "__main__":
Gui(page).run(title="Table - Control edits", use_reloader=True, run_browser=False, dark_mode=True)
Gui(page).run(title="Table - Guard edits")
2 changes: 1 addition & 1 deletion doc/gui/examples/controls/text-md.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
"""

if __name__ == "__main__":
Gui(page).run(title="Text - Markdown")
Gui(page).run(title="Text - Markdown mode")
2 changes: 1 addition & 1 deletion doc/gui/examples/controls/text-pre.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ def say_hello(name: str):
"""

if __name__ == "__main__":
Gui(page).run(title="Text - Pre")
Gui(page).run(title="Text - Pre mode")

0 comments on commit f0545fa

Please sign in to comment.