material

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RigidButton

func RigidButton(gtx *layout.Context, th *giomat.Theme, caption string, button *widget.Button) layout.FlexChild

RigidButton returns layout function for a button with inset

func RigidEditor

func RigidEditor(gtx *layout.Context, th *giomat.Theme, caption string, hint string, editor *widget.Editor) layout.FlexChild

RigidEditor returns layout function for labeled edit field

func RigidLabel

func RigidLabel(gtx *layout.Context, th *giomat.Theme, caption string) layout.FlexChild

RigidLabel returns layout function for a regular label

func RigidSection

func RigidSection(gtx *layout.Context, th *giomat.Theme, caption string) layout.FlexChild

RigidSection returns layout function for a form heading

Types

type ComboStyle

type ComboStyle struct {
	// contains filtered or unexported fields
}

ComboStyle holds combobox rendering parameters

func Combo

func Combo(theme *giomat.Theme) ComboStyle

Combo constructs c ComboStyle

func (ComboStyle) Layout

func (c ComboStyle) Layout(gtx *layout.Context, widget *giox.Combo)

Layout a combobox

Jump to

Keyboard shortcuts

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