Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Design ¶
A UI design, built from an XML file
func NewDesign ¶
func NewDesign(fs http.FileSystem, path string, windowConfig pixelgl.WindowConfig) (d *Design, err error)
Function to create a new design from an XML string
func (*Design) FindElementByID ¶
Function to recursively find an element in the design with the given ID. Returns nil if no child could be found
func (*Design) Init ¶
Function to initialise (and draw) the design. This function must be called within pixelgl.Run
func (*Design) Start ¶
func (d *Design) Start()
Function to start the design with a simple event routine
func (*Design) StartThenWait ¶
func (d *Design) StartThenWait()
Function to start the design then wait for it to finish
Click to show internal directories.
Click to hide internal directories.