set window titles

This commit is contained in:
David Rodenkirchen
2024-05-27 18:11:26 +02:00
parent 60767f1463
commit 1c47e088e8
8 changed files with 35 additions and 0 deletions
+6
View File
@@ -1,5 +1,7 @@
from __future__ import annotations
import asyncio
from functools import partial
from typing import * # type: ignore
import rio
@@ -10,6 +12,10 @@ from .. import components as comps
class About(rio.Component):
@rio.event.on_populate
async def on_populate(self) -> None:
await self.session.set_title("EZ GG e.V. - Über den Verein")
def build(self) -> rio.Component:
return build_page(rio.Column(
comps.NewsPost(