# Packages
Package grid provides structures for aligning grids of buttons.
# Functions
AddChildren adds a generator to create a child btn.
And combines a variadic number of options.
AndMod combines the input modification with whatever existing modifications exist for the generator, as opposed to Mod which resets previous modifications.
Binding appends a function to be called when a specific event is triggered.
CID sets the starting CID of the button to be generated.
Clear resets the button to be empty.
Click appends a function to be called when the button is clicked on.
Color sets the colorboxes color for the button to be generated.
FitText adjusts a btn's width, given it has text and font defined, to be large enough for the given text plus the provided buffer.
Font sets the font for the text of the button to be generated.
Height sets the Height of the button to be generated.
Layers sets the layer of the button to be generated.
Mod sets the modifications to apply to the initial color box for the button to be generated.
New creates a button with the given options and defaults for all variables not set.
Offset increments the position of the button to be generated.
Pos sets the position of the button to be generated.
Renderable sets a renderable to use as a base image for the button.
Text sets the text of the button to be generated.
TextPtr sets the text of the button to be generated to a string pointer.
TextStringer sets the text of the generated button to use a fmt.Stringer String call.
TxtOff sets the text offset of the button generator from the bottom left.
VGradient creates a vertical color gradient for the btn.
Width sets the Width of the button to be generated.
# Structs
A Generator defines the variables used to create buttons from optional arguments.
# Type aliases
An Option is used to populate generator fields prior to generation of a button.