popupwidget

package
v0.0.0-...-45b0304 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Popup struct {
	Block                *blockwidget.Block
	Horizontal, Vertical bento.Flex
	Style                bento.Style
	Width, Height        bento.Constraint
	Content              bento.Widget
	Padding              bento.Padding
}

func New

func New() Popup

func (Popup) Bottom

func (p Popup) Bottom() Popup

func (Popup) Center

func (p Popup) Center() Popup

func (Popup) Inner

func (p Popup) Inner(area bento.Rect) bento.Rect

func (Popup) Left

func (p Popup) Left() Popup

func (Popup) Middle

func (p Popup) Middle() Popup

func (Popup) Render

func (p Popup) Render(area bento.Rect, buffer *bento.Buffer)

func (Popup) Right

func (p Popup) Right() Popup

func (Popup) Top

func (p Popup) Top() Popup

func (Popup) WithBlock

func (p Popup) WithBlock(block blockwidget.Block) Popup

func (Popup) WithHeight

func (p Popup) WithHeight(height bento.Constraint) Popup

func (Popup) WithPadding

func (p Popup) WithPadding(padding bento.Padding) Popup

func (Popup) WithStyle

func (p Popup) WithStyle(style bento.Style) Popup

func (Popup) WithWidth

func (p Popup) WithWidth(width bento.Constraint) Popup

Jump to

Keyboard shortcuts

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