dialog

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfirmDialog

func NewConfirmDialog(th *cu.Theme) *confirmDialog

Types

type AlertDialog

type AlertDialog struct {
	Theme *cu.Theme
	// Title is shown in the titlebar, if left empty it will default to Message
	Title string
	// BigMessage is shown in H2 style at the top of window
	BigMessage string
	// NormalMessage is an optional additional message shown in normal font
	NormalMessage string
	// contains filtered or unexported fields
}

func NewAlertDialog

func NewAlertDialog(th *cu.Theme) *AlertDialog

func (AlertDialog) Layout

func (a AlertDialog) Layout(gtx layout.Context) layout.Dimensions

func (AlertDialog) Show

func (a AlertDialog) Show()

Jump to

Keyboard shortcuts

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