Documentation
¶
Index ¶
Constants ¶
View Source
const ( Horizontal layout.Axis = iota Vertical )
Re-defined from layout.Axis lib
View Source
const ( Start layout.Alignment = iota End Middle Baseline )
Re-defined from layout.Alignment lib
View Source
const ( // SpaceEnd leaves space at the end. SpaceEnd layout.Spacing = iota // SpaceStart leaves space at the start. SpaceStart // SpaceSides shares space between the start and end. SpaceSides // SpaceAround distributes space evenly between children, // with half as much space at the start and end. SpaceAround // SpaceBetween distributes space evenly between children, // leaving no space at the start and end. SpaceBetween // SpaceEvenly distributes space evenly between children and // at the start and end. SpaceEvenly )
Re-defined from layout.Spacing lib
Variables ¶
View Source
var ( Red = colors.Red Green = colors.Green Blue = colors.Blue Yellow = colors.Yellow White = colors.White Black = colors.Black Gray = colors.Gray Orange = colors.Orange Purple = colors.Purple LightRed = colors.LightRed LightGreen = colors.LightGreen LightBlue = colors.LightBlue LightYellow = colors.LightYellow LightWhite = colors.LightWhite LightBlack = colors.LightBlack LightGray = colors.LightGray LightOrange = colors.LightOrange LightPurple = colors.LightPurple LightPink = colors.LightPink )
--- Colors ---
View Source
var ( NW = layout.NW N = layout.N NE = layout.NE E = layout.E SE = layout.SE S = layout.S SW = layout.SW W = layout.W Center = layout.Center )
View Source
var ( FlexBox = flex.FlexBox FlexChild = flex.FlexChild )
View Source
var ( StackBox = layouts.StackBox StackedChild = layouts.StackedChild ExpandedChild = layouts.ExpandedChild )
View Source
var ( ListBox = layouts.ListBox ListChild = layouts.ListChild )
View Source
var (
Align = layouts.Align
)
View Source
var BackgroundBox = layouts.BackgroundBox
Re-export Background layout
View Source
var BackgroundStackBox = layouts.BackgroundStackBox
View Source
var Button = components.Button
View Source
var Circle = components.Circle
View Source
var ContextMenu = components.ContextMenu
View Source
var (
DarkBackground = colors.DarkBackground
)
View Source
var H1 = components.H1
View Source
var H2 = components.H2
View Source
var H3 = components.H3
View Source
var H4 = components.H4
View Source
var H5 = components.H5
View Source
var H6 = components.H6
View Source
var Input = components.Input
View Source
var LoadImageHelper = components.LoadImageHelper
View Source
var Margin = layouts.Margin
View Source
var P = components.P
View Source
var Rect = components.Rect
View Source
var Text = components.Text
View Source
var TextSpan = components.TextSpan
Functions ¶
This section is empty.
Types ¶
type ContextMenuOpts ¶
type ContextMenuOpts = components.ContextMenuOpts
Re-export: ContextMenu component
Click to show internal directories.
Click to hide internal directories.