layout

package
v0.0.0-...-200feb5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dummy struct{}

Dummy can be referenced in vugu files to prevent go from causing errors due to not used imports.

Use it like this:

_ = layout.Dummy

Functions

This section is empty.

Types

type Container

type Container struct {
	AttrMap vugu.AttrMap

	DefaultSlot vugu.Builder `vugu:"data"`
}

func (*Container) Build

func (c *Container) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut)

type ContainerHorizontal

type ContainerHorizontal struct {
	AttrMap vugu.AttrMap

	DefaultSlot vugu.Builder `vugu:"data"`
}

ContainerHorizonal arranges all contained elements in one row. This can be used to create a menu bar out of buttons.

func (*ContainerHorizontal) Build

func (c *ContainerHorizontal) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut)

type LayerContainer

type LayerContainer struct {
	AttrMap vugu.AttrMap

	DefaultSlot vugu.Builder `vugu:"data"`
}

func (*LayerContainer) Build

func (c *LayerContainer) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut)

type ListContainer

type ListContainer struct {
	AttrMap vugu.AttrMap

	DefaultSlot vugu.Builder `vugu:"data"`
}

func (*ListContainer) Build

func (c *ListContainer) Build(vgin *vugu.BuildIn) (vgout *vugu.BuildOut)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL