Container

Container is the most basic layout component. Their definition are in tgframe. The Main "container" and Sidebar "container" are Containers.

Usage

To create a container under a container. Just call the function:

func (c *Container) AddContainer(id string) *Container
  • ID should be unique.