Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
An Option modifies a generator prior to grid generation
func Content ¶
Content sets the button option to create for each button at x,y coordinates on this grid. This should not be used with Width and Height. Options set here act like And() when used with Defaults.
func ContentAt ¶
ContentAt sets the button uption to create for a button at a given x,y coordinate on this grid. If the grid has already had content defined by Width, Height, or Content, and the x,y value given would not fall on the defined grid, the grids dimensions will be expanded so that it will. Negative x or y values will result in this option having no effect. ContentAt will overwrite options set by Content. It acts like And() when used with Defaults.