Skip to content

The simplest gtag app could look like this

from gtag import GTag

class Comp(GTag):
    size=(200,100)
    def build(self):
        return "hello world"

app=Comp()
app.run()

Will produce (on Windows 10)

Important

  • the build() method is called at each rendering time.