layoutx

package
v0.0.0-...-3078164 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MIT, Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C = layout.Context

type D

type D = layout.Dimensions

func Record

func Record(gtx C, w layout.Widget) (op.CallOp, D)

func Rounded

func Rounded(gtx C, r unit.Dp, w layout.Widget) D

type Split

type Split struct {
	// Ratio keeps the current layout.
	// 0 is center, -1 completely to the left, 1 completely to the right.
	Ratio float32
	// Bar is the width for resizing the layout
	Bar unit.Dp
	// contains filtered or unexported fields
}

func (*Split) Layout

func (s *Split) Layout(gtx C, bar, left, right layout.Widget) D

Jump to

Keyboard shortcuts

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