You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
362 B
16 lines
362 B
#!/usr/bin/env python3 |
|
""" |
|
Basic BadGUI Hello World Example |
|
""" |
|
|
|
import badgui as bg |
|
|
|
def main(): |
|
with bg.page("/", "HelloPage", "Hello World"): |
|
bg.label("Hello, World!").classes("text-h2 text-primary") |
|
bg.label("Welcome to BadGUI!").classes("text-body1 text-grey-7") |
|
|
|
bg.build("hello-world-output") |
|
|
|
if __name__ == "__main__": |
|
main() |