Edit me

widget


import "fyne.io/fyne/widget"

Usage

type PopUpMenu

type PopUpMenu struct {
	*Menu
}

PopUpMenu is a Menu which displays itself in an OverlayContainer.

func (*PopUpMenu) CreateRenderer

func (p *PopUpMenu) CreateRenderer() fyne.WidgetRenderer

CreateRenderer returns a new renderer for the pop-up menu.

Implements: fyne.Widget

func (*PopUpMenu) Hide

func (p *PopUpMenu) Hide()

Hide hides the pop-up menu.

Implements: fyne.Widget

func (*PopUpMenu) Move

func (p *PopUpMenu) Move(pos fyne.Position)

Move moves the pop-up menu. The position is absolute because pop-up menus are shown in an overlay which covers the whole canvas.

Implements: fyne.Widget

func (*PopUpMenu) Resize

func (p *PopUpMenu) Resize(size fyne.Size)

Resize changes the size of the pop-up menu.

Implements: fyne.Widget

func (*PopUpMenu) Show

func (p *PopUpMenu) Show()

Show makes the pop-up menu visible.

Implements: fyne.Widget

func (*PopUpMenu) ShowAtPosition

func (p *PopUpMenu) ShowAtPosition(pos fyne.Position)

ShowAtPosition shows the pop-up menu at the specified position.

Tags: