Skip to content

About

An About box: an icon, the app name and version, a description, a few (label, value) details and link buttons.

ui.about · Category: Code and tools · Full reference →

AboutAbout
  • In a ui.modal opened from the Help menu.
from pyzed import ui
ui.about("Notes", "1.2.0", "A small notes app built with Pyzed.", icon="notebook-pen",
details=[("Python", "3.12"), ("Pyzed", "0.4")],
links=[("Website", on_website), ("GitHub", on_github)])
About: Name and versionAbout: Name and version
Name and version
Code
ui.about("Notes", "1.2.0")
About: details=About: details=
details=
Code
ui.about("Notes", "1.2.0", "A small notes app.", icon="notebook-pen",
details=[("Python", "3.12"), ("Pyzed", "0.4")])
About: links=About: links=
links=
Code
ui.about("Notes", "1.2.0", icon="notebook-pen", links=[("Website", on_web), ("GitHub", on_gh)])

About has no events of its own: it shows what you give it. Like every widget it also has the 18 common events (click, double_click, right_click, mouse_enter, drag, key_down, resize…), attached with .on(...): see Events and Events of every component.

about(
name,
version='',
description='',
*,
icon='app-window',
details=(),
links=(),
theme=None,
)

An About box: icon, name, version, a description, a few details and link buttons.

Property Default Description
name required App name.
version "" Version text.
description "" One or two sentences.
icon "app-window" Lucide icon.
details () (label, value) rows.
links () (label, on_press) buttons.
theme None Theme to use instead of the current one (pyzed.theme.current()).

Full reference →