gui

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Horizontal   = _l.Horizontal
	Vertical     = _l.Vertical
	Start        = _l.Start
	End          = _l.End
	Middle       = _l.Middle
	Baseline     = _l.Baseline
	SpaceSides   = _l.SpaceSides
	SpaceStart   = _l.SpaceStart
	SpaceEvenly  = _l.SpaceEvenly
	SpaceAround  = _l.SpaceAround
	SpaceBetween = _l.SpaceBetween
	SpaceEnd     = _l.SpaceEnd
)
View Source
var (
	Exact        = _l.Exact
	Pt           = _i.Pt
	Rigid        = _l.Rigid
	Flexed       = _l.Flexed
	UniformInset = _l.UniformInset
	Body1        = _m.Body1
	Editor       = _m.Editor
	RadioButton  = _m.RadioButton
	Slider       = _m.Slider
	Expanded     = _l.Expanded
	Stacked      = _l.Stacked
	FillShape    = _p.FillShape
	Fill         = _p.Fill
)

Functions

This section is empty.

Types

type Alignment

type Alignment = _l.Alignment

type Axis

type Axis = _l.Axis

type Centered

type Centered struct {
}

func (Centered) Layout

func (c Centered) Layout(g Gx, w Widget) (d Dim)

type Constraints

type Constraints = _l.Constraints

type Dim

type Dim = _l.Dimensions

func GetDim

func GetDim(g Gx, w Widget) (d Dim)

type Dp

type Dp = _u.Dp

type Enum

type Enum = _w.Enum

type Filler

type Filler struct {
	Color        NRGBA
	CornerRadius Dp
}

Filler fills the space inside a widget with an optional round corners.

func (Filler) Layout

func (f Filler) Layout(g Gx, w Widget) (d Dim)

type Flex

type Flex = _l.Flex

type FlexChild

type FlexChild = _l.FlexChild

type Gx

type Gx = _l.Context

type Inset

type Inset = _l.Inset

type Layouter

type Layouter interface {
	Layout(g Gx, w Widget) (d Dim)
}

type List

type List = _l.List

type NRGBA

type NRGBA = _c.NRGBA

type Pill

type Pill struct {
	Color    NRGBA
	TextSize Sp
	Widget
}

func (Pill) Layout

func (p Pill) Layout(g Gx) Dim

type Point

type Point = _i.Point

type Rectangle

type Rectangle = _i.Rectangle

type Sp

type Sp = _u.Sp

type Spacer

type Spacer = _l.Spacer

type Spacing

type Spacing = _l.Spacing

type Stack

type Stack = _l.Stack

type Theme

type Theme = _m.Theme

type Widget

type Widget = _l.Widget

type Wigeter

type Wigeter interface {
	Layout(g Gx) (d Dim)
}

Directories

Path Synopsis
Package color provides a simple set of typical 62 basic colors for use in UI color specification.
Package color provides a simple set of typical 62 basic colors for use in UI color specification.
Package colorpicker provides simple widgets for selecting an RGBA color and for choosing one of a set of colors.
Package colorpicker provides simple widgets for selecting an RGBA color and for choosing one of a set of colors.
Package markdown transforms Markdown text into gio richtext.
Package markdown transforms Markdown text into gio richtext.
Package outlay provides extra layouts for gio.
Package outlay provides extra layouts for gio.
Package richtext provides rendering of text containing multiple fonts, styles, and levels of interactivity.
Package richtext provides rendering of text containing multiple fonts, styles, and levels of interactivity.
Package styledtext provides rendering of text containing multiple fonts and styles.
Package styledtext provides rendering of text containing multiple fonts and styles.

Jump to

Keyboard shortcuts

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